graphics-snippets

StackOverflow

“Every time you write a comment, you should grimace and feel the failure of your ability of expression.”
Robert C. Martin, The Robert C. Martin Clean Code Collection (Collection)


p5.js and Processing

p5.js

Circle by 3 points

Endless line through by 2 points - p5.js

Intersect line and circle

Random shape

Ray intersect line and reflect
Ray intersect line and reflect

p5.js StackOverflow example

Bouncing ball

Processing

noise curve
noise curve