A functional reactive animation of a lift using Fran

  • Authors:
  • Simon Thompson

  • Affiliations:
  • Computing Laboratory, University of Kent, Canterbury, Kent, CT2 7NF, UK (e-mail: S.J.Thompson@ukc.ac.uk)

  • Venue:
  • Journal of Functional Programming
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper uses the Fran system for functional reactive animation to give a simulation of a lift – or elevator – with many floors. The paper first introduces a two-floor version, and then indicates in detail how this is extended to give a simulation with an arbitrary number of floors and featuring more realistic animated graphics. The paper introduces those aspects of Fran relevant to the simulation, making it a self-contained tutorial on parts of Fran and how it is applied in practice. The full code for the system is available on the World Wide Web.