learn-physics-0.4.3: 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
arrowSource
Arguments
location of base of arrow
displacement vector
An arrow
thickArrowSource
arrow thickness
A think arrow