6 ms·
(Shameless self-promotion:) Though it's currently hard to do 3D, we have similar features in the Khan Academy CS section: http://www.khanacademy.org/cs http:/
by spicyj 14y ago
(Shameless self-promotion:)
Though it's currently hard to do 3D, we have similar features in the Khan Academy CS section:
http://www.khanacademy.org/cs http://www.khanacademy.org/cs
However, we don't restart the code from the beginning when you change something -- you'll notice that if you change the code in the linked page, the icosahedron jumps to a new angle, whereas with the KA environment, execution continues from the current state.
- mrdoob2 14y agoMaybe I should change the default code to use Date.now()? ;)
- spicyj 14y agoThat would certainly give the proper illusion. :) With our environment, you can interact with it and it'll maintain that state as well.
- ibdknox 14y agoIn John's post he mentions that doing hotswapping is very hard, but that hasn't been my experience so far. Can you by chance expound a bit on what makes/made it so difficult?
- spicyj 14y agoI'm curious to see what you've done -- anything you can share?. I'll let John write up the details in a future blog post, but mostly there are a lot of strange edge cases and problems that have to deal with maintaining closures, etc.