Question
Q1. Please use Processing to draw a 3D box using PShape and vertex(x, y, z) instead of using the default box(x, y, z) command. (You
Q1. Please use Processing to draw a 3D box using PShape and vertex(x, y, z) instead of using the default box(x, y, z) command. (You need to define your own 8 vertices for the box).
Q2. Recall how we draw a 3D Cone shape in Processing using PShape and vertex(x, y, z), please draw a 3D cylinder using PShade in Processing.
Q3. Now utilize the 3D cylinder, 3D box shape, and Geometric transformations to draw the Lego pieces shown below (HINT: as long as we can construct the single unit piece, we can use Geometric Transformation to construct any other pieces):
LEGO PIECESStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started