Skip to content

srirajshukla/double-pendulam-visualisation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Double Pendulum Visualization

Visualizing double pendulum motion using wasm and rust.

Dependencies

Building

Download the Double Pendulam library.

In Cargo.toml file, in dependencies section, edit the path of double-pendulum to the downloaded relative location of the library.

The Double Pendulum library has now been added as an Cargo dependency, so you don't need to manually download it.

  1. Make sure that you have installed wasm-pack, if not, you can install it using cargo install wasm-pack.

  2. Next, build the dp-vis library using wasm-pack build.

  3. Make sure that you've Node.js installed, if not install it.

  4. Now, cd into /www/ directory and run npm run start command, and voila! You're done!

Examples

100 Double Pendulums in colors of rainbow 3 Double Pendulums in their motion, followed by adding another pendulum.

About

Simulation of multiple double pendulums

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published