jd557 / minart   0.5.3

MIT License GitHub

A minimal Scala creative coding library targeting JVM/Javascript/Native

Scala versions: 3.x 2.13 2.12 2.11
Scala.js versions: 1.x 0.6
Scala Native versions: 0.4


Sonatype Nexus (Releases) scaladoc (core) scaladoc (image) scaladoc (sound)

Minart is a minimalistic Scala library for creative coding. It provides simple methods to draw on the screen and play sound.

It's mostly useful for small toy projects or prototypes that deal with generative art or software rendering.

To know more about the library and how to get started check the microsite and the examples.


  • JVM, JS and Native support
  • Small footprint
  • Double buffered canvas
  • Integer scaling
  • Keyboard and pointer input
  • Surface blitting (with multiple blending modes)
  • Surface views and infinite planes
  • Reading and Writing PPM, BMP and QOI images
  • Audio playback (mono)
  • Procedural audio generation
  • Reading and Writing RTTL, WAV, AIFF and QOA sound files