summaryrefslogtreecommitdiff
path: root/sly/math.scm
Commit message (Collapse)AuthorAgeFilesLines
* math: Update docstring for make-lerp.David Thompson2014-12-131-7/+7
| | | | * sly/math.scm (make-lerp): Update docstring.
* math: Add modulo*.David Thompson2014-11-301-1/+7
| | | | * sly/math.scm (modulo*): New procedure.
* transition: Move interpolation procedures to their relevant module.David Thompson2014-10-031-1/+13
| | | | | | | | | * sly/color.scm (color-lerp): New procedure. * sly/math.scm (make-lerp, lerp): New procedures. * sly/math/vector.scm (vlerp): New procedure. * sly/transition.scm (interpolator, number-interpolate, vector-interpolate, color-interpolate): Delete procedures. (guess-interpolator): Rewrite with 'match-lambda*'.
* math: Add 2pi constant.David Thompson2014-09-261-1/+2
| | | | * sly/math.scm (2pi): New variable.
* math: Add square procedure.David Thompson2014-08-281-1/+4
| | | | * sly/math.scm (square): New procedure.
* Add half procedure.David Thompson2014-08-251-1/+5
| | | | * sly/math.scm (half): New procedure.
* Simplify perspective-projection implementation.David Thompson2014-08-251-0/+5
| | | | | * sly/math.scm (cotan): New procedure. * sly/transform.scm (perspective-projection): Simplify.
* Tweak docstring for linear-scale.David Thompson2014-08-011-3/+3
| | | | * sly/math.scm (linear-scale): Tweak docstring.
* Add joystick module.Jordan Russell2014-08-011-1/+9
| | | | | | | | * sly/joystick.scm: New file. * examples/joystick.scm: New file. * Makefile.am (SOURCES): Add sly/joystick.scm. * TODO.org (Input): Mark as 'done'. * sly/math.scm (linear-scale): New procedure.
* Add pi/2 variable.David Thompson2014-06-291-1/+2
| | | | * sly/math.scm (pi/2): New variable.
* Rename guile-2d to Sly!David Thompson2014-06-281-0/+90
Massive find/replace job.