Idea · Jul 21, 2026

Physics Sketch Sandbox

A browser tool where you describe physics scenes in plain English and Claude instantly generates live, interactive p5.js simulations. Tweak any element by clicking it and typing a new description.

What it would do

Type 'a bouncing red ball that loses 10% speed each bounce, and a floor that vibrates when hit' and watch it appear in real-time. Claude translates natural language into p5.js physics code, renders it in a sandboxed iframe, and lets you click any object to retype its behavior. Each edit regenerates only the affected object so the rest of the scene stays live. An export button copies the final sketch code. Great for prototyping game mechanics, exploring physics concepts interactively, or building creative coding experiments without writing a line of p5.js manually.

Key features

  • Natural language to p5.js physics generation via Claude API
  • Click-to-edit individual objects without losing the rest of the scene
  • Live sandboxed iframe preview with hot-reload on each generation
  • Export generated sketch as standalone p5.js HTML file

More in Graphics & Simulation

Physics Puzzle Engine Lab

Students build a 2D physics engine from scratch using the Canvas API, then use it to author five puzzle levels that each demonstrate a specific physics behavior.

Graphics & SimulationClass assignmentLargeAug 25, 2026

Generative Art Gallery

Students build a full-stack web gallery where users submit text prompts, an LLM generates live HTML5 Canvas or SVG artwork from those prompts, and the community can vote, remix, and tag each creation.

Graphics & SimulationClass assignmentLargeJul 29, 2026

Live Multiplayer Pixel Canvas

A browser-based collaborative pixel art canvas where every click broadcasts to all connected users in real time via Supabase Realtime, with a Claude API sidebar that suggests color palettes based on the current composition.

Graphics & SimulationSide projectSmallJul 2, 2026

Isometric CS Campus

A pixel-art isometric campus toy where every building hides an animated CS concept — click the library for data structures, the coffee shop for sorting algorithms, the lab for neural nets.

Graphics & SimulationSide projectSmallJun 24, 2026

All 12 ideas in Graphics & Simulation →