Hacker News new | past | comments | ask | show | jobs | submit login

Really well done. It's a bummer that source code are rarely released for demos.

For me one of the best of all times is Second Life [1], by Future Crew. Developed in 1993 nonetheless, it was a big breakthrough at the time, with almost 10 minutes of animation, and in early x86 hardware. Source code available [2].

[1] https://www.youtube.com/watch?v=rFv7mHTf0nA

[2] http://fabiensanglard.net/second_reality/index.php




Demo source code is not often released, but there are many exceptions. For example, if you're interested in 4kB intros, look at this: https://github.com/in4k Since 4kB intros are typically done in a shader, you can also look at https://www.shadertoy.com

For Ctrl-Alt-Test specifically, we put our source code on GitHub (but not the most recent productions)[1]. The tool to minify shaders is also on GitHub[2].

So I think you can get a pretty good idea of how we did it. If you have any question, feel free to ask. I can give more details here, or it can be part of a future blog post.

[1] https://github.com/laurentlb/Ctrl-Alt-Test [2] https://github.com/laurentlb/Shader_Minifier


Thanks for sharing! Your F – Felix’s Workshop[1] is pretty impressive, and specially for the 64KB category. Thanks for publishing the source code[2] as well.

[1] http://www.ctrl-alt-test.fr/productions/f-felixs-workshop/

[2] https://github.com/laurentlb/Ctrl-Alt-Test/tree/master/F


Given that the demoscene evolved from the cracking/warez scene, there is an implicit notion that if you want to figure out how something works, you should inspect it yourself with a disassembler.


Most of those early demos were hand assembled anyway, so the "source code" is a bit of a vague statement. You might be getting a bit more structure/comments in the original .s file but maybe not. Most of those demos required heroic program shrinking to fit in memory, and that's almost always a disaster for readability.


Note: of course I meant "Second Reality" in parent's comment, not Second Life.

Philip Rosedale's creation only came 10 years after "Second Reality" demo :)


That is the whole point of demoscene, how to beat the others by finding the tricks on your own.

You need to prove on your own that you have the necessary elite skills to enter a group.


That idea is obsolete by at least twenty years.

You typically join (or form) a group because you get along with them. I'm in five groups, some with some pretty great releases (not mine), and I'm a pretty shitty graphics coder.

In fact your phrasing "elite skills" made me chuckle a bit, it sounds like the kind of thing a 16 year old would say in 1994 :) (no offense intended)

I think most people don't release source code because a) it's just not really part of the culture, b) the code is shit and c) people want to make demos, not READMEs. I mean, in the end this is about art and expression as much as anything. Electronic musicians don't usually publish their music software source files either. There is not really any elitism behind this.

c) is also why write-ups like this one are so uncommon. (Cool stuff LLB!)


Well, I was a regular Hugi reader, Nectarine, Assembly, Flipcode, AmiNet...


Sounds pretty old-school to me :)

Note, I'm not attacking you! What you wrote used to be true. It just hasn't been anymore, for a long time.

And, an offtopic sidenote, you're one of my favourite HN commenters. I learn something new or insightful in half of your comments.


Sure, I got it, just letting you know I lost touch long time ago. :)

Thanks for the remark.


I remember downloading FastTracker II years ago to grab the .mod music files from Second Reality and burn them to CD.

The track that starts at time Index 1:54 on that linked YouTube video brings back so many memories. :)


Panic was also good. :)


Panic[1] was awesome too. It launched a bit earlier than Second Reality, but also a classic.

[1] https://www.youtube.com/watch?v=lLSmalQyZBU


hmm, i think i spotted a certain Wendigo during the credits sequence...




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: