Dark Bit Factory & Gravity

GENERAL => General chat => Topic started by: Hotshot on May 15, 2015

Title: livecodelab.net
Post by: Hotshot on May 15, 2015
Most simple commands in short codings that produce amazing result !

http://livecodelab.net/play/index.html#bookmark=theGrid
Title: Re: livecodelab.net
Post by: Kirl on May 17, 2015
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! :)

Title: Re: livecodelab.net
Post by: Moroboshisan on May 17, 2015
do you mean ASCII or PETSCII charset?

maybe this:
http://10print.org/

...just guessing...
Title: Re: livecodelab.net
Post by: Kirl on May 18, 2015
That's the one, thanks Moroboshisan!  :cheers:

Did a bit of reading on PETSCII and I am now enlightened. :)
Title: Re: livecodelab.net
Post by: Moroboshisan on May 18, 2015
Yay! glad you liked it! ;)
Title: Re: livecodelab.net
Post by: spitfire on May 19, 2015
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?
Title: Re: livecodelab.net
Post by: Kirl on May 19, 2015
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