Skip to content

Navigation Menu

Sign in
Appearance settings
Sign up
Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Outline

STARTING OFF:

Make sure you have npm installed. Run:

npm install http-server -g

Run:

http-server

View at: http://localhost:8080/

  • NOTE: moved signals out of libs folder.
    • Running from main directory instead inside this directory.

CONCEPTS:

  • Rotating an object in 2d space.

Rotation Axis Rotation Direction Rotation Angle

For 2d, going to rotate around the z axis, counterclockwise, B degrees.

Want p' (x',y',z'). p (x,y) = (r cos a, r sin a), where r is the distance from origin to p a is the rotation angle from the x-axis

p' = (r cos a+B, r sin a+B) x' = x cos B - y sin B y' = x sin B + y cos B z' = z

RESOURCES:

Morty Proxy This is a proxified and sanitized view of the page, visit original site.