The Infinite Rainbow Vomit (aka Slater is Playing with HTML5 Canvas)

Homework giving you a headache? Math gives you a migraine? Can't quite figure out how to do something in photoshop? Never fear, the other members of CAA share their expertise in this forum.

The Infinite Rainbow Vomit (aka Slater is Playing with HTML5 Canvas)

Postby Slater » Wed Dec 12, 2012 12:57 am

Got bored tonight and decided to [url="http://jsfiddle.net"]fiddle[/url] around, picking the HTML5 Canvas as my victim. I decided to create an infinitely-scrolling rainbow thing (random-number based) and, well... This is the result < http://jsfiddle.net/n8XJx/ >.

Not sure what to say, but a couple of my friends thought it looked pretty spiffy. Figured I'd post it here; maybe it'll help someone or maybe someone'll have suggestions on how to optimize canvas usage? :)
User avatar
Slater
 
Posts: 2671
Joined: Sat May 22, 2004 10:00 am
Location: Pacifica, Caliphornia

Re: The Infinite Rainbow Vomit (aka Slater is Playing with HTML5 Canvas)

Postby Cc4FuzzyHuggles » Sun Dec 30, 2012 8:52 pm

When I read the title to this thread, I thought of this :

https://www.youtube.com/watch?v=7XpsnIiJ4Ow

But was expecting the rainbow to be coming out of it's mouth. Apparently my thoughts were wrong. Regardless though, your endless rainbow was cool. :)
Luke 10:25-27 Mark 12:28-34 Matthew 22 Deuteronomy 6:4-5 Deuteronomy 10:12
“Love the Lord your God with all your heart and with all your soul and with all your strength and with all your mind, and your neighbor as yourself.”
Image
No one is perfect, but by one prayer at a time, and one step at a time, God can make our paths straight.
Proverbs 3:6 "In all your ways acknowledge Him, And He will make your paths straight."
User avatar
Cc4FuzzyHuggles
 
Posts: 131
Joined: Tue Nov 29, 2011 6:07 pm
Location: I live wherever the Lord leads me. (currently in an apartment with my sweet cat.)


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 70 guests