3 ms·
The roto-zoomer example, so you can copy/paste into the javascript demo[1] (typing it in doesn't seem to work)(edit: later version which doesn't keep zooming ou
by Groxx 15y ago
The roto-zoomer example, so you can copy/paste into the javascript demo[1] (typing it in doesn't seem to work)(edit: later version which doesn't keep zooming out):
v8rdsx.6+s4X3)Lx~2Xv*vv*+i!L1@2@^
I'll happily admit I have no f^@!in clue why it does what it does. Nifty, though.
[1]: http://ibniz.asiekierka.pl/ibniz.html http://ibniz.asiekierka.pl/ibniz.html
- rcfox 15y agoCopy-pasting what you have works, but I found that whenever I type 'v' in the Javascript version, it freezes up. From the documentation, 'v' is supposed to rotate the top 3 items on the stack. If you're in TYX-video mode, there should be 3 items by default. The documentation also mentions that it's supposed to use T-video mode if it detects that, where there is only one item on the stack. Perhaps it's incorrectly detecting T-video mode and then running into problems when it tries to do the v-rotate past the end of the stack?
- ZenPsycho 15y agowhen the program parses the ibniz string, it seems to look for a character AFTER v. if v is the last character in the string, then when it does this , it gets undefined, attempts to get the char code for it, and thus throws an error since undefined isn't a string with a charCodeAt method. This is easily fixed by guarding that section of code to make sure that it always returns a string and never returns undefined.