5 ms·
Wouldn't it be easier to use JavaScript? PixQL: SELECT WHERE COLOR = #FF0000FF; OPERATE SET COLOR = #00FF00FF JS : if (rgba=='FF0000FF') rgba='00ff00
by no_gravity 11y ago
Wouldn't it be easier to use JavaScript?
PixQL: SELECT WHERE COLOR = #FF0000FF; OPERATE SET COLOR = #00FF00FF
JS : if (rgba=='FF0000FF') rgba='00ff00ff'
PixQL: OPERATE SET G = R
JS : g=r
PixQL: SELECT WHERE ROW % 100 = 0 OR COL % 100 = 0; OPERATE SET COLOR = WHITE
JS : if (!(row%100) || !(col%100)) rgba="ffffffff"
- brobdingnagian 11y agoNo I'm pretty sure it would be easier (aka shorter) using 7zipped brainfuck.
- curiously 11y agoI don't see how that's any easier.
- phildo3 11y agomaybe. but as it stands, so long as you can compile it, it doesn't need any external libraries or installs or anything like that, which is something I value (I assume your post is hinting at using node, rather than some in-browser thing... if not, there are plenty of other reasons I prefer to keep it out of the browser hah).