Motion+

Three.js

An example of a rotating cube using Three.js and Motion.

JavaScript
>Live exampleOpen

Related examples

Latest in JavaScript

Motion+

Unlock all 370+ examples

  • Source code for every Plus example.
  • Provide examples direct to your agent via Motion's MCP.
  • Lifetime access to new examples and APIs.