Artificial Intelligence1 min read

I post trained a model on Demoscenes

By · Published by Everything Blog

In short

The project was conceived to predict visually compelling code continuations for 140-character JavaScript demos known as dweets. After synthetic data generated by Claude Sonnet 5.5 was dismissed for lacking aesthetic quality, the developer collected real-world examples via the Dwitter.net API. Continued pretraining on Qwen2.5-Code-7B was funded using GitHub Sponsors payouts to rent the necessary GPU resources. This adaptation allows the model to handle peculiar code-golfing techniques that standard software datasets typically omit.

Key points

  • Standard coding models struggle with sizecoding because the medium relies heavily on math…: Standard coding models struggle with sizecoding because the medium relies heavily on mathematical shorthand.
  • Qwen2.5-Code-7B served as the foundational model to learn the unique syntax of compact de…: Qwen2.5-Code-7B served as the foundational model to learn the unique syntax of compact demos.
  • The system serves as an autocomplete tool to help developers explore alternative visual p…: The system serves as an autocomplete tool to help developers explore alternative visual paths in creative coding.

Sources checked by our analysis pipeline: 1

Post training a model to explore Demoscenes

On the grammar of demoscenes and the possibilities of unfinished code

Lately, I have been fascinated by the world of demoscening and sizecoding and eventually I came across HellMood’s remarkable MS DOS demo “Memories”. Whilst reading through his writeup, I became interested in how the author had arrived at some of its visual effects. I was struggling to create any of my own, so I hoped to squeeze out a little bit of inspiration out of that.

I noticed that these effects could be traced back to earlier experiments consisting of alternative implementations and several ideas borrowed from previous demos. I began wondering how many other directions the same underlying ideas might have taken. I decided to start with a few existing demos, the simplest ones of all, and modify them character by character to observe how those changes can affect the visual feel.

I came across Dwitter.net, which is like Twitter but for 140 character JavaScript demos. They already supported “remix”-ing any dweet so that we can build on top of them.…

Artificial Intelligence