Notes:
A TNTOrb is like a sphere, built by a cluster of 'staged' TNTDisks, stacked via a loop that incrementally changes position and color using a linear transformation of each. Huh? Just look at the code! Note that even conical shapes are possible as well. Can you make some?
Features and Usage:
| Primary Attributes: |
3 parameters: The more steps, the smoother the color transition from the color of bigDisk to the color of smallDisk If the smallDisk is outside bigDisk, you get a cone-like shape |
|---|---|
| To Create: (Examples above) |
//special points/components |
| To Draw: |
myOrb.drawTNTOrb(context);
|
| Comments: | This shape was inspired by a student many years ago when we were trying to make images that looked more 3-dimensional. |
| Even More: |
This shape would have been impossible without our good-ole point-slope form of a line: y - y1 = m(x - x1) |
