Quiz
- why is the RGB system 3 dimensional
There is dimension for each color. You can independently adjust the amount of Red, Green and Blue, just like you can independently move in the X, Y or Z directions.
- what does the t represent in P(t) = A + vt
The parameter (t) represents how far along the line you are. t=0 is the beginning. t=1 is the end. t=0.5 is the middle, etc.
- What are other ways we can practice math problems using the parametric equations talked about in the readings, to get more practice with teh math and the concepts?
Good question. The first homework will have some math problems, but I don't have any extra practice problems prepared. You could try creating a few yourself: just take an example and try some different coordinate values.
This might also be worth asking ChatGPT for.
- Can we go through more examples of constructing parametric lines?
Sure. We'll do one in class today.
- Can we please go over problems 1 and 2?
Sure. Q1 is this:
As you probably know, the earth is not a perfect sphere. It's slightly "flattened". Assuming the Y axis coincides with the axis that the earth turns on, how can we use Threejs to create such a sphere? Assume the mesh is in the variable "earth"
A. earth.scale(a,b,c); // where b < a && b < c B. earth.scale(a,b,c); // where a < b < c C. earth.scale(a,b,c); // where b < a || b < c D. earth.scale(a,b,c); // where a == b && a == b
The answer is A, because we need to flatten the earth along the Y axis, which is b.
Q2 is this:
Suppose there is a cone mesh in the variable `hat`, with no other changes. The camera is in its usual location, pointing down the negative Z axis. What do I see if the code does
hat.rotateY(angle);
with options
A. the hat tips towards the user B. the hat tips away from the user C. the hat tips towards the right D. nothing
The answer is D because the code is rotating around its axis, so we wouldn't see any change.