Skip to content

Instantly share code, notes, and snippets.

@mrdoob
Last active July 23, 2023 06:10
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mrdoob/41d05ae210c6b5c14a9ca6254b5c1dee to your computer and use it in GitHub Desktop.
Save mrdoob/41d05ae210c6b5c14a9ca6254b5c1dee to your computer and use it in GitHub Desktop.

Originally posted in Google+ in 2012-10-28


Some weeks ago some people pointed me to +Steve Newcomb's "game engine" famo.us ($1.1M funding).

If you haven't seen it, here's their presentation at TechCrunch Disrupt:

http://techcrunch.com/2012/09/10/famo-us-is-a-gaming-engine-for-3d-interfaces/

The way it was presented, "this is not X, this is not Y... but I'm not going to tell you what it is" reminded me to Euclideon videos:

Unlimited Detail Real-Time Rendering Technology Preview 2011

Back to famo.us "game engine". Ok, so It's not WebGL and is not Canvas. It can only be CSS3D it seems to run without plugins in the browser. Also, if you look at the video carefully, only when the demo is running as an app the elements use additive blending, when it's running on the browser there is no additive blending.

Now, lately I've been working on the CSS3DRenderer for +three.js as a solution for the current iOS situation. So, I just got curious and decided to try to replicate the demo and see if it could be CSS3D.

For testing the waters I first did a simple panorama test:

http://mrdoob.com/lab/javascript/threejs/css3d/panorama/

Performance seemed pretty decent. So next I spent quite a while writing the array with all the elements (I can't believe they made me memorise all these in school...) and after a bit of actual code I got something pretty similar:

http://mrdoob.com/lab/javascript/threejs/css3d/periodictable/

Yeah, I didn't bother to replicate all the interaction, neither to add the Ironman picture on the background. I guess it's good enough as it is. But hey, while I was at it I made TrackballControls touch-friendly ^^

Attached is a video of how it runs on an iPad 2. (Sorry for the cheesy music, but the original video had the same.)

https://www.youtube.com/watch?v=nPEYdw2Ssa8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment