Expression based 2D graphics system based on Lucre.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.6 KiB

LucreSwing

Build Status Maven Central

statement

in experimental (alpha) state

Lucre2D is a Scala library which provides an expression based 2D graphics canvas for the Lucre model. It is (C)opyright 2022 by Hanns Holger Rutz. All rights reserved. The project is released under the GNU Affero General Public License v3+ and comes with absolutely no warranties. To contact the author, send an e-mail to contact at sciss.de.

screenshot of example selection

requirements / building

This project builds with sbt against Scala 2.12, 2.13, 3.x (JVM) and Scala 2.13 (JS).

To use the library in your project:

"de.sciss" %% "lucre2d" % v

The current version v is "0.1.0".

running example

On the Desktop:

sbt examples/run

Or to configure the Processing-inspired examples:

sbt 'examples/runMain de.sciss.lucre.canvas.P5Examples --help'

Or to create a standalone:

sbt examples/assembly
java -Dsun.java2d.opengl=true -cp examples/Lucre2D.jar de.sciss.lucre.canvas.P5Examples --example tree --width 480 --height 480 --full-screen --animate --animate-tri --animate-fps 60

In the browser: to-do!

contributing

Please see the file CONTRIBUTING.md

notes

See notes directory for design process.