Skip to content

Using three.js 3D library to teach physics, programming and encourage young nerds.

License

Notifications You must be signed in to change notification settings

rogerpasky/principia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

principia.js

Principia is a JavaScript library who offers virtual experiments to test and learn the laws of physics. This is not a perfect simulator, but it's good enough to have fun and enjoy the science for a while playing with the Universe in God mode.

Please go to Principia Homepage to enjoy some examples. More examples contribution is welcome.

Technical issues

I tried hard to use internally the actual numbers of the planets, but they are so huge they caused some overflow problems in JavaScript (you know, it is not the best language to have precise calculations because its float number precission limitations), so I had to use an arbitrary number (1e6) stored in the constant K to downscale it all.

About

Using three.js 3D library to teach physics, programming and encourage young nerds.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published