A holiday snow demo

December 29th, 2014 8:13 AM
by
Filed under Software showcase;
Comments Off on A holiday snow demo

Last year, inspired by Blake Patterson’s annual Christmas playlist, I uploaded to YouTube a recording of the FTA’s XMAS 1990 demo. While I’m glad to have contributed to the archive of holiday demos, it was nothing original I produced — not like what Dagen Brock has done.

Host of the GS Programmer’s Home, Dagen recently released his own snow demo, writing:

It snowed this week and that reminded me of a simple snow routine I did for the Apple IIgs around this time last year. I had grand plans to add in music and sprites for a demo, but I’ve decided to just release the routine as-is.

The code for the snow animation is not the best, but it works. The image uses the lz4 source from Brutal Deluxe and I was also hoping to give a lesson on using that some day, but you can look at the disk image for now. I probably won’t post the source anywhere else. Only because it’s not of good quality and I will eventually post quality code examples for LZ4, NoiseTracker, Mr. Sprite, etc.

In a Facebook thread, Open Apple co-host Quinn Dunki suggested:

Love it, Dagen . I have the sudden urge to make two updates:

  1. Lower the disappearance coordinate for the snow. The dip on the ground isn’t quite getting hit.
  2. Make the snow accumulate like it did in the FTA Xmas demo (one of my favorite parts of that demo- left it running for hours once :)

Dagen replied:

Sorry Quinn, I was hoping no one would notice. Flakes actually go to the bottom, I just hacked the VBlank in a weird way because I was too busy to optimize my code to run fully at 60FPS. You’re seeing the undraw hit too early. I originally had planned this to be a big demo to show off loading lz4 images, Mr. Sprite, and Tool 219/220, but I have shelved that idea for now and just threw something out there for the sake of getting something out.

I applaud Dagen for not letting perfect be the enemy of done. That same "release it!" attitude is what led Martin Haye to finally publish Structris, which has since gone on to critical acclaim. As a friend of mine says: "Don’t make art — just make something!"

(Hat tip to Dagen Brock)