Skip to content

Javascript / node.js wavefield generator website. Realtime droplets.

Notifications You must be signed in to change notification settings

bpostlethwaite/droplets

Repository files navigation

Nodejitsu Deploy Status

A Javascript physics engine and real-time server-client setup project with node.js which evolved into my personal website.

The backend computations handling the wave-field physics are written in javascript and solve the wave equation PDE using the finite-difference Euler Method. The module that solves the physics is called pde-engine and I have published this to npm. The transparent overlay animations are all CSS3. Websockets connect the server to clients and employs a broadcast facility to register droplets clicked by a single user to all clients simultaneously. The server also parses markdown files which hold the site content into html and streams this data to the client upon connection.

The website runs best on Chrome.

Todo

  1. Test CSS3 animations with IE
  2. xlen and ylen resolution sizes should be dependent on overall screen size. Smaller screen sizes can computationally afford better resolutions.
  3. Finish coding and implementing the Poisson Equation (gravity and electrostatics)

About

Javascript / node.js wavefield generator website. Realtime droplets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published