jd557 / minart   0.6.2

MIT License GitHub

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

Scala versions: 3.x
Scala.js versions: 1.x
Scala Native versions: 0.5

Minart

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.

Features

  • 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, QOI and PDI images
  • Audio playback (mono)
  • Procedural audio generation
  • Reading and Writing RTTL, WAV, AIFF and QOA sound files