Chrome 16.0.904.0 dev is what I'm running on my MacBook, and it works fine there. It wasn't working for me with Safari either until I saw the tip in SnowLprd's comment about enabling WebGL.
I suppose for the same reason that movies and television shows have to license the soundtracks they use in their works of art. I guess it's not transformative enough? Not sure what the legal definition of a derivative work is, but I guess it doesn't include a simple pairing up of different mediums.
For those on Mac OS X 10.7 with Safari and who are seeing a message saying that your browser doesn't support WebGL, that's only because WebGL isn't enabled by default. You can turn it on by first going to Safari Preferences > Advanced and then checking the box labeled "Show Develop menu in menu bar". Close preferences, and then under the "Develop" menu, choose "Enable WebGL". If you go back to the "Lights" page now, you should be now be able to check it out!
It's always interesting to me what makes it up and what never catches on. Apparently more HN people are intrigued by the mere title "lights" than a title with more explanation.
"Click to interact with the environment, keep the button pressed to fly faster."
Try clicking at different speeds and on different elements and you'll see the interactivity (works better with an external mouse). Contrast it to sitting back and watching it go.
There were also concerns about running arbitrary shader code on the GPU, which has DMA access (Yes, Direct Memory Access access is a bit redundant...) to system memory, as well as the framebuffer which is in GPU memory.
The issue is that if there does happen to be some type of bug which allows an exploit, simply pointing your webgl-enabled web browser at some page would let an attacker compromise your system. This wasn't really a problem before webgl, since to get 3d graphics running at all, an attacker would have had to have code execution privileges on a victim's computer (by which time it's already too late).
The issue is that if there does happen to be some type of bug which allows an exploit, simply pointing your webgl-enabled web browser at some page would let an attacker compromise your system. This wasn't really a problem before webgl, since to get 3d graphics running at all, an attacker would have had to have code execution privileges on a victim's computer (by which time it's already too late).
Really cool. I get that the Twitter usernames come in with the lyric "they're calling me" but it might be more sticky if the usernames show up sooner. Not sure everyone would want to keep flying around for so long.
I think I miss the point. Do I control anything happening with the music or in the scene? This link reminds me of a Winamp visualization from 10 years ago, but now I can fly through it, in a web browser.
Again, I think I must be missing something. If you hit Play and don't touch the mouse you see the same exact animations as if you flew in a big arc at full speed.
You control nothing more than a camera angle with a glowing avatar.
The web is a new medium, and browsers can be more expressive then pretty viz. Push the boundaries with this stuff don't just do your radio show on camera.
So uh, not to cause a fuss but why was the title edited? I can understand removing the word "impressive" as that is an opinion, but removing the explanation (interactive html5 / webgl presentation built with threejs) seems silly? How are users who casually browse news.yc supposed to look at this and have any clue what they're clicking? Titles that are descriptive should be more important than... well I can't think why it was changed to just "lights"? Surely the title containing some sort of description about the content is a courtesy that users would appreciate.
(For reference the original title was "Lights -- impressive html5 / webgl presentation built with threejs" and is now "Lights")
I'd say the technology is the least impressive part of it.
It feels like 303/acme from 1996. Only on gigahertz machinery instead of a 486. and using hardware acceleration for very basic 3d effects, rather than software generated texture/env mapping.
How are users who casually browse news.yc supposed to look at this and have any clue what they're clicking?
Since there's no way to hide these links with uninformative titles, the no-addon solution is to get them to display as "visited". So I click them and then immediately close the tab.
Website owners: Sorry for throwing off your stats.
Unfortunately, this video is not available in Germany because it may contain music for which GEMA has not granted the respective music rights.
Sorry about that.
I didn't get a lot of debug data (only Camera position written to console) but I did get a `Uncaught TypeError: Cannot call method 'update' of undefined` every frame. Can I ask what I was meant to see?
96 comments
[ 4.7 ms ] story [ 163 ms ] threadAlso, if it's laggy, try resizing the window.
I didn't even realize I could control where it was going till half way through. Had a blast trying to avoid the spotlights. Nice job!
Try banking hard right (or left) and then when the sky starts to go technocolor pull up hard. Wow.
Works great in Firefox 7, unless I go full width (2048x1152).
Chrome seems to spaz out if I try to change the window size.
Opera fans with full OpenGL drivers can now use WebGL too http://my.opera.com/desktopteam/blog/2011/10/13/introducing-...
What does this mean?
This is a work of art. It's not for any kind of profit.
"Click to interact with the environment, keep the button pressed to fly faster."
Try clicking at different speeds and on different elements and you'll see the interactivity (works better with an external mouse). Contrast it to sitting back and watching it go.
Have they solved or answered the security considerations from letting a website issue graphics commands?
unless you mean something else...
WebGL opens up a whole new can of worms for malware writers. 3D drivers can not be and are not immune to bugs.
You control nothing more than a camera angle with a glowing avatar.
http://thewildernessdowntown.com/
The web is a new medium, and browsers can be more expressive then pretty viz. Push the boundaries with this stuff don't just do your radio show on camera.
Running perfectly on MacBook Pro 5th Gen with Google Chrome Canary (16.0.x.x).
(For reference the original title was "Lights -- impressive html5 / webgl presentation built with threejs" and is now "Lights")
But hey, kids these days.
Catchy tune too!
Since there's no way to hide these links with uninformative titles, the no-addon solution is to get them to display as "visited". So I click them and then immediately close the tab.
Website owners: Sorry for throwing off your stats.
For the lazy:
http://www.youtube.com/watch?v=Imixg3jrJS8
Try these I suppose:
http://www.youtube.com/results?search_query=lights+bassnecta...
See that message, click the pretty nice yellow button, and hooray! Done.
Do some other cool work in webgl: http://helloracer.com/webgl/ http://helloenjoy.com/helloflower/
Interesting debug data.
This must have been a beast to build, sync and debug.
I'd like to see the author post a "making of" entry.
Go into firebug and set a breakpoint after line 112 in Lights.js and reload the page.
Then when it hits the breakpoint, change LIGHTS.buildRelease=false; in the console.
You have to do it right at that point because it changes other initializations.
It shows a mini-heads-up display with FPS and other info and the console will output what "phase" the demo is at.
Someone very talented wrote this, it would probably take me a year from scratch!
At least listening to this music over and over wouldn't be too bad but at the 1000th time I might go insane.
Looks like it's a coder from the UK, nickname "C4RL05" aka Carlos Ulloa: http://twitter.com/#!/c4rl05