English subtitles

← Improved Petals - Interactive 3D Graphics

Get Embed Code
3 Languages

Showing Revision 2 created 05/25/2016 by Udacity Robot.

  1. The code changes are pretty small though they took me a bit to get correct. The
  2. scale was easy enough. I modified the cylinder's x scale to be 1 quarter of what
  3. it was before. The z notation I originally applied to the cylinder, but that
  4. wasn't correct. That rotated the cylinder around its own center. This gave an
  5. interesting result but wasn't what I was aiming for. The proper rotation was to
  6. simply not rotate the petal itself as far along the z axis, rotating 70 degrees
  7. instead of 90.