Author Topic: livecodelab.net  (Read 4297 times)

0 Members and 1 Guest are viewing this topic.

Offline Hotshot

  • DBF Aficionado
  • ******
  • Posts: 2114
  • Karma: 91
    • View Profile
livecodelab.net
« on: May 15, 2015 »
Most simple commands in short codings that produce amazing result !

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

Offline Kirl

  • Senior Member
  • Pentium
  • ********
  • Posts: 1217
  • Karma: 230
    • View Profile
    • Homepage
Re: livecodelab.net
« Reply #1 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! :)

www.kirl.nl
Challenge Trophies Won:

Offline Moroboshisan

  • Senior Member
  • Amiga 1200
  • ********
  • Posts: 454
  • Karma: 18
  • C=64
    • View Profile
Re: livecodelab.net
« Reply #2 on: May 17, 2015 »
do you mean ASCII or PETSCII charset?

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

...just guessing...
« Last Edit: May 18, 2015 by Moroboshisan »

Offline Kirl

  • Senior Member
  • Pentium
  • ********
  • Posts: 1217
  • Karma: 230
    • View Profile
    • Homepage
Re: livecodelab.net
« Reply #3 on: May 18, 2015 »
That's the one, thanks Moroboshisan!  :cheers:

Did a bit of reading on PETSCII and I am now enlightened. :)
« Last Edit: May 18, 2015 by Kirl »
www.kirl.nl
Challenge Trophies Won:

Offline Moroboshisan

  • Senior Member
  • Amiga 1200
  • ********
  • Posts: 454
  • Karma: 18
  • C=64
    • View Profile
Re: livecodelab.net
« Reply #4 on: May 18, 2015 »
Yay! glad you liked it! ;)

Offline spitfire

  • Amiga 1200
  • ****
  • Posts: 275
  • Karma: 9
    • View Profile
Re: livecodelab.net
« Reply #5 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?

Offline Kirl

  • Senior Member
  • Pentium
  • ********
  • Posts: 1217
  • Karma: 230
    • View Profile
    • Homepage
Re: livecodelab.net
« Reply #6 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
« Last Edit: May 20, 2015 by Kirl »
www.kirl.nl
Challenge Trophies Won: