_._________ .______ .________ .______/\_
| ____/_| ___/____| _____/__| ___ /_
| __ /| \ /_ ___ /_ _ /
| \ .:\| \__ .:/ \_ .:/ | .:\
|____\ \_________/__________/_____|_____\
-//---\_____\------------------------lm!--//--> www.rgba.org
fruxis
4 kilobyte executable graphics by iq/rgba 2020
for Revision 2020 [https://2020.revision-party.net/]
i was curious to know if fitting a human (cartoon) face as a raymarched
sdf was possible in a 4 kilobyte executable. i first though i'd have to
cut many corners, but as it turns out, it fits comfortably without much
optimization work. if the something feel funny to you, that's because i
am not a modeler and this is all i'm able to make, not because i had to
sacrifice the art for the code.
also, there is no pathtracing on this one, the lighting is mostly based
on ultrasimple direct lighting, complemented with a lot of hand painted shadows and occlusion signals. maybe i should've done it otherwise, but
then it wouldn't be as fast to render i imagine (4 seconds in my pc).
i made this one in Shadertoy.com, although i am also working on pushing
it further in terms of quality and animation. speaking of, greetings to
fizzer, blackle, paniq, and, archee, yx, noby and all the demoscener in
shadertoy from which i learn all the time.
the exe is coded with opengl 4.5, i hope it works on most machines...?
i used the following two amazing pieces of technology:
"crinkler" by mentor+blueberry :: [www.crinkler.net]
"shader minifier" by lln :: [http://www.ctrl-alt-test.fr/glsl-minifier]
iq :: [www.iquilezles.org] [https://www.youtube.com/c/InigoQuilez]