• Welcome to Dark Bit Factory & Gravity.
 

livecodelab.net

Started by Hotshot, May 15, 2015

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Hotshot

Most simple commands in short codings that produce amazing result !

http://livecodelab.net/play/index.html#bookmark=theGrid

Kirl

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! :)

www.kirl.nl
Challenge Trophies Won:

Moroboshisan

#2
do you mean ASCII or PETSCII charset?

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

...just guessing...

Kirl

#3
That's the one, thanks Moroboshisan!  :cheers:

Did a bit of reading on PETSCII and I am now enlightened. :)
www.kirl.nl
Challenge Trophies Won:

Moroboshisan

Yay! glad you liked it! ;)

spitfire

Quote from: 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! :)

Very cool, so how did you do that flag exactly?

Kirl

#6
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
www.kirl.nl
Challenge Trophies Won: