p5.js Projects

โ™ŸChess with hints

Full two-player chess with Lichess cburnett SVG pieces, board flips for the side to move, and optional engine hints: 3-ply negamax with alphaโ€“beta, material + PST eval, best move (blue) and second-best (yellow).

March 23, 2026

โœกStar Morph

20 neon star polygons (pentagrams, hexagrams, heptagrams, octagrams) with dots tracing their outlines, bouncing around the screen.

March 22, 2026

๐Ÿ‘๏ธEyes Closed

6 cylinders arranged in a hexagon with twisted red net spirals on black surfaces. Drag to look around from inside the formation.

March 22, 2026

๐Ÿ’ซNeon Spinners

30 neon-colored lines spawn at random positions, rotating at different speeds. Each line leaves a fading 10-frame trail as it spins.

March 21, 2026

โœจDust Pulse

15,000 blue particles fill the screen like dust. Click to send a pulse, drag to push them like a finger through water. Particles repel each other and bounce off walls.

March 21, 2026

๐Ÿš€Space Explorer

Fly a rocket through procedurally generated space. WASD or arrow keys to move, space to shoot. Dodge fast red enemies and blue turrets that shoot back. Destroy obstacles in your path.

March 21, 2026

๐ŸงŸEmoji Zombie Survivor

Survive waves of emoji zombies. WASD to move, aim with the mouse and click to shoot. ๐Ÿ”ซ pickups drift inโ€”catch them for ammo; the ring hints when the next pickup is coming.

March 20, 2026

๐ŸงญTravelling Salesman

Interactive travelling salesman visualization using a 2-opt heuristic. Watch the path shorten in real time, reshuffle the route, or regenerate random points.

November 8, 2025

๐ŸŽจGraph Coloring

Generate a random graph and watch a backtracking solver color it in real time. Pause, resume, and tweak the node count to see how complexity changes.

November 8, 2025

๐Ÿ“Golden Ratio Spiral

Watch Fibonacci squares grow in a perfect spiral! Press SPACE to add the next square, R to reset, and use +/- to zoom as you visualize the golden ratio in action.

October 22, 2025

โœŠ๐Ÿ–โœŒ๏ธRock Paper Scissors Simulation

Hundreds of rock, paper, and scissors emojis bounce and convert each other on collision, following RPS rules. Watch populations evolve in real time with animated graphs and stats tracking.

October 22, 2025

โšซโšชColor Grid War

A black and white color grid is split down the middle. Two bouncing balls collide with the boundary and convert blocks to their side's color, struggling for control of the entire grid.

October 22, 2025

๐ŸงฒVector Field

Dynamic arrow grid that points toward your cursor, creating beautiful vector field visualizations. Adjust grid density with the slider for different effects.

October 22, 2025

๐ŸŽฏPulse Concentric

Concentric circles pulse outward from the center with customizable frequency, growth speed, and rainbow colors. Control the visual parameters with interactive sliders and color checkboxes.

June 9, 2025

๐Ÿฆ‹Butterfly Swarm

3D animated red butterflies with shimmering white star dust trails. Watch hundreds of butterflies float upward leaving magical particle effects.

June 8, 2025

๐ŸงŠWindows Ball Morph

A 3D morphing cube with colored faces that bounces around the screen, inspired by classic Windows screensavers. Watch as the cube transforms and rotates while bouncing off invisible boundaries.

June 7, 2025

๐ŸNEAT Racing Game

Cars evolve using neural networks to navigate a race track. Watch as AI cars learn to drive through generations of evolution using the NEAT algorithm.

June 6, 2025

๐Ÿ”—3D Pipes Screensaver

A 3D recreation of the classic Windows pipes screensaver. Watch as colorful pipes grow and wind their way through 3D space.

December 9, 2024

๐ŸชจSisyphus

Help Sisyphus push his boulder up the mountain, only for it to roll back down again. A metaphor for the human condition.

December 8, 2024

๐Ÿ˜„Smile Fireworks

When you smile CV detects your smile and gives you a fireworks show, my cheeks hurt from smiling so much!

October 16, 2024

๐ŸŒ’Three Body Problem

An un solvable problem. How do you create a stable orbit with 3 objects of roughly the same size? Turns out you cant.

September 7, 2024

๐Ÿ“ˆLinear Regression

Use least squares to find a line that can make a linear regression of some points I generate!

September 7, 2024

โœ๏ธDraw Classifier

Draw an image and press C to see what the image classifiers guess for what it is. Disclaimer this is pretty bad.

September 7, 2024

๐Ÿ–ผ๏ธImage Classifier

Upload an image and see what the image classifiers guess for what it is.

September 7, 2024

๐ŸŽถCircle Bounce Music

Ball bounces and every bounce it plays twinkle twinkle little star aye

September 7, 2024

๐ŸŽปTheramin

Use your hand position to change the freqency of the instrument!

September 7, 2024

๐ŸŒ€Mandelbrot Set Explorer

See this simple and complex mathematical wonder!

August 20, 2024

ฯ€PI estimation

Generate random points and check if they lie within a circle, use this to approximate PI

July 31, 2024

๐ŸŒ Universal Entity

Rozzi Roomian inspired art. What it feels to be in the universe. My interpretation: What it feels like to be god.

June 22, 2024

๐ŸŒŒStar Wars Hyper Drive!

What it feels like to be in the millenium falcon and hit hyperdrive

June 21, 2024

๐Ÿ—ผTowers of Hanoi!

Recursion at its finest

June 10, 2024

๐ŸงŠ3D Cubes

test project to learn webgl in p5

May 20, 2024

โšฝGet bigger after every collision

I made the tiktok video where the ball gets bigger after every collision

May 13, 2024

๐ŸขTurtles all the way down!

Do we have free will?

May 3, 2024

๐ŸŽ†Fireworks

Toggle your firework show!

April 25, 2024

๐ŸงฑGraffitti

Brick graffitti maker!

April 11, 2024

๐ŸŒฑConways Game of Life

With a twist, you can reverse the direction of time

October 15, 2023

๐ŸŽ Pretty Pendulums

Tried to replicate pretty pendulums from tiktok

October 15, 2023

๐Ÿ”„Chaos Pendulums

10 chaos pendulums and a movement path for each

October 15, 2023

๐ŸŽจColors

Edit these colors with math!

October 15, 2023

๐ŸŽฒSimulations

Generate many simulations of up or down randomness and see the disctibution at the end!

October 15, 2023

๐Ÿฆ COVID Simulations

A simulation of infections where one can change the infection, recovery, and creation rates

October 15, 2023

๐Ÿš€Rocket Orbit

A rocket that you can control orbiting around a sun!

October 15, 2023

๐ŸSnake

This snake game will always win!

October 15, 2023

โžฐSIN/COS simulation!

This demonstration shows how sin and cos are related!

October 15, 2023

๐Ÿค–Roomba algorithm

This is a simple line drawing robot, I tried to replicate how the roomba moves

October 15, 2023

๐Ÿ’•Love Hate

A special dance between love and hate, shown with two sin waves

October 15, 2023

๐Ÿ’Leslie

A love story seen from above

October 15, 2023

โ–งJoseph Albers

Joseph Albers inspired digital art.

October 15, 2023

๐Ÿ–ผ๏ธSimple Art

Inspired by the Museum of Modern Art San Fransisco.

October 15, 2023

๐ŸŒŠSin Words

Just a cool way to show words moving in a sin wave

October 15, 2023

๐Ÿ–‹๏ธText Display

I was inspired to make something cute for displaying tiktok names on live or just any text in an interesting way

April 25, 2023

๐Ÿ˜˜Sheps :)

What it is like to kiss with my girlfriend

April 25, 2023

๐ŸŸฉBar Visualization

Simple metronome for 4 beat counts

April 25, 2023

๐ŸŽงDJ Visualizer

, - halves bpm, . - doubles bpm, [ ] - shifts color theme, 1-4 - toggle effects, arrows - change bpm, spacebar - tap to learn BPM

July 1, 2022

๐Ÿ”บTriangles.

Random triangles popping up on your screen!

August 9, 2021

๐ŸงฌGenetic Path Finding

Generates lots of agents with random moves. The ones with the best fitness are used to generate more agents to learn a path.

January 31, 2021

๐ŸงฉMaze path finder

Generates random maze and uses BFS to make sure there is a path possible between them then visualizes how it searches the graph until it finds a path from the start point to the end point

January 31, 2021

๐ŸœLangton's Ant

A large matrix where we can simulate Langton's Ant that has the simple rules: if white turn left, if black turn right

January 31, 2021

โš™๏ธPID Control

PID stands for proportional integral derivative which is a controller that will try to reach a state this interaction lets you change the constants and goal state

January 31, 2021

๐Ÿ’–Hearts <3

Randomized heart animations for my love

January 31, 2021

๐ŸŽ๏ธPID Race car

Small simulation with a car that uses PID to follow a wall. Click and drag to add obstacles

January 31, 2021

๐Ÿ”ขBase Calculator

Add number, its base A, and target base B this will convert the number from base A to base B

January 31, 2021

๐ŸŒŠDopler Effect Simulation

Dopler effect is the effect of having waves in motion this shows different vizualizations you can use

January 31, 2021

โฑ๏ธStopwatch

Colorful stopwatch

January 31, 2021

๐ŸŸฆSelection Sort

Sorting algorithm that picks the next best item to sort O(nยฒ), ฮฉ(nยฒ)

January 31, 2021

๐Ÿ”€Insertion Sort

Sorting algorithm that swaps items until they are in the right place O(nยฒ), ฮฉ(n)

January 31, 2021

๐ŸงฉMerge Sort

Sorting algorithm that uses divide and conquer to sort smaller problems and combine them to sort an array O(nยฒ)

January 31, 2021

โญ•Lissajous Generator

Lissajous created by using circles with different periods

January 31, 2021

๐ŸฆFlappy Bird

Remake of Flappy Bird, press space to jump

January 31, 2021

๐ŸชAsteroids

Remake of Asteroids, use arrow keys to more space to shoot

January 31, 2021

๐ŸบDrunk Walk

Shows brownian motion and the path the agent takes

January 31, 2021

โš›๏ธParticle Interaction

Shows brownian motion with particles and allows you to see interactions

January 31, 2021

๐Ÿ”ตWave Particles

Shows particles that move in circles, your mous position changes their period and their overall image

January 31, 2021

๐ŸŽฏAngle PID

Test your agility! Dodge as three turrets use advanced PID control to target and hit your cursor. Can you outmaneuver them and survive?

January 31, 2021

๐ŸงฎCalculator

Simple arithmetic calculator

January 31, 2021

๐ŸŒ‹Platformer

Platformer game to escape the lava!

January 31, 2021

๐Ÿ–ฑ๏ธPointer

Cool way to emphasize the cursor

January 31, 2021