Search found 2 matches
- April 5th, 2017, 3:58 pm
- Forum: Everything
- Topic: Spirograph what I did from lesson 10
- Replies: 21
- Views: 16490
Re: Spirograph what I did from lesson 10
Yes - but i just went and tried it again and it's down to 10 ms... my computer must've taken a poop.
- April 5th, 2017, 3:22 pm
- Forum: Everything
- Topic: Spirograph what I did from lesson 10
- Replies: 21
- Views: 16490
Re: Spirograph what I did from lesson 10
Well, minor time saving would be to make all Drawing function's parameters "const int& " instead of just ints, as it's copying these values for no good reason.
See image, at larger radius sizes it's taking 14 seconds to run through the while loop you have setup. There's alot to draw there
See image, at larger radius sizes it's taking 14 seconds to run through the while loop you have setup. There's alot to draw there