Simple toy app built with three.js, React and Redux.
This ist just a little experiment to figure out how to use Redux for mananging state and handling events in a three.js-based real-time 3D application.
All three.js objects (scene, camera, renderer) live inside the ThreeApp container. This is the only place where mutations and side effects are supposed to happen. The scene gets updated every frame by mapStateToScene()
. Similar functions could be used for applying state to the camera or selected parts of the three.js scene.