Skip to content
/ p5ml Public

Processing reimagined functionally with OCaml.

Notifications You must be signed in to change notification settings

Calsign/p5ml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

p5ml

An implementation of Processing in OCaml, driven by the functional paradigm. The goal of this project is to reimagine Processing in a purely functional context to bridge the gap between the learning potential of Processing and the functional nature of OCaml.

Read the auto-generated docs: API

To build the p5ml library, run make in the core directory. This takes care of linking the p5ml library to ocamlfind. You may need to install some libraries with opam (ounit, graphics, lablgtk, cairo2, cairo2-gtk).

To build a sketch, first run make in the app directory. Then pass the sketch to app/launcher.byte (e.g. app/launcher.byte examples/demo.ml) in order to run the sketch. There are examples in the examples directory.

Tip: pass the -d flag to app/launcher.byte (dynamic mode) to make the sketch reload automatically when the file is modified.

About

Processing reimagined functionally with OCaml.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published