Requirement:
Draw an electrical fan. it has ten vanes can rotate when click right button and stop when left button clicked.
Comment:
If we just want these vanes to rotate but don't care about beauty that won't be some thing difficultly. mouseButton, rotate() can let all things done! Deploy ten vanes by rotating a angle (36 degrees is used here) one by one. And then decide the fan whether rotates or not by mouseButton.
To beautify the vanes would be a big engineering. I used bazier() and adjust pivot pixels by pixels to model the vane. After many times(ten times at least), you can see shape(like petals of rose) in above picture.

沒有留言:
張貼留言