Dark Bit Factory & Gravity
GENERAL => General chat => Topic started by: Hotshot on May 15, 2015
-
Most simple commands in short codings that produce amazing result !
http://livecodelab.net/play/index.html#bookmark=theGrid
-
Thanks for the link hotshot, I saw "a rose" by lib4tech (http://livecodelab.net/play/index.html#bookmark=roseDemo) and recreated it in codea. It inspired me to make a nice little waving flag using a similar technique. With many possible improvements.
It reminded me of the one line maze trick posted on the forums here, using ascii characters I think. I couldn't find it anymore. Does anybody know what i'm talking about? I would love to try that one as well.
Anyhoo, good stuff Hotshot! :)
-
do you mean ASCII or PETSCII charset?
maybe this:
http://10print.org/
...just guessing...
-
That's the one, thanks Moroboshisan! :cheers:
Did a bit of reading on PETSCII and I am now enlightened. :)
-
Yay! glad you liked it! ;)
-
Thanks for the link hotshot, I saw "a rose" by lib4tech (http://livecodelab.net/play/index.html#bookmark=roseDemo) and recreated it in codea. It inspired me to make a nice little waving flag using a similar technique. With many possible improvements.
It reminded me of the one line maze trick posted on the forums here, using ascii characters I think. I couldn't find it anymore. Does anybody know what i'm talking about? I would love to try that one as well.
Anyhoo, good stuff Hotshot! :)
Very cool, so how did you do that flag exactly?
-
The flag is drawn left to right, drawing one vertical line at a time with a bit of transparency. A sine wave offsets the x and y position of the line, where the lines overlap it renders brighter.
It animated quite slow, but increasing the step size and the line width solved that.
There are a lot of drawbacks using transparency though, a much better solution would be to use the sine wave to adjust the brightness of the colors instead.
[edit] Attached a pic for clarity