To be perfectly honest, I did a lot less work with that demo than one might expect. My contributions basically involved:
- reverse engineering the original periodic table for image assets and stylesheets
- finding a periodic-table dataset available in json
- importing that dataset into meteor, and publishing it to the client
- swapping out the array of circles for an array of element records
- using mixed-mode to drop in a stylesheet on each of the purple circles
- copying the default demos pretty much verbatim
Everything else was already in the demos available on the Famo.us homepage. I did very little programming with the core Famo.us APIs. Barely a day's worth of work. I was just.... surgically putting together a few specific pieces of the puzzle.
I think I've got some unnecessary image assets in the app that's slowing things down. And the original demo had a big splash screen that may have been masking similar load issues. And thank you for the info about
scene.dismount(). Just the kind of info I was looking for. I'll tinker with that later this week, and see if I can't get some of that cleaned up.
As for not using famous-views... well, as of last week, you said that it hadn't been updated for MixedMode yet!
I mean, I don't have much skin in the game, as far as which famo.us library to use. I do have a Card UI that I intend to build, loosely based on the Day Made of Glass 2 Video (3:08 mark). And I'm pretty sure that Famo.us is the technology for what I want to use in building it. But I'm also aware that it's been 15 years since I did anything with OpenGL. (Last work I did with Open/WebGL was 3D stereoscopic rendering of molecules, as part of the Human Genome Project.) So, I'm aware that the boys in the community who do game development are going to have a lot better feel for some of this stuff than I do. So, mostly I just wanted to get the database and styling components in place, so that other people can run with this demo.
Maybe it needs refactoring to Famous-Views. Maybe refactoring to famono. Maybe it needs to stay low-level. I honestly don't know. I just want to see the Famous Periodic Table rebuilt using Meteor, is all, and see where people take it.
Edit: Ah, your famous-views re-imagining finally loaded. Yes! This is much better syntax! This is exactly the kind of syntax I was hoping to use now that MixedMode has become available. I don't think it will be hard to persuade me at all, now that you've provided a code sample!