πŸ“– Code Guides - Complete Catalog

Comprehensive table of contents for all 567 documented p5.js creative coding sketches. Each entry shows the sketch's purpose, key programming concepts from the actual documentation, and links to detailed line-by-line code explanations.

567 fully documented sketches Β· Organized by creation date Β· Real concepts from AI-generated docs

# Preview Sketch Details Actions
151 Oscilating Sound WebGL - p5.js creative coding sketch

Oscilating Sound WebGL

This sketch creates a mesmerizing 3D WebGL visualization featuring an orbiting sphere and rotating torus, synchronized with a Tone.js synthesizer. The pitch of the sound follows the sphere's vertical position, while horizontal mouse movement controls the orbit size and colors.

Key Skills:
  • WEBGL 3D rendering
  • Tone.js audio synthesis
  • Lissajous curves
  • Parameter mapping with map()
  • Camera control with orbitControl()

by Anonymous Β· 356 views

πŸ“– Read Docs πŸ‘οΈ View
152 Numbers shuffle - p5.js creative coding sketch

Numbers shuffle

This sketch is a classic sliding number puzzle (like the 15-puzzle) rendered entirely with p5.js shapes and text. Numbered tiles sit in a grid with one empty slot, and you click a tile next to the empty space to slide it into place, trying to restore the numbers to sequential order.

Key Skills:
  • 2D arrays
  • Mouse-to-grid coordinate mapping
  • push()/pop()/translate() transforms
  • DOM integration (createButton)
  • Win condition checking

by Anonymous Β· 355 views

πŸ“– Read Docs πŸ‘οΈ View
153 Remixed Toung Twister - p5.js creative coding sketch

Remixed Toung Twister

This interactive sketch loads a tongue-twister poem, breaks it into individual words, and shuffles them into a new random arrangement every time you click the canvas. The remixed words are displayed as readable lines of text, creating absurd and funny new versions of the original poem.

Key Skills:
  • File loading with preload()
  • String manipulation
  • Array shuffling
  • Text parsing with splitTokens()
  • User interaction with mousePressed()

by Anonymous Β· 354 views

πŸ“– Read Docs πŸ‘οΈ View
154 SystemTest1 - p5.js creative coding sketch

SystemTest1

This sketch creates a comprehensive device capability tester that displays real-time information about input handling, motion sensors, microphone input, camera feed, WebGL rendering, and haptic feedback. It demonstrates how to detect and use both desktop and mobile device capabilities, making it an excellent reference for building cross-platform interactive applications.

Key Skills:
  • Permission handling and async/await
  • Browser capability detection
  • Audio input and amplitude analysis
  • Video capture and display
  • Device motion and orientation sensors

by Anonymous Β· 353 views

πŸ“– Read Docs πŸ‘οΈ View
155 Voxel-destructible - p5.js creative coding sketch

Voxel-destructible

This sketch creates a fully destructible 3D voxel world built with three.js, where each tiny cube can be clicked or tapped to explode into falling physics-based pieces. The scene supports free camera rotation and zooming, and plays satisfying destruction sounds via tone.js.

Key Skills:
  • 3D rendering with three.js
  • Physics simulation with cannon.js
  • Raycasting and click detection
  • Dynamic object destruction
  • Audio synthesis with tone.js

by Anonymous Β· 351 views

πŸ“– Read Docs πŸ‘οΈ View
156 AI Bubble Pop - Satisfying Click Game Pop colorful bubbles as they float up! Click bubbles to burst - p5.js creative coding sketch

AI Bubble Pop - Satisfying Click Game Pop colorful bubbles as they float up! Click bubbles to burst

This sketch creates a satisfying bubble-popping game where colorful bubbles float up from the bottom of the screen. Click any bubble to burst it, trigger a percussion sound that varies with bubble size, and release a particle explosionβ€”all while tracking your score.

Key Skills:
  • Class-based object design
  • Collision detection (point-in-circle)
  • Particle systems with physics
  • p5.sound synthesis and envelopes
  • HSB color mode and color manipulation

by Anonymous Β· 351 views

πŸ“– Read Docs πŸ‘οΈ View
157 SpaceInvaders - p5.js creative coding sketch

SpaceInvaders

This is a fully playable Space Invaders arcade game built with p5.js. Players control a spaceship at the bottom of the screen, dodge descending alien waves, and shoot them down while protective barriers crumble under enemy fire. The game features progressive difficulty, multiple lives, retro synthesizer sound effects, and responsive touch controls.

Key Skills:
  • Game state machines
  • Object-oriented programming with classes
  • Collision detection (AABB)
  • Game loops and frame-based animation
  • Progressive difficulty scaling

by Anonymous Β· 347 views

πŸ“– Read Docs πŸ‘οΈ View
158 SmileFaceCatchGPT5high - p5.js creative coding sketch

SmileFaceCatchGPT5high

This is a colorful arcade-style catching game where players move a smiley face at the bottom of the screen to catch falling happy faces while avoiding angry red ones. The game features dynamic difficulty that increases with score, smooth animations with wiggling and spinning smilies, and cheerful sound effects powered by p5.sound synthesizers.

Key Skills:
  • Game state management
  • Collision detection
  • Array iteration and splice
  • Smooth animation with lerp
  • Procedural spawn control

by Anonymous Β· 345 views

πŸ“– Read Docs πŸ‘οΈ View
159 Sketch 2025-11-27 02:28 - p5.js creative coding sketch

Sketch 2025-11-27 02:28

This sketch animates a circle moving along an elliptical path while a sine wave oscillator's pitch follows the circle's vertical position. Click to start the sound, and watch as the circle's height directly controls the frequency of the tone you hear.

Key Skills:
  • Animation loop
  • Trigonometric functions (cos, sin)
  • Elliptical motion
  • Audio synthesis
  • Tone.js oscillator

by Anonymous Β· 344 views

πŸ“– Read Docs πŸ‘οΈ View
160 HappyNewYear2026 - p5.js creative coding sketch

HappyNewYear2026

This sketch animates a glittering Times Square-style ball dropping down a starry sky while cycling through iconic 2025 moments. When the ball reaches the bottom, the scene explodes into colorful confetti, fireworks, and a bold "2026" celebration.

Key Skills:
  • State machines
  • Particle systems
  • Easing functions
  • Animation loops
  • Class-based architecture

by Anonymous Β· 341 views

πŸ“– Read Docs πŸ‘οΈ View
161 Teachable Machine > P5.js > Device (web serial) (Remix) (Remix) - p5.js creative coding sketch

Teachable Machine > P5.js > Device (web serial) (Remix) (Remix)

This sketch combines machine learning image classification with real-time device communication, allowing a Teachable Machine model to recognize objects from your webcam and send classification results to physical devices via USB Serial or Bluetooth. It bridges the gap between p5.js, ml5.js, and embedded systems like the micro:bit.

Key Skills:
  • Machine learning classification
  • Continuous video processing
  • Web Serial API for USB communication
  • Web Bluetooth API for wireless devices
  • Asynchronous callbacks and promises

by Anonymous Β· 338 views

πŸ“– Read Docs πŸ‘οΈ View
162 Teachable Machine > P5.js > Device (web serial) - p5.js creative coding sketch

Teachable Machine > P5.js > Device (web serial)

This sketch connects a Teachable Machine image classifier to a web browser, processes live webcam video to identify objects or subjects, and sends classification results via Web Serial to microcontroller devices like Arduino or Micro:bit. It bridges machine learning and hardware by creating a real-time visual classification system with two-way serial communication.

Key Skills:
  • Machine learning image classification
  • Web Serial API for hardware communication
  • Application state management
  • Asynchronous callbacks and promises
  • Video stream processing

by Anonymous Β· 338 views

πŸ“– Read Docs πŸ‘οΈ View
163 Lethal ape: redux - p5.js creative coding sketch

Lethal ape: redux

This sketch creates a hand-drawn, side-scrolling horror maze game where players navigate dark lab floors while avoiding monsters and collecting items. Using a joystick or keyboard, players move through interconnected rooms, experience the camera smoothly following their position, and face jump-scares when colliding with wandering creatures.

Key Skills:
  • Game state machine
  • Top-down camera with lerp smoothing
  • AABB collision detection
  • Procedural sound synthesis
  • Touch input and joystick control

by Anonymous Β· 328 views

πŸ“– Read Docs πŸ‘οΈ View
164 Astro bot - p5.js creative coding sketch

Astro bot

This sketch creates a full platformer game called Astro Bot where players navigate through 5 themed worlds, rescue bots, defeat enemies, and fight bosses. The game features a hub world for level selection, animated platforms, touch controls, particle effects, and a complete game loop with lives, scoring, and world progression.

Key Skills:
  • Game state management (hub, level, boss, win)
  • Physics simulation with gravity and velocity
  • Collision detection (platforms, enemies, bots, boss)
  • Touch controls and virtual joystick
  • Particle systems and visual effects

by Anonymous Β· 327 views

πŸ“– Read Docs πŸ‘οΈ View
165 smilefacecatch - p5.js creative coding sketch

smilefacecatch

This is a fun arcade-style game where players move a paddle left and right to catch falling smiley faces. Each catch increases the score, but missing too many faces triggers a game over screen. The sketch combines object-oriented programming, collision detection, and p5.sound to create an interactive game experience.

Key Skills:
  • ES6 Classes
  • Object-oriented programming
  • Collision detection (circle-to-rectangle)
  • Game state management
  • Array manipulation

by Anonymous Β· 327 views

πŸ“– Read Docs πŸ‘οΈ View
166 Sketch 2025-12-12 01:03 - p5.js creative coding sketch

Sketch 2025-12-12 01:03

This sketch creates an interactive 3D cosmic symphony where users click to spawn musical stars that orbit a central black hole under gravitational forces. Each star emits notes from the C Major Pentatonic scale, while an AI system analyzes the composition and suggests new celestial bodies to balance the arrangement. A shader-based animated nebula provides the background atmosphere.

Key Skills:
  • Three.js 3D rendering and camera controls
  • N-body gravitational physics simulation
  • Tone.js sound synthesis and scheduling
  • Raycasting for 3D mouse interaction
  • Shader materials for animated backgrounds

by Anonymous Β· 326 views

πŸ“– Read Docs πŸ‘οΈ View
167 Particle System with crazy meter🫠 - p5.js creative coding sketch

Particle System with crazy meter🫠

This sketch creates a swarm of glowing pastel particles that float across a dark canvas and wrap around its edges. Moving your mouse pulls them into chaotic motion, and the "crazy meter" slider controls their maximum speed and attraction strength.

Key Skills:
  • Vector math and forces
  • Particle systems
  • Mouse interaction
  • dat.gui parameter controls
  • ES6 classes

by Anonymous Β· 318 views

πŸ“– Read Docs πŸ‘οΈ View
168 Sketch 2026-01-11 20:18 - p5.js creative coding sketch

Sketch 2026-01-11 20:18

This sketch uses ml5.js to classify video from your webcam in real-time and sends the classification results to a microcontroller via Web Serial API. It displays the live video feed alongside the current prediction label and confidence percentage, creating a bridge between machine learning in the browser and hardware devices.

Key Skills:
  • Machine learning classification
  • Webcam video capture
  • Web Serial API
  • Asynchronous I/O
  • BroadcastChannel API

by Larux75 Β· 316 views

πŸ“– Read Docs πŸ‘οΈ View
169 Sketch 2025-12-24 00:08 - p5.js creative coding sketch

Sketch 2025-12-24 00:08

This sketch creates an animated orbital system featuring a morphing planet at the center and a smaller moon orbiting around it. Both shapes continuously transform between a triangle and a dodecagon while rotating, with colors that shift through the rainbow spectrum creating a mesmerizing, symmetrical animation.

Key Skills:
  • Custom polygon drawing with beginShape/vertex
  • Trigonometric functions (sin, cos) for smooth animation and orbital motion
  • HSB color mode for dynamic rainbow effects
  • Canvas transformations (translate, rotate, push, pop)
  • Morphing through interpolation and sine waves

by Anonymous Β· 316 views

πŸ“– Read Docs πŸ‘οΈ View
170 Sketch 2026-02-16 07:50 - p5.js creative coding sketch

Sketch 2026-02-16 07:50

This interactive sketch creates a dynamic grid of circles that responds to mouse/touch movement and device orientation. The oscillator's pitch and volume follow your cursor, while Perlin noise generates flowing patterns that pulse with the sound's amplitude, blending audio and visuals into a unified experience.

Key Skills:
  • Audio synthesis with oscillators
  • Real-time audio amplitude measurement
  • Perlin noise for organic patterns
  • HSB color mode (Hue, Saturation, Brightness)
  • Device sensor integration (accelerometer/gyroscope)

by Anonymous Β· 313 views

πŸ“– Read Docs πŸ‘οΈ View
171 gta6 current state - p5.js creative coding sketch

gta6 current state

This sketch creates a GTA-inspired 3D city sandbox where you drive a car or run on foot through an endless procedurally-generated world. As your wanted level (star meter) increases over time, cop cars chase you and eventually tanks arrive to fire projectilesβ€”survive 7 seconds of continuous collision or a tank hit to trigger game over.

Key Skills:
  • three.js 3D scene, camera, renderer
  • Procedural chunk-based world generation
  • Enemy AI with pathfinding and chasing
  • Raycasting for shooting/hit detection
  • Game state and wanted level system

by Anonymous Β· 312 views

πŸ“– Read Docs πŸ‘οΈ View
172 Particle System - p5.js creative coding sketch

Particle System

This sketch creates an interactive particle system with 100 colorful particles that bounce around the canvas and are attracted toward the mouse cursor. Each particle has randomized size and color, creating a dynamic visual effect that responds to user interaction in real time.

Key Skills:
  • Object-oriented programming with classes
  • p5.Vector and vector math
  • Attraction and force simulation
  • Particle systems
  • Collision detection with canvas boundaries

by Anonymous Β· 311 views

πŸ“– Read Docs πŸ‘οΈ View
173 lit fun - p5.js creative coding sketch

lit fun

This sketch creates a 3D fighting game where players control Spider-Man to battle an AI-controlled Deadpool in a procedurally generated city. The game features full 3D movement, web-swinging mechanics, attack systems, health tracking, and a dynamic third-person camera that players control with the mouse.

Key Skills:
  • WEBGL 3D rendering
  • Object-oriented game design
  • Game state management
  • Physics simulation (gravity, velocity)
  • Third-person camera control

by Anonymous Β· 309 views

πŸ“– Read Docs πŸ‘οΈ View
174 geo dash - p5.js creative coding sketch

geo dash

This sketch creates a Geometry Dash-inspired game where a player controls a square that jumps over incoming red spike obstacles. The game features continuous scrolling, collision detection, score tracking, and rhythmic sound effects using the p5.sound library.

Key Skills:
  • Object-oriented programming with ES6 classes
  • Collision detection (AABB bounding boxes)
  • Game state management
  • Physics simulation (gravity and velocity)
  • Array management (splice to remove elements)

by Anonymous Β· 306 views

πŸ“– Read Docs πŸ‘οΈ View
175 ROUNDS (improved) - p5.js creative coding sketch

ROUNDS (improved)

ROUNDS is a fast-paced local multiplayer (or AI) battle arena where two characters duel across shifting platform maps, firing projectiles, blocking attacks, and collecting powerful upgrade cards between rounds. The winning player reaches a target score by eliminating their opponent through combat, blocking, and strategic ability stacking.

Key Skills:
  • State machine (TITLE β†’ PLAYING β†’ CARD_SELECT β†’ GAME_OVER)
  • Collision detection (AABB rectangles with platform geometry)
  • Physics simulation (gravity, velocity, friction, jumping)
  • AI pathfinding and decision-making
  • Particle systems and visual feedback

by Anonymous Β· 303 views

πŸ“– Read Docs πŸ‘οΈ View
176 gta 6 current state - p5.js creative coding sketch

gta 6 current state

This is a GTA-inspired 3D game prototype built with three.js where you drive a car, evade cop cars, and switch to on-foot mode to shoot NPCs. The game escalates with a five-star wanted level system that spawns increasingly dangerous police units, ending when you're caught or hit by tank fire.

Key Skills:
  • three.js 3D scene and rendering
  • 3D camera following and first-person view
  • Object transformation (position, rotation, quaternion)
  • Raycasting for intersection detection
  • AI pathfinding with angle smoothing

by Anonymous Β· 298 views

πŸ“– Read Docs πŸ‘οΈ View
177 day dreaminj fish - p5.js creative coding sketch

day dreaminj fish

This sketch creates a dreamy fish bowl where a sleepy orange fish drifts peacefully, displays changing dreams in thought bubbles, and responds to your typed messages. Click to feed the fish, chat with it, and discover that if you don't interact enough, the fish will fall asleepβ€”and dream of vengeance with a 1-in-10 chance to turn the tables.

Key Skills:
  • State management (sleeping, feeding, shooting)
  • Animation loops and smooth motion (lerp)
  • Particle systems (bubbles and food)
  • Event handling (mouse clicks, keyboard input)
  • UI positioning and responsiveness

by Anonymous Β· 294 views

πŸ“– Read Docs πŸ‘οΈ View
178 stimulation final boss - p5.js creative coding sketch

stimulation final boss

This sketch creates a dynamic, multi-layered interactive canvas where a swirling cloud of particles follows your mouse while being repelled by a bouncing white ball. Four spinning pinwheels anchor the corners, you can draw permanent white lines by clicking and dragging, and a clickable button in the center tracks interactions.

Key Skills:
  • Particle systems
  • Vector forces and attraction
  • Collision detection and repulsion
  • Graphics layers and persistent drawing
  • Animation loops and frame-based physics

by Anonymous Β· 293 views

πŸ“– Read Docs πŸ‘οΈ View
179 7 painful nights at corbuns zombie island - p5.js creative coding sketch

7 painful nights at corbuns zombie island

This is a 3D first-person island survival game built with Three.js where you walk around a low-poly island, harvest fruit from palm trees, shoot zombies that spawn at night, hire guards to help defend, and try to survive 7 nights. The game combines exploration, resource management, combat, and a day-night cycle.

Key Skills:
  • Three.js 3D rendering
  • First-person camera controls
  • Game state machine (day-night cycle)
  • Object-oriented game entities (classes)
  • Collision detection and response

by Anonymous Β· 285 views

πŸ“– Read Docs πŸ‘οΈ View
180 dino - p5.js creative coding sketch

dino

This sketch creates an AI-learning dinosaur game inspired by Chrome's offline dinosaur, where the dino learns to jump over cacti and duck under birds by recording successful actions in a 'winning list'. The game features a fixed, repeating obstacle course that allows the AI to gradually improve its decision-making through reinforcement learning, getting smarter with every successful dodge.

Key Skills:
  • Reinforcement Learning
  • Collision Detection (AABB)
  • Game State Management
  • Physics Simulation (Gravity & Velocity)
  • Classes and Inheritance

by Anonymous Β· 285 views

πŸ“– Read Docs πŸ‘οΈ View
181 Webcam Effects - p5.js creative coding sketch

Webcam Effects

This sketch captures your live webcam video and applies five different visual effects in real time: normal display, pixelation, ASCII art, edge detection, and posterization. Click anywhere on the canvas to cycle through each effect and watch your video transform.

Key Skills:
  • Video capture and webcam access
  • Pixel-level image manipulation
  • Coordinate mapping and scaling
  • Built-in p5.js filters
  • Interactive mode switching

by Anonymous Β· 282 views

πŸ“– Read Docs πŸ‘οΈ View
182 This game is broken someone fix it, Theres a game after this i promise - p5.js creative coding sketch

This game is broken someone fix it, Theres a game after this i promise

This is a multilingual text adventure game where players explore an ancient temple, collect items, and solve puzzles through typed commands or clickable buttons. The game supports five languages (English, Spanish, French, German, Italian) and features a classic retro terminal aesthetic with green text on black.

Key Skills:
  • Localization and multilingual support
  • Game state management
  • DOM manipulation and event listeners
  • Object-oriented data structures
  • String parsing and command processing

by Anonymous Β· 282 views

πŸ“– Read Docs πŸ‘οΈ View
183 Sketch 2026-03-05 16:07 - p5.js creative coding sketch

Sketch 2026-03-05 16:07

This sketch creates a playable car racing game where you control a blue car to dodge red obstacle vehicles on a three-lane road. The game features keyboard and touch controls, collision detection, score tracking, and three game states (menu, playing, game over).

Key Skills:
  • Object-oriented programming (classes)
  • Game state management
  • Collision detection (AABB)
  • Keyboard and touch input handling
  • Array management and spawning

by Anonymous Β· 281 views

πŸ“– Read Docs πŸ‘οΈ View
184 Room - p5.js creative coding sketch

Room

This sketch creates an immersive 3D room rendered in WebGL, filled with furniture, lab equipment, and decorative objects lit with warm, dramatic directional and point lights. You control a first-person camera by clicking and dragging to pan and tilt your head, and scrolling to zoom in and out through the lived-in space.

Key Skills:
  • WebGL 3D rendering
  • Camera control and transformation
  • 3D lighting (ambient, directional, point lights)
  • Material properties (specular, shininess, emissive)
  • Push/pop transformation isolation

by Anonymous Β· 281 views

πŸ“– Read Docs πŸ‘οΈ View
185 Lethal ape redux - p5.js creative coding sketch

Lethal ape redux

This is a spooky top-down maze game where you navigate procedurally-lit rooms, avoid intelligent monsters that hunt across multiple floors, collect keys, and face sudden jumpscares with eerie procedural audio. You control movement with a joystick, toggle VR head-tracking mode to look around, and run to escape danger.

Key Skills:
  • Game state management
  • Camera offset and translation
  • Collision detection
  • Monster AI and pathfinding
  • Procedural audio synthesis

by Anonymous Β· 279 views

πŸ“– Read Docs πŸ‘οΈ View
186 InterActiveImagetest - p5.js creative coding sketch

InterActiveImagetest

This sketch displays an image on canvas and warps it into a bulging, rippling field centered on your mouse cursor. When you click to activate your microphone, the intensity of the warp responds to sound levels and time-based oscillations, creating an interactive audio-visual sculpture.

Key Skills:
  • Direct pixel manipulation
  • Audio reactivity
  • Polar coordinate system
  • Displacement mapping
  • Real-time image warping

by Anonymous Β· 279 views

πŸ“– Read Docs πŸ‘οΈ View
187 backrooms - p5.js creative coding sketch

backrooms

This sketch creates an immersive 3D backrooms-style exploration game where you navigate a procedurally-generated maze while being hunted by a monster. The game combines Three.js 3D rendering, a recursive backtracking maze algorithm, and Tone.js audio for an atmospheric horror experience.

Key Skills:
  • Three.js 3D scene, camera, and rendering
  • Procedural maze generation (recursive backtracking)
  • Pathfinding algorithms (breadth-first search / BFS)
  • Collision detection in 3D space
  • Game state machines

by Anonymous Β· 278 views

πŸ“– Read Docs πŸ‘οΈ View
188 killer monkey 2.0 - p5.js creative coding sketch

killer monkey 2.0

This sketch creates a single aggressive 3D monkey wielding a sword that relentlessly chases your mouse cursor across a dark, glowing space. The monkey uses steering AI to predict and hunt your movements, speaking in glitchy banana-themed phrases, until it catches you and crashes the game.

Key Skills:
  • 3D rendering (WEBGL)
  • Steering behavior (AI pursuit)
  • Vector math (velocity, acceleration, forces)
  • Mouse tracking and collision detection
  • State management (play vs. crashed)

by Anonymous Β· 277 views

πŸ“– Read Docs πŸ‘οΈ View
189 monkey game hehe - p5.js creative coding sketch

monkey game hehe

This sketch creates a chunky 3D monkey in WebGL that chases your cursor around the screen using steering AI. The monkey changes behavior based on distance, displays silly thoughts in speech bubbles, and triggers a crash screen when it catches youβ€”combining 3D graphics, vector physics, and playful game mechanics.

Key Skills:
  • Vector steering behavior
  • 3D graphics and WebGL
  • Game state management
  • Collision detection
  • Coordinate system conversion

by Anonymous Β· 277 views

πŸ“– Read Docs πŸ‘οΈ View
190 have fun - p5.js creative coding sketch

have fun

This sketch creates an interactive physics simulation where clicking destroys falling blocks, shattering them into flying pieces while drawing cracks across the screen. As you accumulate clicks, the cracks intensify until the screen itself "breaks," revealing a grotesque face beneath with a dramatic jumpscare effect.

Key Skills:
  • Physics engine integration (Matter.js)
  • Dynamic object spawning and removal
  • Collision detection and impact forces
  • Cumulative visual effects (cracks)
  • Multi-stage animation sequences

by Anonymous Β· 276 views

πŸ“– Read Docs πŸ‘οΈ View
191 collect the balls! - p5.js creative coding sketch

collect the balls!

Collect the Balls! is a fast-paced arcade game where players slide a paddle to catch falling balls and earn points. The game features a progression system with score multipliers and paddle skins that can be purchased in shops, plus difficulty that ramps up as the game continues.

Key Skills:
  • Game state management
  • Collision detection
  • Dynamic difficulty
  • Persistent player progression
  • Button UI coordination

by Anonymous Β· 275 views

πŸ“– Read Docs πŸ‘οΈ View
192 ITS RAINING TACOS - p5.js creative coding sketch

ITS RAINING TACOS

This sketch creates a festive animation where colorful tacos rain down the screen continuously while a mouse-following circle trails across the canvas with colors that shift based on cursor position. It combines object-oriented programming with p5.js animation to create an interactive, playful visual experience.

Key Skills:
  • Object-oriented programming with classes
  • Arrays of objects
  • Constructor and methods
  • Transform stack: push() and pop()
  • Coordinate transformation: translate() and rotate()

by Anonymous Β· 275 views

πŸ“– Read Docs πŸ‘οΈ View
193 Unfinished project - p5.js creative coding sketch

Unfinished project

This sketch creates a pixelated adventure game where you play as a diver exploring a flooded world. You swim through water, walk on land, enter houses, interact with NPCs, and complete quests by flooding buildings to reclaim the land for the sea.

Key Skills:
  • Game state management
  • Camera system and viewport scrolling
  • Physics simulation (gravity, buoyancy, friction)
  • Collision detection and interaction
  • Quest and dialogue system

by Anonymous Β· 275 views

πŸ“– Read Docs πŸ‘οΈ View
194 Sketch 2026-01-17 14:49 - p5.js creative coding sketch

Sketch 2026-01-17 14:49

This sketch creates a smooth text transition animation that alternates between two phrases: 'Adra Keren' and 'Adra Anak Emas'. Each phrase fades in and holds for 2 seconds, then fades out over 1 second as the other phrase fades in, creating a continuous loop. The canvas resizes responsively to fit the window.

Key Skills:
  • Time-based animation
  • Alpha transparency and fill()
  • millis() timer function
  • Modulo operator for looping
  • map() and lerp() for interpolation

by Anonymous Β· 274 views

πŸ“– Read Docs πŸ‘οΈ View
195 BOB ai - p5.js creative coding sketch

BOB ai

Ultra Smart Bob is an interactive AI character with a dynamic, morphing face that breathes and tracks your mouse. Type messages or hold-click to speak, and Bob responds with clever conversation, math calculations, and witty repliesβ€”all customizable through voice pitch, speed, and realism sliders.

Key Skills:
  • Speech Synthesis (Web Speech API)
  • Speech Recognition (WebRTC SpeechRecognition)
  • Shape Morphing with lerp()
  • Color Transitions with lerpColor()
  • Event Listeners and DOM Manipulation

by Anonymous Β· 273 views

πŸ“– Read Docs πŸ‘οΈ View
196 Can you beat 12,000 - p5.js creative coding sketch

Can you beat 12,000

This interactive Lego vehicle construction game combines 3D building, selling, and mini-games. Players tap to add blocks and build helicopters, cars, trains, and buses step-by-step, then watch a customer buy each creation. As money accumulates, new vehicles unlock and playable mini-games become available at specific money thresholds.

Key Skills:
  • 3D transforms and WEBGL rendering
  • Game state machine (multiple modes)
  • Animation timing with millis()
  • Interactive tap-to-advance mechanic
  • Unlock system based on thresholds

by Anonymous Β· 273 views

πŸ“– Read Docs πŸ‘οΈ View
197 ROUNDS - p5.js creative coding sketch

ROUNDS

ROUNDS is a chaotic local-multiplayer combat game inspired by the roguelike shooter of the same name. Two players battle across platform-filled arenas, dodging bullets and blocking attacks, while collecting power-up cards between rounds that fundamentally reshape their playstyle with unique abilities, stat boosts, and weapon modifiers.

Key Skills:
  • Object-oriented design with classes
  • Game state machine (TITLE, PLAYING, ROUND_OVER, CARD_SELECT, GAME_OVER)
  • Collision detection (circle-to-rectangle and axis-aligned bounding boxes)
  • Physics simulation (gravity, friction, velocity, jumping)
  • Particle systems and visual effects

by Anonymous Β· 273 views

πŸ“– Read Docs πŸ‘οΈ View
198 Cody's mind - p5.js creative coding sketch

Cody's mind

This sketch creates a cosmic particle network orbiting a glowing central core, with sassy AI-generated thoughts that float across the screen. The particles emit flickering connections to nearby neighbors, creating an animated visualization of a thinking mind with personality.

Key Skills:
  • Particle systems
  • Vector math and attraction
  • Collision detection and overlap checking
  • Text rendering and bounding boxes
  • Frame-based animation and fading

by Anonymous Β· 273 views

πŸ“– Read Docs πŸ‘οΈ View
199 YouTube - p5.js creative coding sketch

YouTube

This sketch creates a playful video player interface that displays random YouTube video titles in a large thumbnail box. Clicking the X button in the bottom-left corner skips to the next video with a beep sound and increments a counter.

Key Skills:
  • Mouse interaction and collision detection
  • Sound synthesis with oscillators
  • Responsive design and scaling
  • State management with arrays
  • Modulo arithmetic for cycling

by Anonymous Β· 273 views

πŸ“– Read Docs πŸ‘οΈ View
200 Sketch 2026-02-24 20:50 - p5.js creative coding sketch

Sketch 2026-02-24 20:50

This sketch creates an interactive drawing canvas where users paint with a brush that continuously cycles through rainbow colors. Mouse movements create smooth, fluid strokes using interpolation, with keyboard shortcuts for clearing, resizing, and saving artwork.

Key Skills:
  • Color cycling
  • HSB color mode
  • Mouse events (mouseDragged)
  • Smooth interpolation (lerp)
  • Distance calculation

by Anonymous Β· 272 views

πŸ“– Read Docs πŸ‘οΈ View