Skip to content

hugo3m/drag

Repository files navigation

Drag initially a project to learn BabylonJS. The idea was to reproduce something similar to the sample project explaning how AABB collision works from Mozilla. The first step of the project was to drag a mesh around a scene. But developing this feature was, if not difficult, at least more complex than I initially thought. The project is now about showing what are the maths behind dragging objects.

How to get started

You will need NodeJS or Docker.

Developing

Command from the root folder of the project.

node -v

v21.6.1

# install dependency
npm install
# start the application
npm run start

Docker

Command from the root folder of the project.

docker build . --tag {your_tag}
docker run --publish 8080:8080 {your_tag}

Access at http://localhost:8080

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published