Database
reactive.txt
Associated article: Composing Reactive Animations
Tags: Database
Source code accompanying the article by Conal Elliott in which he discusses Fran, short for "functional reactive animation"--a high-level vocabulary that lets you describe the essential nature of an animated model, while omitting details of presentation. Fran is included with the HUGS implementation of the Haskell programming language.
Composing Reactive Animations by Conal Elliott Listing One leftRightCharlotte = moveXY wiggle 0 charlotte charlotte = importBitmap "../Media/charlotte.bmp" Listing Two upDownPat = moveXY 0 waggle pat pat = importBitmap "../Media/pat.bmp" Listing Three charlottePatDance = leftRightCharlotte `over` upDownPat Listing Four ...


