Live data from Hacker News

Source code for 4kb demoscene production “Elevated” released (2016)

files.scene.org

41–50 of 78 posts

Re: Source code for 4kb demoscene production “Elevated” released (2016)

#42

Earlier quoted context omitted.

I can do you a 276 byte version using `dc`? 2k64sw32sh7sz[.]0:p[,]1:p[:]2:p[o]3:p[ ]4:p[O]5:p[@]6:p[ ]lz:p5lw/si4 lh/sj0 2-dsxsu0 2-dsysv[0 2-dsxsu[luSalvSblzdsnSq[lqSn0Sq]Sm[ladd SoSs LoLslb2* SoSsLoLslbd -lu+Salv+Sbclad lbd +4 lbd* +4 0sr[1sr]st>tLrln;pPlilu+ Sulu2>h]sh lhx[]pljlv+Svlv2>f]sflfx

This thread is quite interesting, if the universe is that simple does that imply a complex runtime? Because DC itself should probably be taken as part of the universe here as well as the OS and the hardware it all runs on. So then the question becomes what is the absolute minimal hardware and software configuration that you could use to generate a mandelbrot?

> if the universe is that simple does that imply a complex runtime?

There is a tradeoff to be made between (algorithmic) information specified as a program/software versus an interpreter/hardware http://www.hutter1.net/publ/ctoex.pdf

However, all we really need is a Turing-complete runtime, which can be very simple, e.g. https://en.wikipedia.org/wiki/Rule_110 https://beza1e1.tuxen.de/articles/accidentally_turing_comple...

One easy way to make our universe is to run all possible programs (even if you don't think our universe is computable, we would still end up running simulations which are indistinguishable to arbitrary precision). We can even apply an anthropic argument to this: that the vast majority of programs are not universes conducive to containing life, but we must necessarily find ourselves in one which is.

https://www.kurzweilai.net/in-the-beginning-was-the-code

Re: Source code for 4kb demoscene production “Elevated” released (2016)

#43
post #18

Earlier quoted context omitted.

How would one even learn how to do something like this? I feel like I have a high level understanding of most parts of the stack, but graphics programming has eluded me thus far. Would writing a ray tracer be a good starter project? I know I've seen it recommended by several people before.

Thankfully for the graphics the very person who did the graphics in this Elevated demo is very generous with their time. Inigo Quilez has many instructional videos on his channel in how to code procedural graphics from the very beginner to the advanced. I link a couple of examples. You can watch the more advanced video even as a beginner but trying yourself is easier at the beginner level. Beginner. https://youtu.be/…

Indeed his videos are amazing. My recommendation though would be to start with the "beginner" video -- which is completely 2D but at least gets some ideas across. Then watch https://www.youtube.com/watch?v=PGtv-dBi2wE which isn't his but introduces how you get 3D out of fragment shaders. Finally just drink from the firehose -- https://www.youtube.com/watch?v=Cfe5UQ-1L9Q is fantastic, yes it's five hours but worth it. (Definitely come into that familiar with the idea of raymarching though... the first few minutes start off super basic but it goes to eleven real quick.)

Re: Source code for 4kb demoscene production “Elevated” released (2016)

#46
post #15
post #10

Earlier quoted context omitted.

Demos of this caliber are like F1 cars from 60 years ago: a single genius, or small team, creating something totally beyond the reasonable expectations of everyone who is familiar with the technology in question. I really hope it continues to be possible for this art form to exist.

The most impressive one for me will always be fr-08, the .product, released in 2000: https://www.youtube.com/watch?v=1dcrV_7JpXQ Pouet link if you want the binary: https://www.pouet.net/prod.php?which=1221 It blew my mind when I first came across it in 2003, and it's still highly impressive even now.

My most favourite demo of 2000 was "Heaven 7" by Exceed [0]. That someone could do smooth raytracing (of course with many tricks, but still...) was mindblowing for me.

[0] https://www.pouet.net/prod.php?which=5

Re: Source code for 4kb demoscene production “Elevated” released (2016)

#47
post #45

Video: https://www.youtube.com/watch?v=jB0vBmiTr6o

I'm curious, was the music included in that 4kb demo?

From what I understood it should be. If you look at the source code there is music.asm with what seems to be tables of data describing the music data and synth.asm with synthesizer interpreting it.

Re: Source code for 4kb demoscene production “Elevated” released (2016)

#48

Video: https://www.youtube.com/watch?v=jB0vBmiTr6o

4k intro available only in 1080p

4k as in a limit of 4096 bytes of data for the whole demo. It’s a standard demoscene category: https://www.pouet.net/prodlist.php?type%5B%5D=4k&page=1
Post reply on HN