title: 2d cube in canvas algorithm
body: <p>Is there a way to create a cube in 2d? as in what a 3d cube would look like from any angle? Basically something like <a href="http://virtualmathmuseum.org/Polyhedra/Cube/Cube.png" rel="nofollow">this</a>, basically three quadrilaterals that combined look like a cube.</p>
  
  <p>I would like to generate random cubes, so whatever formula would need to allow for variations</p>