summaryrefslogtreecommitdiff
path: root/2d/signal.scm
Commit message (Collapse)AuthorAgeFilesLines
* Rename guile-2d to Sly!David Thompson2014-06-281-292/+0
| | | | Massive find/replace job.
* Add current-agenda parameter.David Thompson2014-05-041-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | * 2d/agenda.scm (current-agenda): New variable. (with-agenda): New macro. (agenda-time, tick-agenda!, clear-agenda!, schedule) (schedule-interval, schedule-each, wait): Remove agenda parameter. * 2d/game.scm (game-agenda): Delete it. (update): Tick current agenda. * 2d/helpers.scm (define-guardian): Remove agenda argument. * 2d/repl.scm (start-2d-repl): Remove agenda argument to schedule-each. * 2d/signal.scm (signal-sample, signal-delay, signal-throttle): Remove agenda parameter. * 2d/sprite.scm: * examples/common.scm: * examples/coroutine.scm: * examples/font.scm: * examples/particles.scm: Remove mention of game-agenda. * README.org: Update example snippets.
* Rename signal-combine to signal-zip.David Thompson2014-04-211-2/+2
| | | | | * 2d/signal.scm (signal-combine): Renamed. (signal-zip): New procedure.
* Improve define-signal macro.David Thompson2014-03-291-17/+35
| | | | | | | * 2d/signal.scm (define-signal): Correctly handle when previous variable holds a non-signal value and coerce non-signal values into signals. (make-signal-maybe): New procedure. (splice-signals!): Assume that inputs are always valid signals.
* Change license to GPLv3+.David Thompson2014-03-081-7/+7
|
* Rename signal-do to signal-tap.David Thompson2014-03-081-2/+2
| | | | | * 2d/signal.scm (signal-do): Delete it. (signal-tap): New procedure.
* Export alternate spelling of signal-box?.David Thompson2014-02-171-2/+4
| | | | | * 2d/signal.scm (%signal?): New procedure. (signal?): Redefined to be 'signal-box?'.
* Add hook->signal procedure.David Thompson2014-02-171-0/+11
| | | | * 2d/signal.scm (hook->signal): New procedure.
* Move time module inside the signal module.David Thompson2014-02-171-4/+36
| | | | | | | * 2d/signal.scm (make-boxed-signal, %signal-ref, %signal-set!): Don't export. (signal-sample, signal-delay, signal-throttle): New procedures. * 2d/time.scm: Delete file.
* Fix signal propagation.David Thompson2014-02-171-1/+1
| | | | * 2d/signal.scm (signal-propagate!): Dereference the correct signal.
* Add inputs field to <signal>.David Thompson2014-02-171-2/+3
| | | | | * 2d/signal (<signal>): Add inputs field. (%make-signal): Add inputs parameter.
* Rewrite FRP module to be dynamic and REPL friendly.David Thompson2014-02-171-0/+228
Signals are now boxed so that their contents can be overwritten at the REPL and the signal graph will magically be updated. * 2d/signal.scm: New module. * 2d/signals.scm: Delete old module.