/Sketches

Primary LanguageJavaScript

My p5js Sketches

For those remotely interested. All links below:

Sketches

Name/Link Description
Squares A quick generative art project with squares.
SIR By Area An unrealistic susceptible-infected-removed demonstration of a virus, with transmission based on how often an area is visited.
SIR By Proximity An unrealistic susceptible-infected-removed demonstration of a virus, with transmission based on proximity to others infected.
Fireworks Yeah, it's fireworks. What else is there to say?
Maze Generator And Solver It generates a maze, and then solves it. These names are pretty on point.
Neural Net Colors A neural network decides what color something is based on rgb values. tl;dr a criminal underuse of AI.
Particle Hexagon Test I don't know what this is, you'll see.
Snake It's... snake.
Star Trails Some interesting generative art.
Ultimate Tic Tac Toe Tic-Tac-Toe, but on steroids.
Web Thing Some more cool generative art.
Flocking A flocking simulation. It's pretty cool.
Flower Physics A flower in the wind using MATH. Scary.
Image To Circles No description, but I'm sure it's fantastic.

WTH is p5js?

https://p5js.org/ https://editor.p5js.org/ Convert, you non-JS-using peasant.

Contents

Path Content
data/pages.json A JSON file describing all p5js sketches included.
scripts/compile-pages.js Because I am a lazy homo sapien, I made a script that automatically compiles the sketches for me instead of me manually writing them in. In fact, it's responsible for that table down below!
sketches/* All my p5js sketches! Each sketch subdirectory contains an index.html, a style.css file, and the actual project, which is in the sketch.js file.
package.json Nodejs supremacy.
README.md What do you think you're even reading right now??