Computers are full of things you’ve learned to live with: settings screens, folders, restart prompts, someone else’s language. They exist because you can’t touch the thing itself. In Amaze you can, so they go away. Everything on the right is a working mock of Amaze. Try it.
A settings screen is the maker deciding which few things you’re allowed to touch. In Amaze there’s nothing to switch on somewhere else. The clock is right there in the menu bar, and its code is one click away. Change a line and the clock changes.
clock = clone(Text) (
container <- menu;
visible <- ;
text <- time();
)
visible to 0 and it’s gone. Change the format and it changes.Files are how programs that can’t share pass things to each other, and why you spend your life naming, saving and hunting for them. Amaze keeps everything as itself, in one world: a note is a note, a map is a map. There’s nothing to name, nothing to save and nowhere to lose it. You find things by asking.
Flights land 6:40 am. Hotel check-in from 3.
| Flights | 1,240 |
| Hotel | 860 |
| Total | 2,100 |
Buy milk
Loop 4, 120 bpm
There are no apps to install, update or switch between. Everything you have lives in your world, and anything in it can go inside anything else. Your world is also easy to hand over: take a screenshot and the picture carries the whole world inside it. Open it on another computer and it keeps running, exactly where you were.
Other computers give you one desktop, laid out by the people who made it, and maybe a few copies of it. In Amaze you can have as many worlds as you want, and each one starts blank and becomes whatever you need: a studio, a classroom, a trip, a workshop. Make another one in a second. They never have to look alike.
When other computers update, everything stops: save your work, restart, wait, open it all again. In Amaze an update is just new lines of code arriving in the world you’re already in. Only the parts that changed are new; everything else carries on, including the note you were halfway through writing.
Restart to finish updating.Save your work first. Open windows will close.
Dear Sam, the trip is on. Flights land at 6:40, so
- buttons <- [World, Edit, Box, View];+ buttons <- [World, Edit, Box, View, Find];
Nobody can read the software on their own computer. It has piled up for decades until no one person understands it. Amaze stays small on purpose: everything, from switch-on to the things you use, fits in about one book. Printed at fifty lines a page, here’s the difference.
Most programs are lists of steps that change things one at a time, and forgetting one breaks something. In Amaze you say what each thing is, and the computer keeps it true. Below, the ball’s three lines are running for real: watch each value follow its line as the ball moves and settles.
for (const ball of balls) {
const moved = Math.abs(ball.fx - ball.px)
+ Math.abs(ball.fy - ball.py);
if (moved < 96) ball.still += 1;
else ball.still = 0;
if (ball.still > 8) {
ball.vx = 0;
ball.vy = 0;
}
}
still <- if moved < 96 then still + 1 else 0;vx <- if still > 8 then 0 else vx;vy <- if still > 8 then 0 else vy;still climbs past 8 and the ball stops itself.To make another computer do something new, you learn the maker’s language: their scripting, their config files, their API. In Amaze you make the language up. A few grammar rules say what a sentence looks like; each word says what it does. Teach it a new word below and use it straight away.
menubar: autohide: true # 212 other keys, see docs
on menuOpened(evt) {
if (evt.target.id === "view")
app.setPref("panel", false);
}SetMenuBarAttribute(kAutoHide, 1); // 1 of 2,400 functions
ometa Balls {
num = ws digit+,
colour = ws '#' hex hex hex hex hex hex,
word = ws letter+,
line = word (num | colour | word)*,
program = line*
}
rain in the program.