Skip to content

Instantly share code, notes, and snippets.

@steamboatid
Last active September 30, 2017 03:26
Show Gist options
  • Save steamboatid/0a68aec6327c8be8cffd2684cc56be30 to your computer and use it in GitHub Desktop.
Save steamboatid/0a68aec6327c8be8cffd2684cc56be30 to your computer and use it in GitHub Desktop.
normalizing gpos for ANN
- pan00 = pan to 0,0, then rotate each 15 degrees
- flipx= from pan00, flip x, then rotate 15 degrees
- flipy= from pan00, flip y, then rotate 15 degrees
- flipxy= from pan00, flip x, flip y, then rotate 15 degrees
- normalize to 1,1
- divide time --> using distance between points
t1/t2 = d1/d2 --> t2= d2/d1 * t1
total pans= 24 * 4 = 96
rotation:
https://stackoverflow.com/questions/12161277/how-to-rotate-a-vertex-around-a-certain-point
https://en.wikipedia.org/wiki/Rotation_matrix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment