Search found 2 matches

by wraneus
Mon Jun 21, 2021 11:15 pm
Forum: Support and Development
Topic: using calculus to determine position
Replies: 4
Views: 5902

Re: using calculus to determine position

lines don't have width to them and will thus approximate each point on the circle in π/512 increments. a rectangle would have width to it if it were larger than a pixel so it seemed easier to just use a line directly rather than using many pixels to create the line. Bottom line... it works!
by wraneus
Mon Jun 21, 2021 8:12 pm
Forum: Support and Development
Topic: using calculus to determine position
Replies: 4
Views: 5902

using calculus to determine position

I'm working on a hammer throwing game using calculus where a circle representing a hammer orbits a circle representing a player. the hammer will orbit the player until the user pushes the "space" key, setting the "thrown" state to true. I'm was hoping to use the derivative of a c...