Skip to content

Litahrts/brownian-motion

Repository files navigation

TODO List:

  • Use octree data structure to detect collision
  • Allow users to change the amount and weight of the spheres
  • Add a tracer line for the big sphere (eyeCandy)

Brownian Motion 3D

This code is a simulation of the Brownian Motion in 3D using three.js for my physics undergraduate class. The coefficient of restitution is assumed to be at 1.0. The particles have no definition and it's speed are all random.

How to run

Make sure you have Node.js installed.

$ cd 'name of directory where you want the files'
$ git clone https://github.com/QuaziH/Brownian-Motion-3D.git #or clone your own fork
$ cd Brownian-Motion-3D
$ npm install
$ npm run start

Gallery

Soon to be added

Quazi Hossain

[email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published