title: Draw 3D bounding box of object in 2D (Processing)
body: <p>I would like to draw a 2d box around a 3d object and at the end, it should look like the following image:</p>
  <p><a href="https://i.stack.imgur.com/Cr4Rt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Cr4Rt.png" alt="enter image description here" /></a></p>
  <p>I have already drawn a 3d Box and determined the corners (red balls) as well, but however I don't know what to do next or which steps should be taken next.</p>
  <p>It would be a pleasure if someone could provide an algorithm or the next couple of steps to carry on working on it.</p>
  <p>Thanks in advance :)</p>