Proposed by: Kaustubh M & Sudha Parimala

Functional Programming meets Creative Coding (Workshop)

In this session, we would like to introduce participants to creative coding in OCaml through joy. joy is a tiny creative coding library built in Python. Joy is developed with functional programming principles in mind.


We've ported joy to OCaml, a functional first language. Joy provides an interface for creating simple shapes such as circle, rectangle, line, etc. and provides functionality to transform and compose them. This gives an elegant setup to create complex examples through joy.


In this session, we will take through the participants some examples of drawings with joy and let them exercise their creativity in producing new art. Joy has an online playground at https://kaustubh.page/joy.ml/ which allows running joy on the browser and doesn't need any installation on a user's machine.

Source code/Reference: https://github.com/Sudha247/ocaml-joy

Talk duration: