← Back to home
Learning platform · Private

Astra

Interactive lessons where you learn by moving the scene, with a one-eyed guide star that reacts to every move.

  • React
  • TypeScript
  • Postgres

Astra is a set of tools for building interactive lessons. Dragging a piece is answering, and the state of the drawing is what gets graded. Astra, a one-eyed star, sits in a corner of the lesson: she talks, reacts to each move and celebrates with the learner.

The interactive engine is pure: state, undo, events and replay run the same in the browser and on the API. Each mechanic (a balance, an equation balance, a probe route the learner programs, number lines, plots, matching) lives in its own package, and a studio lets lessons be assembled from blocks with a real preview.

Two courses are complete so far: Balance, on the idea of an equation, and Probe route, on programming with commands, loops and conditions. Together they have 16 lessons and 80 exercises.

What it has

  • Pure interactive engine with undo and replay, shared by browser and API
  • Eleven mechanics as packages, among them balance, equations, probe routes, number line and plots
  • Studio to assemble lessons from blocks, with seven checks that block publishing
  • Every event has motion and sound, with a calm version
  • A spoken character, voiced by a local text-to-speech model
  • The whole interface in a Storybook, by atomic design

Screens

Home: the weekly streak, the current course with its next lessons, and a box to ask for help.
Home: the weekly streak, the current course with its next lessons, and a box to ask for help.
Topics: mathematics and programming, each with a row of courses.
Topics: mathematics and programming, each with a row of courses.
A course trail: levels and lessons, with Astra marking where the learner is.
A course trail: levels and lessons, with Astra marking where the learner is.
A balance lesson: drag the blocks onto the pans until the scale is level.
A balance lesson: drag the blocks onto the pans until the scale is level.
Probe route: the learner programs the probe with commands; after checking, every star is lit.
Probe route: the learner programs the probe with commands; after checking, every star is lit.
Astra in motion: the character page with her movements, celebrations, poses and expressions.
Astra in motion: the character page with her movements, celebrations, poses and expressions.
The studio editing a lesson: content tree, editable screens and a live preview.
The studio editing a lesson: content tree, editable screens and a live preview.
The studio course outline: lessons grouped by level, each with its status.
The studio course outline: lessons grouped by level, each with its status.

The code is private, so this page gives an overview instead of a repository link.