Eon: the making of an Amiga 500 demo

Eon is an astonishing Amiga demo released a few years ago. It runs on a bog-standard Amiga 500, a machine that first saw the light of day in 1985. Here’s how it was made.

Andreas shared a comparison that will make it clear to any developer on a modern machine just how much slower the Amiga 500 is compared to a modern machine.

Let’s MD5 ~800Kb data, using reference RSA MD5 code.

  1. On an old, but modern, Surface Laptop 2 that took 2ms.
  2. The Amiga 500 took 29 seconds.

This CPU is more than 10,000x slower than the CPU in your PC or Mac.

One of my WordPress plugins will do an MD5 calculation of the URL on every request, and it’s like nothing. It’s not a big job for a web server to do. An Amiga could not do that.

However, it can, in the right hands, seemingly perform miracles and create cool looking demos that even today impress! There’s something to be said for programming in a constrained environment.

TIL Firefox debugger can edit JavaScript files

I’ll spare you the long story of why I had to edit a JavaScript file, but today I learned that since Firefox 128 you can add a script override in the browser Debugger Panel. This downloads the JavaScript file in question, where you can edit it with your favourite editor.

  1. Open DevTools by hitting F12 and select the Debugger.
  2. Right-click on the JavaScript file in the source list and select “Add script override”.
  3. Save your file somewhere and edit.
  4. Reload the page to apply changes.
  5. Remove the override by right-clicking on the file again and selecting “Remove script override”.

The file I was editing was minified, so Firefox doesn’t save the nicely unminifed file you were looking at, but it’s not too hard to unminify it. It was a small change I was making, so it wasn’t too difficult to find the right place to edit.

The image shows a cat sitting comfortably on a black office chair. The cat has a tabby coat with a mix of brown, orange, and black markings, and it is looking directly at the camera with bright green eyes. The chair appears to be slightly worn, especially on the seat, which shows some signs of use. The background consists of a stone or brick wall, suggesting that the setting might be either outdoors or in an industrial or rustic indoor space. There is also a red and black striped fabric visible to the left side of the image. The overall scene gives off a cozy and relaxed vibe, with the cat being the focal point of attention.

Yes, yes, Chrome has been able to do this for a long time, apparently. Thanks for letting me know.