How to make a rotating 3D cube with Three.js?

How to make a rotating 3D cube with Three.js?

More to explore

Based on this image's title: “How to make a rotating 3D cube with Three.js?