Idea · Sep 30, 2026

Orbit Crowd Lab

Students render hundreds of thousands of real asteroids orbiting the Sun in the browser, starting from a naive per-object loop and working up through typed arrays, instancing, and a GPU shader, measuring frame time at each step.

What it would do

A recent Show HN rendered 526k asteroids and every tracked satellite in real time, which is a perfect performance-engineering assignment hiding inside a pretty demo. Students download a slice of the public Minor Planet Center orbital elements (MPCORB) and implement Kepler's equation to propagate each body's position from its orbital elements. Stage 1 is a naive version (one object and one draw call per asteroid) that collapses at a few thousand bodies; Stage 2 moves elements into Float32Arrays and uses a single instanced draw; Stage 3 moves the Kepler solve itself into a vertex shader (or WebGPU compute shader) so the CPU only sends time. At each stage students record frame time versus body count in a built-in profiler panel and write a short report explaining where the bottleneck moved. Stretch goals: time scrubbing, color by orbit family, and picking a single asteroid to show its name and orbit.

Key features

  • Real orbital data from the Minor Planet Center, parsed into typed arrays
  • Kepler's equation solver (Newton iteration) implemented on CPU, then ported to a shader
  • Three required performance stages with a built-in frame-time vs. body-count chart
  • Autograder checks positions against reference values for a set of named asteroids at fixed dates
  • Report template asking students to explain each bottleneck shift with their own measurements

More in Graphics & Simulation

Build Your Own BSP Level Renderer

A staged assignment in which students write a browser renderer for real Quake 1 shareware maps: parse the BSP file, walk the tree front to back, cull with the PVS, and texture surfaces with lightmaps, all on a software framebuffer before optionally porting to WebGL.

Graphics & SimulationClass assignmentLargeOct 11, 2026

Build Your Own Wikipedia Museum

A multi-week team project where students turn Wikidata and Wikimedia Commons into a walkable, accessible 3D museum: data pipeline, procedural floor plans, first-person navigation and an audio-guide mode for screen-reader users.

Graphics & SimulationClass assignmentLargeOct 8, 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

Emergent NPC Society

A browser-based 2D world where students configure NPC agents with minimal rules and observe emergent social structures form over time, making complex systems theory and agent design principles viscerally concrete.

Graphics & SimulationClass assignmentLargeJul 26, 2026

All 12 ideas in Graphics & Simulation →