Skip to content

LucaAngioloni/verlet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Verlet

Verlet Integration simulation with P5.js

Instructions

  • Mouse click => create point
  • Mouse click + Shift Key => create locked point
  • Mouse drag => connect points
  • Mouse drag + Shift Key => cut connections
  • Press 's' => Start simulation
  • Press 'r': Reset simulation

Demo

A demo is available at: https://lucaangioloni.github.io/verlet/

verlet_gif