Apps

Interactive programs written in eLucid8, running in your browser with nothing to install. Each one tests a kind of interactive work (a game's tick loop, drawing, controls, editing text) and shows that it can be written as pure equations: every key, click and tick reaches the program as data, every state is a value of the program at a turn, and the program computes what each screen shows.

These apps are written in eLucid8 and run here in your browser. They show the kinds of window (desktop) application you can write. To write your own, or change one, download the elucid8 command (Download) and run it with elucid8 window on your computer.

On this phone 5

Best on a computer 7

They run here too; they use the keyboard or need a wider screen.

Games 3

  • Moon lander

    145 equations

    Gravity, thrust and fuel as equations over ticks. Land gently and upright on the pad.

    Best on a computer: uses the keyboard

  • Flak

    164 equations

    Fire up to four shells at a wandering plane: each tick's sky follows from the tick before.

    Best on a computer: needs a wider screen

  • Paddle

    91 equations

    Keep the ball in the court: the ball, its bounces and the score are values at each tick.

    Best on a computer: uses the keyboard

Simulations and numbers 3

  • Game of Life

    35 equations

    Conway's cellular automaton on a 48 × 48 board: click cells, then play the generations.

  • Rocket

    26 equations

    A rocket that follows the pointer: its place at each tick follows from the one before.

  • The first 10,000 primes

    14 equations

    A sieve of Eratosthenes over an array of odd numbers, 20 more primes at each tick.

Drawing 3

  • Drawing with tools

    44 equations

    Pen, rectangles, circles and an eraser in six colours, with undo stroke by stroke.

  • Drawing, magnified

    47 equations

    One drawing in two views: the whole canvas, and a magnified part that follows the pointer.

    Best on a computer: needs a wider screen

  • Paint

    7 equations

    Paint the cells you drag over: the smallest app here.

Controls and text 3

  • Every control

    31 equations

    Every part a window can show, in one app: buttons, sliders, choices, text and a pad.

    Best on a computer: needs a wider screen

  • Drawing with controls

    78 equations

    The drawing tools as controls beside the canvas: a tool choice, a size slider and a grid.

    Best on a computer: needs a wider screen

  • Editor

    55 equations

    Type, search and undo: the document after each key is a value of the program.

    Best on a computer: uses the keyboard

Each app is one eLucid8 program with its window described in its deploy.json.