2005 called. They want their cheesy school supply designs back.

Porting GLSL shader code from shader toy to ANSI C. Just to see what would happen.

Attached is a frame based on this shader toy example:


My terribly unclever C code took 23 seconds to render this 720p image with multithreading enabled.

pew pew pew 

scale [phasor 8 0] 0 12
add zz 72
mtof zz
phasor zz 0
bitosc zz 3 6
mul zz 0.3
wavout zz "pewpewpew.wav"
computes 2

1 minute of ambient static noise 

chaosnoise 1.9 4000 0.141
valp1 zz 300
mul zz 0.5
wavout zz "static.wav"
computes 60

Composing SDFs together is very satisfying. Looking forward to controlling these things with sound/signal.

Show thread

Couldn't resist trying to play with color. I managed to work in a hack that for all intents and purposes seems to do anti-aliasing without oversampling.

Show thread

Thanks to , I'm learning how to do 2d SDFs... in 1-bit color. It's only been about an hour or so, but the results are very very promising so far!

Once again, Inigo Quilez is a fantastic resource[0]. All I'm doing is plugging in numbers. Though, instead of shader code, I'm using straight up C code with my 1-bit drawing library [1]. It's been interesting converting all the implicit vector operations to vanilla C functions. It's one of the few situations where I miss operator overloading.

0: iquilezles.org/www/articles/di

1: pbat.ch/wiki/btprnt/

Here is a modification of the patch using generative vocal utterances instead of real human speech.

I call it: "belchy robot".

Show thread

Had this amazing realization that 1-bit (okay, 2-bit) audio would make for a great carrier signal for a vocoder/talkbox.

1-bit audio, loud 

spent this afternoon playing around with 1bitr:


I used some and shell scripts (paste ftw) to assist with sequencing. The amalgamated output can be found here:


My naive attempt at constructing a bezier circle ended up producing a very friendly-looking shape.


Bottled my traditional mead today! If I had known this was only pitched in January, I wouldn't have bottled but oh well. Cleared up pretty nicely.

First draft of my diagram for Seq16, a 16-step sequencer in , controlled via the monome grid.

It took some tweaking, but I managed to get the font2c program I found online yesterday to generate a font tileset in a C-friendly XBM format.


Show more

Welcome to post.lurk.org, an instance for discussions around cultural freedom, experimental, new media art, net and computational culture, and things like that.