Skip to content

A minimalistic reactive programming library based on coroutines for fixed time-step interactive simulations.

License

Notifications You must be signed in to change notification settings

shangaslammi/coroutine-frp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AFRP using Coroutines

coroutine-frp is an experimental package that builds an AFRP interface on top of coroutines.

This package deviates a lot from "classical" FRP in that it is meant exclusively for fixed time-step simulations and as such there is no concept of continous time. Whereas classical FRP abstracts behaviours as functions of time -> value and events as a stream of (time, event) values, coroutine-frp models values that change over time as coroutines which are called once per each time-step. Events are modeled as coroutines which return a list of events that occur during the current time-step.

This package is currently in a very early design phase and all interfaces are in flux.

About

A minimalistic reactive programming library based on coroutines for fixed time-step interactive simulations.

Resources

License

Stars

Watchers

Forks

Packages

No packages published