buffer manipulation lang
A downloadable tool
a programming language for manipulating images; the idea is that this is tied into a slack bot that runs in the Hack Club Slack. running image manipulation scripts can get expensive; in a 1080x1920 desktop background, there are over two million pixels. to discourage people from overloading the server -- so that people who really want to run funny image manipulation scripts in the slack, can -- intensive use will cost a virtual currency I'm launching soon for the hack club slack called sc. you get sc from shipping cool things. if you upload an image manipulation script written in our language to the bot, you will get paid the sc the bot makes proportionally to how much people use your script :)
corrupted_ghcap.png was created by running this script on ghcap.png:
return [1 - frag.r, 1 - frag.g, 1 - frag.b, 1]
our programming language can turn the same ghcap.png source image into the following gif using any of these scripts:
uv = coord / resolution circle = dist(uv, [0.5, 0.5]) < (1.0 - frame / max_frame) return frag if circle else [0; 4]
or even
uv = coord / resolution circle = dist(uv, [0.5, 0.5]) < (1.0 - frame / max_frame) return mix(frag, [0; 4], circle)
or even
uv = coord / resolution circle = dist(uv, [0.5, 0.5]) < (1.0 - frame / max_frame) return frag * circle
Status | In development |
Category | Tool |
Author | cedric-h |
Leave a comment
Log in with itch.io to leave a comment.