learn-physics-0.5.2: Haskell code for learning physics
Physics.Learn.Visual.GlossTools
Description
Some tools related to the gloss 2D graphics and animation library.
Synopsis
polarToCart :: (Float, Float) -> (Float, Float) Source
assumes radians coming in
cartToPolar :: (Float, Float) -> (Float, Float) Source
theta=0 is positive x axis, output angle in radians
arrow Source
Arguments
location of base of arrow
displacement vector
An arrow
thickArrow Source
arrow thickness
A think arrow