Skip to content

Symmetries/physics-playground

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Physics Playground

Simple electrodynamics demo

Code organization

Physics-related code is in physics.js. This file defines the update() which advances the state by a single timestep. The rest of the code is in sketch.js and it is split into four sections:

  • The definition of the p5.js functions setup() and draw()
  • Drawing functions
  • Useful helper functions
  • Events

About

Simple interactive physics electrodynamics simulation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published