/penroseTriangle

TorontoJS Worshop Nov 2018 Code - A penrose triangle illusion in JS

Primary LanguageJavaScript

JS Workshop November 2018

Penrose Triangle

Goals

  • Build a basic threejs scene with a rotating cube.
  • Make a penrose triangle: https://gifer.com/en/3Zu9
  • Animate it so the geometry is revealed

References:

High-level steps:

  • Add basic scene with camera, box, and light.
  • Style box so it looks decent (monument valley styling)
  • Add different geometry so it looks like a penrose triange.
  • Add animation to reveal geometry

Code-along steps:

Deps