You could do exactly the same using very simple Knockout. It wouldn't be as funky, but it would be something you'd be happy to use in production.
You could do exactly the same using very simple Knockout. It wouldn't be as funky, but it would be something you'd be happy to use in production.
It uses Ember.js to maintain the state of the code samples and proved to be very stable. I don't have interactive sliders on specific values, but the code is parsed and run after every character the user types. e.g. you can change the size of the squid on this page[2] and see it reflected immediately on the right.
[1]: http://mutewinter.github.com/why_ember/#/slides
[2]: http://mutewinter.github.com/why_ember/#/slides/data-binding
This is a development tool :)
http://worrydream.com/#!/InventingOnPrinciple
For a concrete example of usefulness in games, see