Open in a browser like Chrome / Safari / Firefox. Turn your webcam on. Wave your hand, turn your head

A fork of Triangles Camera by A5

CC Attribution NonCommercial ShareAlike

Triangles Camera

A fork of Triangles Camera by A5
Detect motion in a live webcam image using pjs, insert particles into a particle system where motion is detected. please keep in mind that i'm using hacks to get pjs to work with the webcam data. your mileage may vary. Code is an unholy marriage between plain JS, HTML5 objects and PJS, so it will not function in the Processing IDE. this version features several small improvements ; less looping in render method, maximum number of particles, particles follow direction of motion.
Open in a browser like Chrome / Safari / Firefox. Turn your webcam on. Wave your hand, turn your head
e.g., mouse, keyboard
e.g., visualization, fractal, mouse
Learn more about Creative Commons
Join Plus+ to change privacy settings
  • mySketch
Processingjs is deprecated. Learn more
Select mode or a template
Centers sketch and matches the background color.
Prevents infinite loops that may freeze the sketch.
This will be the default layout for your sketches
Easy on the eyes
It will show up when there is an error or print() in code
Disabled: Only available on p5js sketches.
Closes parenthesis-like characters automatically as you type

Controls
Play
Ctrl+Enter
Code
Ctrl+Shift+Enter
Save
Ctrl+S
Interface
Fullscreen
Ctrl+Alt+F
Switch Layout
Ctrl+Alt+L
Settings
Ctrl+Alt+.
Editor
Tidy Code
Ctrl+B
Multiple Cursors
Ctrl+Click
Duplicate Line/Selection
Ctrl+Shift+D
Move Line
Alt+↑/↓
Select Multiple
Ctrl+D
Find in Code
Ctrl+F
Find Next
Ctrl+G
Find Previous
Ctrl+Shift+G

See More Shortcuts

Join Plus+ for private sketches, version history, 1GB space, custom embeds, and more!