https://github.com/sciss/lucre2d
Expression based 2D graphics system based on Lucre. Mirror of https://codeberg.org/sciss/Lucre2D
https://github.com/sciss/lucre2d
2d graphics processing
Last synced: about 1 month ago
JSON representation
Expression based 2D graphics system based on Lucre. Mirror of https://codeberg.org/sciss/Lucre2D
- Host: GitHub
- URL: https://github.com/sciss/lucre2d
- Owner: Sciss
- License: agpl-3.0
- Created: 2022-01-15T15:22:43.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-01T15:42:49.000Z (about 4 years ago)
- Last Synced: 2025-01-05T07:42:12.126Z (over 1 year ago)
- Topics: 2d, graphics, processing
- Language: Scala
- Homepage:
- Size: 10.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# LucreSwing
[](https://github.com/Sciss/Lucre2D/actions?query=workflow%3A%22Scala+CI%22)
[](https://maven-badges.herokuapp.com/maven-central/de.sciss/lucre2d_2.13)
## statement
_in experimental (alpha) state_
Lucre2D is a Scala library which provides an expression based 2D graphics canvas for the [Lucre](https://codeberg.org/sciss/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](https://codeberg.org/sciss/Lucre2D/raw/main/LICENSE) v3+ and comes
with absolutely no warranties. To contact the author, send an e-mail to `contact at sciss.de`.

## 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](CONTRIBUTING.md)
## notes
See `notes` directory for design process.