Skip to work
← all work

A Mars rover in your browser, on real NASA data

Perseverancia · Course project and code · 2026 · BUILT IT MYSELF, OPEN SOURCE, SIMULATION

A 3D simulation of NASA's Perseverance rover that runs in the browser. It's the project behind my Platzi course Claude Code para Programadores: the course starts from an empty folder and ends with a rover driving on real NASA data. I built it with Claude Code and open-sourced it so students can fork it and keep going.

  • The rover moves like the real one: six wheels, four steering corner wheels and a rocker-bogie suspension that climbs rocks up to 52.5 cm and slips on steep sand.
  • Mission control shows distance, elevation and tilt from NASA's Perseverance drive log, plus the Earth-Mars light time, computed live from JPL orbital elements. The telemetry follows the pattern of Open MCT, NASA's mission control framework.
  • Mastcam-Z, NavCam, Hazcam and WATSON each open a real raw image from the Mars 2020 raw images API.
  • The mission: five real rocks from Jezero crater and only four sample tubes, looking for signs of ancient life.
  • npm run check opens the game in headless Chrome and tests the physics, the data and the cameras.

Data and raw images: NASA/JPL-Caltech. Not affiliated with NASA.