๐Ÿ“– Code Guides - Complete Catalog

Comprehensive table of contents for all 927 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.

927 fully documented sketches ยท Organized by creation date ยท Real concepts from AI-generated docs

# Preview Sketch Details Actions
851 AI Neon Rain City - Cyberpunk Rainy Night Simulation - xelsed.ai - p5.js creative coding sketch

AI Neon Rain City - Cyberpunk Rainy Night Simulation - xelsed.ai

This sketch renders a moody cyberpunk skyline at night, with silhouetted buildings, flickering neon signs, wind-driven rain, spreading ripples, drifting fog, and the occasional lightning flash. Moving the mouse left and right controls the wind, tilting every raindrop's fall angle in real time.

Key Skills:
  • Object-oriented programming with ES6 classes
  • Particle systems (rain and ripples)
  • Additive blend mode for glow effects
  • Color interpolation with lerpColor
  • push()/pop() with scale() for reflections

by Anonymous ยท 463 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
852 AI Aurora Borealis Generator - Dancing Northern Lights Simulation - xelsed.ai - p5.js creative coding sketch

AI Aurora Borealis Generator - Dancing Northern Lights Simulation - xelsed.ai

This sketch simulates the northern lights: a gradient night sky filled with twinkling stars, flowing ribbons of green, teal, and purple aurora light rendered with additive blending and Perlin noise, occasional bright flares that shoot upward, and a silhouette of pine trees along the horizon. Moving the mouse nudges the direction the aurora curtains drift.

Key Skills:
  • HSB color mode
  • Perlin noise for organic motion
  • Additive blend mode for glowing light
  • Offscreen graphics buffer (createGraphics)
  • Particle systems (flares array)

by Anonymous ยท 459 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
853 AI Ink Flow Meditation - Zen Calligraphy Brush Simulation - xelsed.ai - p5.js creative coding sketch

AI Ink Flow Meditation - Zen Calligraphy Brush Simulation - xelsed.ai

This sketch turns the whole browser window into a sheet of textured rice paper where dragging the mouse paints flowing ink strokes that pool, bleed at the edges, and slowly dry. If you stop moving for a few seconds, pink cherry blossom petals drift down across the canvas.

Key Skills:
  • Offscreen graphics buffers (createGraphics)
  • Blend modes (MULTIPLY and ADD)
  • Perlin noise for organic texture
  • Custom ES6 classes and OOP
  • curveVertex for smooth freehand lines

by Anonymous ยท 497 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
854 AI Firefly Meadow - Peaceful Night Scene - xelsed.ai - p5.js creative coding sketch

AI Firefly Meadow - Peaceful Night Scene - xelsed.ai

This sketch creates a peaceful animated night meadow where 70 glowing fireflies drift using Perlin noise and gently gravitate toward the mouse cursor, while 100 stars twinkle above against a gradient sky. Soft blur filters and fading trail rectangles give the fireflies a dreamy, organic glow.

Key Skills:
  • Perlin noise for organic motion
  • Vector-based steering behaviors (p5.Vector)
  • Class-based particle systems
  • Color interpolation with lerpColor
  • Alpha-based motion trails

by Anonymous ยท 414 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
855 AI Color Mixer Lab - RGB Additive Blending Tool Learn color theory with interactive RGB mixing! Dra - p5.js creative coding sketch

AI Color Mixer Lab - RGB Additive Blending Tool Learn color theory with interactive RGB mixing! Dra

This sketch creates an interactive RGB color mixer where three translucent red, green, and blue circles can be dragged around a full-window canvas. Using p5.js's additive blend mode, overlapping circles combine like beams of light rather than paint, and a crosshair fixed at the canvas center samples the resulting color, displaying it live as both RGB numbers and a hex code.

Key Skills:
  • Additive color blending with blendMode(ADD)
  • RGB color model and hex conversion
  • Mouse dragging with distance-based hit testing
  • Pixel sampling with get()
  • Array of objects for managing multiple shapes

by Anonymous ยท 707 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
856 AI Binary Clock - LED Time Display Read time in binary! Six rows of glowing green LED circles repre - p5.js creative coding sketch

AI Binary Clock - LED Time Display Read time in binary! Six rows of glowing green LED circles repre

This sketch turns the current time into a glowing binary LED clock, splitting hours, minutes, and seconds into six decimal digits and lighting up green LED circles to represent each digit in binary. A readable HH:MM:SS readout sits below the LEDs so you can check your binary-reading skills against the real time.

Key Skills:
  • Animation loop
  • Number-to-binary conversion
  • Nested for loops
  • Responsive layout with width/height
  • Layered transparency for glow effects

by Anonymous ยท 723 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
857 AI Wave Function Simulator - Physics Interference Visualization Explore wave interference physics! - p5.js creative coding sketch

AI Wave Function Simulator - Physics Interference Visualization Explore wave interference physics!

This sketch simulates two circular wave sources whose ripples overlap to create a classic interference pattern, rendered as glowing blue bands on a dark canvas. You can drag the two sources (A and B) around the screen, adjust their oscillation frequency with a slider, and pause/resume the animation to study the moving pattern.

Key Skills:
  • Off-screen graphics buffers (createGraphics)
  • Pixel manipulation with loadPixels/updatePixels
  • Sine waves and phase for interference physics
  • Mouse dragging (mousePressed/mouseDragged/mouseReleased)
  • p5.js DOM UI elements (createSlider, createButton)

by Anonymous ยท 755 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
858 AI Reaction Time Test - Speed Challenge Game Test your reflexes! Wait for the circle to turn green, - p5.js creative coding sketch

AI Reaction Time Test - Speed Challenge Game Test your reflexes! Wait for the circle to turn green,

This sketch is a reaction-time testing game: a circle sits in the middle of the screen and cycles through red (wait), green (click now!), yellow (clicked too early), and a result screen showing your reaction time in milliseconds. It tracks your best time, a rolling average of your last 10 attempts, and renders them as a live bar chart at the bottom of the screen.

Key Skills:
  • Finite state machines
  • millis() timing
  • Random delays
  • Array-based data tracking
  • map() for data visualization

by Anonymous ยท 736 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
859 AI Maze Generator - Recursive Backtracking Puzzle Navigate procedurally generated mazes! Adjust maz - p5.js creative coding sketch

AI Maze Generator - Recursive Backtracking Puzzle Navigate procedurally generated mazes! Adjust maz

This sketch procedurally builds a perfect maze using the recursive backtracking algorithm, animating the carving process cell by cell, then lets you navigate it with the arrow keys or watch a BFS pathfinder solve it for you. A slider controls the maze's grid resolution, and buttons let you regenerate or auto-solve the current maze.

Key Skills:
  • Recursive backtracking (stack-based maze generation)
  • Breadth-first search (queue-based pathfinding)
  • 2D grid of class instances
  • Object-oriented design with a Cell class
  • p5.dom UI elements (slider, buttons)

by Anonymous ยท 718 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
860 AI Particle Fountain - Physics Particle System Click to spawn beautiful particle fountains! Particl - p5.js creative coding sketch

AI Particle Fountain - Physics Particle System Click to spawn beautiful particle fountains! Particl

This sketch creates a glowing particle fountain simulation where clicking anywhere on the canvas spawns a new fountain that shoots colorful, physics-driven particles into the air. Particles arc upward under gravity, fall back down, and burst into secondary 'splash' particles when they hit the ground, all rendered with additive blending for a soft neon-glow look.

Key Skills:
  • Particle systems with classes
  • p5.Vector physics (position, velocity, acceleration)
  • Additive blend mode for glow effects
  • HSB color mode and speed-based color mapping
  • Array management with reverse for-loops and splice

by Anonymous ยท 657 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
861 AI Spirograph Generator - Geometric Pattern Art Create intricate hypotrochoid patterns with adjusta - p5.js creative coding sketch

AI Spirograph Generator - Geometric Pattern Art Create intricate hypotrochoid patterns with adjusta

This sketch is an interactive digital spirograph that draws hypotrochoid curves - the looping geometric patterns you'd get from a mechanical Spirograph toy. Three sliders let you control the outer wheel radius (R), inner wheel radius (r), and pen offset (d), and the resulting curve is rendered as a full rainbow gradient on a dark background.

Key Skills:
  • Parametric equations (hypotrochoid curves)
  • HSB color mode and rainbow gradients
  • DOM UI elements (createSlider, createDiv, createSpan)
  • Greatest common divisor algorithm
  • push()/pop() and translate() transforms

by Anonymous ยท 674 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
862 AI Lissajous Curves - Mathematical Harmonic Art Beautiful neon harmonic patterns created by oscilla - p5.js creative coding sketch

AI Lissajous Curves - Mathematical Harmonic Art Beautiful neon harmonic patterns created by oscilla

This sketch draws glowing, continuously animated Lissajous curves - the classic two-frequency oscillator patterns - using neon additive-blended strokes that leave soft trails. Sliders let you pick the X and Y frequencies and a phase offset, while an 'AI Suggest Curve' button randomly picks aesthetically pleasing frequency ratios and phase values for you.

Key Skills:
  • Parametric equations / Lissajous curves
  • HSB colorMode and hue cycling
  • Additive blend modes for glow
  • DOM UI elements (createSlider, createButton) driving a sketch
  • Trail effects via translucent overlays

by Anonymous ยท 695 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
863 AI Pendulum Wave - Mesmerizing Physics Simulation Watch multiple pendulums of varying lengths swing - p5.js creative coding sketch

AI Pendulum Wave - Mesmerizing Physics Simulation Watch multiple pendulums of varying lengths swing

This sketch simulates a classic pendulum wave: dozens of pendulums with carefully calculated lengths swing from a shared anchor point, drifting in and out of sync to create hypnotic, ever-shifting wave patterns. Glowing HSB-colored trails fade slowly on an offscreen buffer, turning simple physics into a flowing light painting that responds live to gravity and pendulum-count sliders.

Key Skills:
  • Simple harmonic motion physics
  • Object-oriented design with ES6 classes
  • Offscreen graphics buffers (createGraphics)
  • HSB color mode and gradients
  • Fade-trail rendering technique

by Anonymous ยท 528 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
864 AI Cellular Automaton Lab - Conway's Game of Life Classic cellular automaton simulation! Click or d - p5.js creative coding sketch

AI Cellular Automaton Lab - Conway's Game of Life Classic cellular automaton simulation! Click or d

This sketch brings Conway's Game of Life to your browser as an interactive grid of neon-green cells on a dark background. You can click or drag to draw your own starting pattern, then press spacebar to watch it evolve generation by generation according to simple birth/death rules.

Key Skills:
  • 2D arrays
  • Nested for-loops
  • Cellular automaton rules
  • Mouse interaction (mousePressed/mouseDragged)
  • Keyboard interaction (keyPressed)

by Anonymous ยท 458 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
865 AI Boid Flocking Simulator - Emergent Swarm Behavior Watch realistic bird/fish swarms with separati - p5.js creative coding sketch

AI Boid Flocking Simulator - Emergent Swarm Behavior Watch realistic bird/fish swarms with separati

This sketch simulates a flock of colorful triangular boids that swarm, scatter, and regroup using the classic separation/alignment/cohesion rules pioneered by Craig Reynolds. Left-clicking spawns a new cluster of panicked boids and right-clicking drops a red predator that hunts the nearest boid, all rendered over a soft gradient background with trailing motion streaks.

Key Skills:
  • Boids / flocking algorithm
  • Steering behaviors (separation, alignment, cohesion)
  • p5.Vector math
  • Object-oriented classes in p5.js
  • HSB color mode and alpha blending

by Anonymous ยท 713 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
866 AI Kaleidoscope Generator - Symmetrical Pattern Art Draw mesmerizing symmetrical patterns with real - p5.js creative coding sketch

AI Kaleidoscope Generator - Symmetrical Pattern Art Draw mesmerizing symmetrical patterns with real

This sketch turns your mouse or finger movements into a glowing, rotating kaleidoscope. Every stroke you draw is mirrored across multiple symmetry axes in real time, wrapped in a jewel-toned radial gradient, and colored with an auto-generated harmonious palette that can be reshuffled on demand.

Key Skills:
  • WEBGL rendering mode in p5.js
  • HSB color mode and palette generation
  • Radial symmetry via rotateZ() and scale()
  • dat.GUI for live parameter controls
  • Canvas 2D gradients and shadows via drawingContext

by Anonymous ยท 682 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
867 AI Music Visualizer Rings - Audio Frequency Art Watch neon concentric rings pulse to your music! Us - p5.js creative coding sketch

AI Music Visualizer Rings - Audio Frequency Art Watch neon concentric rings pulse to your music! Us

This sketch turns live microphone audio (or a fallback oscillator) into three glowing neon rings that pulse outward with bass, mid, and treble energy. Each ring smoothly eases toward a target radius driven by p5.FFT frequency analysis, creating a hypnotic, club-visualizer feel entirely in the browser.

Key Skills:
  • p5.FFT frequency analysis
  • p5.AudioIn microphone input
  • HSB color mode for neon hues
  • lerp() easing for smooth animation
  • Layered translucent strokes for glow effects

by Anonymous ยท 513 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
868 AI Fractal Explorer - Infinite Mandelbrot Zoom Explore infinite mathematical beauty! Click to zoom - p5.js creative coding sketch

AI Fractal Explorer - Infinite Mandelbrot Zoom Explore infinite mathematical beauty! Click to zoom

This sketch renders the Mandelbrot set by testing every pixel on screen against a mathematical formula, then colors the result with an animated psychedelic palette. Clicking zooms in 2x at the cursor, dragging pans around, and scrolling zooms smoothly - turning the canvas into an infinite fractal exploration tool.

Key Skills:
  • Escape-time fractal algorithms
  • Complex number iteration without a library
  • Pixel array manipulation (loadPixels/updatePixels)
  • HSV to RGB color conversion
  • Screen-to-world coordinate mapping

by Anonymous ยท 625 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
869 AI Gravity Painter - Physics Art Sandbox Paint with gravitational forces! Click to place gravity we - p5.js creative coding sketch

AI Gravity Painter - Physics Art Sandbox Paint with gravitational forces! Click to place gravity we

This sketch turns the whole browser window into a glowing particle physics sandbox where clicking places gravitational wells that pull hundreds of neon particles into swirling orbits, and dragging creates repulsion zones that scatter them apart. A lightweight built-in 'AI' analyzes the current flow of particles and suggests new well placements to either balance the composition (symmetry) or intensify the turbulence (chaos), and pressing C freezes the whole system into a crystalline nearest-neighbor graph.

Key Skills:
  • p5.Vector physics (position, velocity, acceleration)
  • ES6 classes for particles and force fields
  • HSB color mode & additive blend modes
  • Inverse-square force falloff with softening
  • Particle system collision detection

by Anonymous ยท 695 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
870 AI Weather Symphony - Dynamic Soundscape Control the weather and create unique soundscapes! Drag to - p5.js creative coding sketch

AI Weather Symphony - Dynamic Soundscape Control the weather and create unique soundscapes! Drag to

This sketch turns the browser window into a living weather system where dragging paints wind, clicking spawns rain or snow, holding the mouse charges up lightning, and pressing N flips between day and night. Every weather event is mirrored by generative Tone.js audio layers, and a rotating AI-style text suggestion nudges you toward things to try next.

Key Skills:
  • Classes and object-oriented particle systems
  • p5.Vector for velocity and wind simulation
  • noise() for organic aurora motion
  • lerpColor() for day/night and storm blending
  • Tone.js generative audio tied to visual state

by Anonymous ยท 843 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
871 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 ยท 352 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
872 AI Quest Master v2 - Fantasy RPG - xelsed.ai - p5.js creative coding sketch

AI Quest Master v2 - Fantasy RPG - xelsed.ai

This sketch builds a branching fantasy text adventure where a simulated AI Quest Master drives the story through a big lookup table of narrative states. As the story moves between forest, cave, castle, and plains locations, the p5.js canvas procedurally redraws a matching background scene while DOM elements outside the canvas display health, inventory, and clickable choice buttons.

Key Skills:
  • Finite state game logic with a plain object (gameState)
  • Switch statement driving procedural drawing per scene
  • DOM manipulation with select() and createButton()
  • Procedural art with random(), triangle(), bezierVertex()
  • Event-driven UI with mousePressed() callbacks

by Anonymous ยท 510 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
873 AI Dungeon Master - Procedural Adventure - xelsed.ai - p5.js creative coding sketch

AI Dungeon Master - Procedural Adventure - xelsed.ai

This sketch turns OpenAI's chat model into a living Dungeon Master: every choice you click is sent to GPT-3.5, which replies with narrative text plus structured JSON describing your health, inventory, and the current scene. p5.js reads that JSON every frame and procedurally paints the matching setting - forest, cave, castle, village, or river - complete with time-of-day gradients, weather effects, and scattered story elements like monsters or treasure chests.

Key Skills:
  • Fetch API and async/await
  • Prompting an LLM for structured JSON
  • Procedural drawing driven by data
  • Gradient backgrounds with lerpColor
  • Switch statements for scene variants

by Anonymous ยท 456 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
874 AI Mind Reader - xelsed.ai - p5.js creative coding sketch

AI Mind Reader - xelsed.ai

This sketch creates an interactive 'AI Mind Reader' where a glowing neon brain pulses with animated neural connections while the user types cryptic hints into a text box. Each hint is sent to the OpenAI API, and the AI's guess floats away from the brain as a fading neon text bubble, accompanied by spoken audio feedback via the Web Speech API.

Key Skills:
  • Bezier curves
  • Additive blending (blendMode(ADD))
  • ES6 classes and objects
  • p5.js DOM elements (createInput/createButton)
  • Async/await fetch API calls

by Anonymous ยท 433 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
875 AI Ecosystem Oracle - xelsed.ai - p5.js creative coding sketch

AI Ecosystem Oracle - xelsed.ai

This sketch simulates a living ecosystem of colorful blob creatures that wander, eat food, grow, split into offspring, and die of old age. A text box lets you type commands like 'feast' or 'plague' to an AI oracle, which calls OpenAI's API to interpret your intent and unleash an effect on the whole population, complete with a spoken prophecy.

Key Skills:
  • Object-oriented design with ES6 classes
  • Async/await and the fetch API
  • Structured JSON responses from an AI model
  • Array iteration, push() and splice() for population management
  • Frame-based timers using frameCount

by Anonymous ยท 441 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
876 AI Creature Evolution - xelsed.ai - p5.js creative coding sketch

AI Creature Evolution - xelsed.ai

This sketch simulates a mini ecosystem where circular creatures wander the canvas hunting for green food pellets, growing when they eat, splitting into mutated offspring when large enough, and dying when they starve. Over time genetic traits like vision radius and turning speed drift through mutation, creating an evolving population, while the Web Speech API narrates milestones out loud.

Key Skills:
  • Object-oriented classes
  • Genetic mutation / evolution simulation
  • Trigonometric movement (cos/sin/atan2)
  • Array management (splice, push, spread)
  • Web Speech API integration

by Anonymous ยท 470 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
877 Voice Aurora - AI Sound Visualizer - xelsed.ai - p5.js creative coding sketch

Voice Aurora - AI Sound Visualizer - xelsed.ai

This sketch turns your microphone into a wand for painting the night sky: it listens to speech, sends the transcript to OpenAI to generate a set of colors and a mood description, then renders flowing, glowing aurora ribbons using layered Perlin-noise curves while a voice reads the AI's description back to you. Floating particles drift upward in the foreground and the aurora subtly reacts to live microphone volume.

Key Skills:
  • 2D Perlin noise for organic motion
  • curveVertex() for smooth flowing shapes
  • Layered transparency for a glow effect
  • Color interpolation with lerpColor()
  • p5.Amplitude for microphone-reactive visuals

by Anonymous ยท 654 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
878 Voice Canvas - AI Art Director - XeLseD - p5.js creative coding sketch

Voice Canvas - AI Art Director - XeLseD

This sketch turns spoken words into abstract generative art: you click a microphone button, describe a scene like 'ocean waves' or 'fire dance', and the sketch sends your words to OpenAI to choose a visual style, color, speed, and density, then animates that description on screen and speaks a description back to you.

Key Skills:
  • Web Speech API (speech recognition)
  • Async/await and fetch() for API calls
  • JSON parsing and validation
  • Text-to-speech with p5.sound
  • switch-case for state-driven rendering

by Anonymous ยท 682 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
879 AI Emotion Particles - xelsed.ai - p5.js creative coding sketch

AI Emotion Particles - xelsed.ai

This sketch fills the screen with 200 Perlin-noise-driven particles whose color, speed, size, and gravity are controlled by an emotion word - happy, sad, angry, calm, or excited. As you type into a text box, the sketch sends your words to the OpenAI API, which returns a single emotion, and every particle on screen instantly adopts that emotion's visual personality.

Key Skills:
  • Perlin noise-driven motion
  • Async/await and fetch() API calls
  • Object-oriented particle systems
  • p5.Element DOM inputs (createInput, createDiv)
  • Color, alpha, and fading trails

by Anonymous ยท 686 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
880 AI Dream Painter - xelsed.ai - p5.js creative coding sketch

AI Dream Painter - xelsed.ai

This sketch turns a typed dream description into a living abstract painting: text is sent to OpenAI, which returns a mood, three colors, a speed, and a shape type, and fifty floating shapes then drift across a fading canvas using those AI-chosen properties. The result is a generative visual mood-board that morphs every time you submit new text.

Key Skills:
  • Async/await & fetch API calls
  • DOM manipulation with select()
  • Perlin noise for organic motion
  • Object-oriented programming with ES6 classes
  • JSON parsing & validation

by Anonymous ยท 618 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
881 AI Mood Color Morphing - xelsed.ai - p5.js creative coding sketch

AI Mood Color Morphing - xelsed.ai

This sketch pairs a live text input with a hypnotic field of twenty overlapping, noise-distorted blobs that continuously reshape themselves using Perlin noise and rotation. When you type a mood or phrase and press Enter, the sketch sends your text to OpenAI's GPT-4o-mini model, receives back a 5-color hex palette that matches the emotional tone of your words, and recolors every blob to match.

Key Skills:
  • Perlin noise for organic motion
  • async/await and fetch() API calls
  • DOM element creation with createInput
  • Custom shapes with beginShape/curveVertex
  • map() for range conversion

by Anonymous ยท 638 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
882 Falling Snow with Accumulation - xelsed.ai - p5.js creative coding sketch

Falling Snow with Accumulation - xelsed.ai

This sketch creates a peaceful winter night scene where 200 snowflakes drift and sway downward from a dark blue sky. Each flake lands wherever it touches the ground (or a pile of earlier snow) and adds to a growing snowdrift, so the accumulation visibly builds up over time across the bottom of the screen.

Key Skills:
  • Object-oriented programming with ES6 classes
  • Per-pixel arrays as a procedural height map
  • Sine wave motion for organic animation
  • beginShape / vertex / endShape custom polygon drawing
  • Simple particle system with reset-and-reuse objects

by Anonymous ยท 589 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
883 Neon Pulse Rings - xelsed.ai - p5.js creative coding sketch

Neon Pulse Rings - xelsed.ai

This sketch creates a mesmerizing tunnel effect using concentric neon-colored rings that continuously expand outward from the center of the screen and fade away. Each ring is a class instance that tracks its own size and transparency, and additive blending makes overlapping rings glow brighter, simulating a neon light effect.

Key Skills:
  • ES6 classes
  • Array management with splice
  • Additive blend mode
  • Alpha fading with map()
  • frameCount-based timing

by Anonymous ยท 420 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
884 CatEastHat - p5.js creative coding sketch

CatEastHat

This sketch creates a playful interactive scene where a cartoon cat, controlled by your mouse or finger, chases and 'eats' a randomly placed hat. Once the cat's head gets close enough to the hat, the hat disappears and a fun message appears, letting you click to reset and play again.

Key Skills:
  • Custom drawing functions
  • Collision detection with dist()
  • Boolean state flags
  • Mouse/touch interaction
  • Responsive canvas resizing

by Anonymous ยท 397 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
885 Jellyfish Aquarium Attempt - xelsed.ai - p5.js creative coding sketch

Jellyfish Aquarium Attempt - xelsed.ai

This sketch renders a tranquil deep-sea aquarium where glowing jellyfish drift upward and sway through Perlin-noise currents above a hand-painted gradient ocean floor. Soft particles drift like plankton in the background while the jellyfish glow using additive blending, giving them a true bioluminescent look.

Key Skills:
  • HSB color mode
  • Additive blending with blendMode(ADD)
  • Perlin noise for organic motion
  • Offscreen graphics buffers (createGraphics)
  • Object-oriented classes in JavaScript

by Anonymous ยท 427 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
886 Iridescent Soap Bubbles - xelsed.ai - p5.js creative coding sketch

Iridescent Soap Bubbles - xelsed.ai

This sketch creates a continuous stream of translucent soap bubbles that spawn near the bottom of the screen, drift upward with a gentle side-to-side wobble, and pop after a random lifespan. Each bubble is rendered with an animated iridescent radial gradient plus a highlight arc, all sitting on top of a soft blue vertical gradient background.

Key Skills:
  • Object-oriented particle systems
  • Canvas2D radial and linear gradients
  • Time-based animation with millis() and deltaTime
  • Fade in/out easing with constrain()
  • Array management (push/splice) for spawning and removing objects

by Anonymous ยท 431 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
887 Swaying Fractal Tree - xelsed.ai - p5.js creative coding sketch

Swaying Fractal Tree - xelsed.ai

This sketch grows an animated fractal tree from a bare seed into a full, leafy canopy over about five seconds, using recursive branching where each branch spawns two smaller child branches. Once grown, the whole tree sways gently as if blown by a breebreeze, all rendered against a soft blue-to-white sky gradient.

Key Skills:
  • Recursion
  • push()/pop() transformation stack
  • translate() and rotate()
  • Color interpolation with lerpColor()
  • Sine-wave-driven animation

by Anonymous ยท 671 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
888 Neon Audio Visualizer - xelsed.ai - p5.js creative coding sketch

Neon Audio Visualizer - xelsed.ai

This sketch fakes a music visualizer using 32 vertical bars that rise and fall as if reacting to a beat, even though no real audio is involved. A purple-to-cyan color gradient sweeps across the bars, and a semi-transparent mirrored reflection fades out beneath them for a glossy, neon club aesthetic.

Key Skills:
  • Perlin noise-based animation
  • Color interpolation with lerpColor
  • Trigonometric oscillation with sin()
  • Mapping values with map() and constrain()
  • Raw canvas gradients via drawingContext

by Anonymous ยท 452 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
889 Rainbow Spirograph - xelsed.ai - p5.js creative coding sketch

Rainbow Spirograph - xelsed.ai

This sketch draws an animated spirograph using the hypotrochoid equation - the classic 'circle rolling inside a circle' curve. A glowing rainbow line is traced point by point onto a persistent off-screen layer, so the pattern slowly builds into an intricate, colorful geometric artwork over time.

Key Skills:
  • Parametric equations (hypotrochoid)
  • HSB color mode and alpha transparency
  • Offscreen graphics buffers (createGraphics)
  • Layered rendering (persistent vs ephemeral drawing)
  • Animation loop and incremental angle stepping

by Anonymous ยท 452 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
890 Flocking Birds - Boids Algorithm - xelsed.ai - p5.js creative coding sketch

Flocking Birds - Boids Algorithm - xelsed.ai

This sketch simulates a flock of 100 birds using Craig Reynolds' classic boids algorithm, where each bird follows three simple local rules - separation, alignment, and cohesion - that combine into complex, lifelike swarming motion. A soft blue sky gradient with a subtle trail effect makes the flock look like it's gliding through open air.

Key Skills:
  • Object-Oriented Programming with ES6 classes
  • p5.Vector math (add, sub, div, setMag, limit, heading)
  • Flocking / boids algorithm (separation, alignment, cohesion)
  • Offscreen graphics buffers with createGraphics
  • Alpha transparency for motion trails

by Anonymous ยท 470 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
891 Pendulum Wave Symphony - xelsed.ai - p5.js creative coding sketch

Pendulum Wave Symphony - xelsed.ai

This sketch recreates the classic physics 'pendulum wave' demonstration using 16 glowing colored balls that swing at slightly different speeds. Because each pendulum has a period tuned to complete one more swing than its neighbor over a 20-second cycle, the balls start perfectly aligned, drift into hypnotic wave and spiral patterns, then slowly re-align again.

Key Skills:
  • Sinusoidal motion with cos()/sin()
  • Polar to Cartesian coordinate conversion
  • ES6 classes and object-oriented animation
  • HSB color mode for easy rainbow gradients
  • Deriving multiple values from a single loop index with map()

by Anonymous ยท 590 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
892 Matrix Digital Rain - xelsed.ai - p5.js creative coding sketch

Matrix Digital Rain - xelsed.ai

This sketch recreates the iconic Matrix 'digital rain' - columns of glowing green symbols that continuously scream down a black canvas, each column moving at its own speed with a bright leading character and a fading trail behind it. Semi-transparent backgrounds and Canvas 2D glow effects give the characters a soft neon shimmer, while random character-switching makes the whole screen flicker like scrolling code.

Key Skills:
  • Object-oriented classes in JavaScript
  • Animation loop (draw)
  • Alpha transparency for motion trails
  • Canvas 2D drawingContext access
  • Responsive canvas with windowResized

by Anonymous ยท 498 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
893 Hypnotic Lava Lamp - xelsed.ai - p5.js creative coding sketch

Hypnotic Lava Lamp - xelsed.ai

This sketch simulates a classic lava lamp: soft, glowing orange-yellow blobs made of noisy, wobbling blob shapes drift slowly upward and downward inside a dark purple glass tube. The blobs use Perlin noise to squash, stretch, and wobble organically, and glow via canvas shadow blur combined with additive blending to make overlapping blobs brighten each other.

Key Skills:
  • HSB color mode
  • Perlin noise for organic motion
  • Canvas glow via shadowBlur
  • Additive blend mode
  • Object-oriented design with classes

by Anonymous ยท 428 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
894 Click to Launch Fireworks - xelsed.ai - p5.js creative coding sketch

Click to Launch Fireworks - xelsed.ai

This sketch creates an interactive nighttime fireworks display: clicking anywhere on the canvas launches a glowing rocket that rises, explodes into 50-100 colorful particles, and fades away under gravity. It uses HSB color mode for vibrant hues, p5.Vector math for realistic motion, and a fading background trick to leave glowing trails.

Key Skills:
  • p5.Vector physics
  • HSB color mode
  • ES6 classes
  • Object-oriented particle systems
  • Alpha transparency for trails

by Anonymous ยท 694 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
895 Snake Game Attempt - xelsed.ai - p5.js creative coding sketch

Snake Game Attempt - xelsed.ai

This sketch creates a neon-glowing snake game controlled entirely by mouse movement instead of arrow keys. The snake's head smoothly chases the cursor while body segments trail behind with a springy lag effect, and everything is rendered with a glowing green neon aesthetic using canvas shadow effects.

Key Skills:
  • p5.Vector and lerp() interpolation
  • Array of vectors as a data structure
  • Trigonometric heading/rotation for connecting shapes
  • Canvas 2D context shadow effects for glow
  • push()/pop() isolated drawing state

by Anonymous ยท 634 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
896 Spinning Rainbow Color Wheel - xelsed.ai - p5.js creative coding sketch

Spinning Rainbow Color Wheel - xelsed.ai

This sketch draws a six-wedge rainbow pie chart that rotates continuously in the center of a black canvas. Each wedge is drawn with p5.js's arc() function in PIE mode, and a slowly incrementing rotation angle applied every frame creates the spinning hypnotic effect.

Key Skills:
  • Animation loop with draw()
  • translate() and rotate() transforms
  • arc() in PIE mode
  • For loops for repeated drawing
  • Arrays of p5.Color objects

by Anonymous ยท 426 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
897 Starfield Attempt - xelsed.ai - p5.js creative coding sketch

Starfield Attempt - xelsed.ai

This sketch simulates a classic 'warp speed' starfield, where hundreds of stars rush outward from the center of the screen toward the viewer. Each star accelerates as it approaches, and a semi-transparent background creates streaking light trails behind every star, mimicking the visual of a spaceship jumping to lightspeed.

Key Skills:
  • Object-oriented particle systems (classes)
  • Pseudo-3D perspective projection on a 2D canvas
  • p5.Vector for direction
  • Alpha transparency for motion trails
  • The animation loop (draw())

by Anonymous ยท 415 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
898 Neon Radar Pulse Rings - xelsed.ai - p5.js creative coding sketch

Neon Radar Pulse Rings - xelsed.ai

This sketch generates an endless sequence of glowing rings that expand outward from the center of the screen like radar pulses or ripples in water. Each ring is drawn in a random neon color (pink, cyan, or purple) and gradually grows, thins, and fades to nothing using HSB color mode and linear interpolation.

Key Skills:
  • HSB color mode
  • ES6 classes
  • Arrays of objects
  • Linear interpolation (lerp)
  • Time-based animation with millis()

by Anonymous ยท 456 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
899 - xelsed.ai - p5.js creative coding sketch

- xelsed.ai

This sketch animates a glowing gradient ball that bounces around the full browser window, leaving behind a slowly fading trail. It combines classic velocity-based motion with the raw HTML5 Canvas API to create a radial gradient that makes the ball look like a glossy 3D sphere.

Key Skills:
  • Animation loop (setup/draw)
  • Velocity-based motion
  • Collision detection and clamping
  • Alpha transparency for motion trails
  • Canvas 2D drawingContext and radial gradients

by Anonymous ยท 433 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View
900 Glowing Bouncing Ball with Fading Trail - xelsed.ai - p5.js creative coding sketch

Glowing Bouncing Ball with Fading Trail - xelsed.ai

This sketch fills the screen with soft pastel bubbles that rise from the bottom, wobble side to side using Perlin noise, and shimmer with an animated highlight. When a bubble drifts off the top of the screen it 'pops', releasing a small burst of fading particles, while a smooth vertical gradient fills the background behind everything.

Key Skills:
  • ES6 classes
  • Perlin noise animation
  • Particle systems
  • Array splice for object removal
  • Color interpolation with lerpColor

by Anonymous ยท 413 views

๐Ÿ“– Read Docs ๐Ÿ‘๏ธ View