Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×
User Journal

Journal syrupMatt's Journal: Movement Mathematics

Defining math equations to create movement in a matrix is harder than it looks. If you have a square matrix which is numbered sequentially from the first position from 1 to 81, how do you define a diagnol (or similar single line) path to go from point A in the matrix to point B?

Tried using a "touch" based formula which defines the values in an ever increasing square from the origin and the destination until a common point is found, which is then used as the first point in the line.

why do i have a feeling this isn't going to work?
This discussion has been archived. No new comments can be posted.

Movement Mathematics

Comments Filter:

Not only is UNIX dead, it's starting to smell really bad. -- Rob Pike