CS 171 & 171L Introduction to Computer Science I & Lab Fall 2017 

Homework Assignment 14

3D Graphics and Images

Create a 3D image cube. Start with the code from PictureCube.pde located on the W: drive. Add five faces to form the completed cube. Each face should contain a different image from the internet (keep it clean).

Fun Extra Credit

  1. Rotate the cube
  2. Bounce the cube around the screen
  3. Use a different polyhedron, such as a Platonic solid (tetrahedron, octahedron, dodecahedron, or icosahedron) or Archimedean solid.

Email the code to your instructor.

Send me the code and an output picture as an attachment to an email message. Use Picture Cube as the subject for the email.

References

  1. texture()


Copyright © 2017, David A. Reimann. All rights reserved.