trigonometry
How to handle ball to ball collision with trigonometry instead of vectors?
I am making a simplified version of the ball physics app found at this SO question.I gained a lot from reading through the code and links provided at that question, but in my program I do not use vect[详细]
2023-01-15 19:59 分类:问答Image rotation & tracking locations
I am rotating an image around it center point but need to track a location on the image as it rotates.[详细]
2023-01-15 17:15 分类:问答How to use a Sine / Cosine wave to return an oscillating number
I\'m new to Java programming, I am programming Java 1.6 with Android. I have a simple function that makes a number go up and down between 0 and 200. I would like to put this into a Sine function but[详细]
2023-01-15 14:29 分类:问答Drawing lat/lng points on an image
I have the following: An image - a hand drawn map - of an area of roughly 600x400 meters. The image is drawn on top of Google Maps tiles.[详细]
2023-01-15 13:46 分类:问答Create sine lookup table in C++
How can I rewrite the following pseudocode in C++? real array sine_t开发者_如何转开发able[-1000..1000][详细]
2023-01-15 11:46 分类:问答Making Asteroids Game In C# [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-01-15 10:28 分类:问答Frame by frame animation using an NSTimer following a circular path
I\'m using an NSTimer to animate an array of objects across the screen. Currently they move from left to right. However, I would like them to move in a circular fashion instead. How can I do this?[详细]
2023-01-14 03:17 分类:问答Rotate a circle around another circle
Short question:Given a point P and a line segment L, how do I find the point (or points) on L that are exactly X distance from P, if it guaranteed that there is such a point?[详细]
2023-01-13 06:38 分类:问答Image distortion with sine/cosine
Is it possible to distort an image us开发者_JAVA百科ing trigonometric functions like sine and cosine so that it comes out wavy.[详细]
2023-01-13 06:34 分类:问答How to calculate the angle of a vector from the vertical?
Im trying to find out the angle (in degrees) between two 2D vectors. I know I need to use trig but I\'m not too good with it. This is what I\'m trying to work out (the Y axis increases downward):[详细]
2023-01-10 16:19 分类:问答