*blog... kind of... *rss
Or so they say...
34 commentsThis weekend Euskal took place and for quite a while I was considering doing a demo for it, but it wasn't until Friday night that I finally got free time for doing it (and the deadline was Saturday evening...).
Now that three.js was starting to get stable and also thanks to some sequencing code I had done some months ago I had no excuses to get working on it. So, from Friday midnight until Saturday afternoon, I managed to get this:
That's just a video of the demo, watch the actual demo.
Quite amazing how quickly you can get stuff done with javascript once you have the basic libs ready ;)
I need to check what's wrong with Opera, for some reason is not cleaning the screen. Apart from that it should work in all browsers (albeit quite slow in some, specially MacOS ones). Oh, I think it wouldn't work on Safari either, as it seems to be the only modern browser that doesn't support .ogg files.
In case anyone is interested, I've also shared the source code.
EDIT: Found the problem with Opera. Turns out context.clearRect() doesn't work if the context has been transformed with negative values. I'll let them fix their bug ;)
Now that three.js was starting to get stable and also thanks to some sequencing code I had done some months ago I had no excuses to get working on it. So, from Friday midnight until Saturday afternoon, I managed to get this:
That's just a video of the demo, watch the actual demo.
Quite amazing how quickly you can get stuff done with javascript once you have the basic libs ready ;)
I need to check what's wrong with Opera, for some reason is not cleaning the screen. Apart from that it should work in all browsers (albeit quite slow in some, specially MacOS ones). Oh, I think it wouldn't work on Safari either, as it seems to be the only modern browser that doesn't support .ogg files.
In case anyone is interested, I've also shared the source code.
EDIT: Found the problem with Opera. Turns out context.clearRect() doesn't work if the context has been transformed with negative values. I'll let them fix their bug ;)
Pretty sweet, doobers.
July 25th 2010, Duncan
Wow pretty impressive. No WebGL and plugins and looks very impressive.
Wow, I didn't know that anyone had forced javascript this deep into the 3D realm yet! Quite amazing my friend! My Quad-Core CPU was having some trouble but it played pretty smoothly.
congratulatios!! :)
I tested on Fixfoc 3.5.5
Just shown me a constant loop in the status bar that switched between...
waiting for data
transfering data from aplsv.com
.. with a blank black screen
Just shown me a constant loop in the status bar that switched between...
waiting for data
transfering data from aplsv.com
.. with a blank black screen
No Fixfoc isn't a new browser, I meant Firefox ;)
I just tried with Firefox 4/MacOS and (albeit slow) it worked fine. Although Apple has been pushing HTML5 quite a lot these days, their platform doesn't seem to perform very well...
Stunning. Awesome work Doob.
Thanks, that was a great show! Once more impressive.
Runs smoothly and instant in Chrome on Fedora 64bit.
Runs smoothly and instant in Chrome on Fedora 64bit.
WOOOW, rockin !!
whats happening on Opera?!
whats happening on Opera?!
Works nice in Chrome.
Nuf.
Nuf.
Works great with Opera (in my case)
I love it! A lot!
I love it! A lot!
Does not work in IE8 and IE9preview.
I know... It doesn't work on a toaster either.
Seriously speaking, I think it doesn't work on IE9preview because they do not support .ogg files.
Seriously speaking, I think it doesn't work on IE9preview because they do not support .ogg files.
Seem it is not work on Chrom 5 on Mac.
big upps for first place! :D and releasing sth at all! Seemed quite slow this this year at euskal.
demo:ran slow on Firefox. But good on Chrome. I actually like more fastpaced stuff. But the optics were nice.
demo:ran slow on Firefox. But good on Chrome. I actually like more fastpaced stuff. But the optics were nice.
Epic! I was actually working on something remotely similar, a simulation of a galaxy using particles. :)
Hehe! At some point I also considered doing the galaxy with particles but seemed too complicated. Textured plane looked good enough ;)
Dude, that's awesome. Good show.
fricking awesome demo, though it was slow on mac chrome 5
Muy buena nene... no me esperaba una cosa de estas hasta que mis compis de trabajo me lo han dicho esta mañana y me ha entrado la curiosidad... ¡Enhorabuena!
we've been there before with Java software rendering though
Amazing collection. Some beautiful, psychedelic creations. Great music too.
You should collaborate with Simon Posford
You should collaborate with Simon Posford
Not working in Chromium 6.0.472.22 running on Ubuntu 10.04
Error: Uncaught TypeError: Object #<an HTMLElement> has no method 'play' (xplsv_orsotheysay line 135)
Error: Uncaught TypeError: Object #<an HTMLElement> has no method 'play' (xplsv_orsotheysay line 135)
"I just tried with Firefox 4/MacOS and (albeit slow) it worked fine. Although Apple has been pushing HTML5 quite a lot these days, their platform doesn't seem to perform very well..."
That would be Firefox's javascript rendering issues there as opposed to MacOS - tried it in Safari 5/MacOS and it ran beautifully.
Great piece of work!
That would be Firefox's javascript rendering issues there as opposed to MacOS - tried it in Safari 5/MacOS and it ran beautifully.
Great piece of work!
It's like a cool demo circa 1992, it's amazing to think how many layers are at play here before something's actually drawn on the screen. What's funny is we'll probably just end up condensing the middle of the stack and the browser will be the first class object.
Excelent blog! How did you learn to do all of that? It's quite amazing
I try harmony and I couldn't stop! My simple 5 minutes doodle became something really Picassoish if that even a word
OMG. I am impressed! This is amazing! *speechless*
Regards
Fabian
Regards
Fabian
The bug in Opera is fixed in the newest Snapshot! Get it at http://my.opera.com/desktopteam
Great! Thanks for the tip Martin! :)
Have you tried making it interactive rather than a continuous video? I've done it with a flat image of the world but never anything as intense as your's.
Yeah, good point. Long term challenge. I think I'll add simple interactive controls :)
I think I read a while back that instead of doing clearRect(), it's better to set the width as the width.
basically something like:
context.width = context.width
I don't remember the argument for it, maybe you may have some insight?
would also fix (the now fixed) bug
basically something like:
context.width = context.width
I don't remember the argument for it, maybe you may have some insight?
would also fix (the now fixed) bug
*profile

traditional id: Ricardo Cabello Miguel
based in: London, UK
more: github, twitter, twitpic, soundcloud and flattr
*post nav
stats.js bookmarklet
What IDE do you use for Javascript coding?
Making of The Wilderness Downtown
Deleted myself from Facebook
Javascript size coding challenges
Or so they say...
Multiuser Sketchpad
stats.js
Javascript plane deformations
three.js r8
Flattr