Falling Sand - Lunar NY Edition (with ml5.js)

πŸ”— Code Example: Falling Sand - Lunar NY Edition (with ml5.js)

πŸ”— References:

πŸ”— Timestamps:

  • 0:57 Approach

  • 2:02 Create current and next grids

  • 5:26 Add interactivity with mousePressed() and mouseDragged

  • 7:29 Add cellular automata rules

  • 14:40 Change alpha values to add additional depth

  • 17:17 Create gold coins

  • 20:52 Explore handPose model from ml5.js

  • 25:24 Use index finger to add gold coins

Previous

Valentine's Day Specials πŸ’–πŸ’• (w ml5.js)

Next

Interactive Dandelion (with ml5.js - faceMesh)