FRAN
1 program
Added 2026-03-05T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: Functional Reactive Animation
Provenance: commit cc07f66d05 · authored 2026-03-05T17:29:27+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
2 sources · pl_id:
pl/franRelated languages
LLM-contributed programs
Wiggling and Orbiting Balls
Provenance: commit cc07f66d05 · authored 2026-03-05T17:29:27+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
-- FRAN (Functional Reactive Animation) tutorial example
-- Source: https://conal.net/fran/tutorial.htm
module Main where
import Fran
-- A ball whose size wiggles over time
wiggleBall :: ImageB
wiggleBall = stretch (2 + wiggle) (solidEllipse yellow)
-- A ball orbiting in a circle
orbitingBall :: ImageB
orbitingBall =
move (cos2 1 0 * 2, sin2 1 0 * 2) $
withColor red (solidCircle 0.3)
-- Combine both animations side by side
combined :: ImageB
combined = wiggleBall `over` orbitingBall
main :: IO ()
main = animate combined
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)