Javascript Animation

For discussions about game development that does not fit in any of the other topics.
Post Reply
User avatar
Ark
Posts: 427
Joined: Wed Jun 01, 2011 10:25 pm

Javascript Animation

Post by Ark »

[youtube]http://www.youtube.com/watch?v=eL2w5Ki9qf4[/youtube]

Hello peeps, this is a cool javascript animation that I found on the web, and I really got no idea how it was made.

Anybody got an idea how it was made?

PS: I don't know how to put youtube vids on forums. :?
Last edited by SpiritWebb on Thu Dec 22, 2011 11:28 pm, edited 1 time in total.
Reason: Fixed the post to show the video!! :)
Orgullo Catracho
User avatar
Chris
Posts: 1581
Joined: Wed Sep 30, 2009 7:22 pm

Re: Javascript Animation

Post by Chris »

It is made with Canvas and a lot of JavaScript. Too be honest it shouldn't be that hard to make, there's obviously some mathematical formula that makes the random colors and and displacements. Here's a tutorial on canvas:
https://developer.mozilla.org/en/Canvas_tutorial
Fighting for peace is declaring war on war. If you want peace be peaceful.
User avatar
SpiritWebb
Posts: 3107
Joined: Sun Jul 12, 2009 11:25 pm

Re: Javascript Animation

Post by SpiritWebb »

When posting a youtube video, use the [YouTube] option, and leave off the &feature aspect of it!! :) If you edit your post, you can see what I mean!!
Image

Image
User avatar
Ark
Posts: 427
Joined: Wed Jun 01, 2011 10:25 pm

Re: Javascript Animation

Post by Ark »

@Thanks Chris i'll check that tutorial!

@ Thanks spirit ill keep that in mind.
Orgullo Catracho
Post Reply

Return to “General Development”