Coracle is a portable generative/art/sketch playground written in Kotlin
Web Demos Android Demo Articles
Getting Started
Everything happens in Jetbrains IDEA, clone the Coracle repository and open the web or Android project.
Note. There did used to be a Korge implementation but it was flawed and inefficient so I've removed it, but if you have a little time creating a JVM implementation of the Coracle Renderer should be straightforward.
Platforms
Choose a platform:
Reference
Structure
Coracle uses the same basic sketch pattern as Processing, you initialise state in setup()
, then mutate values and update the screen in draw()
class MyDrawing: Drawing() {
override fun setup() {
//Setup state
}
override fun draw() {
//Draw in the main draw loop
}
}
Primitives
Inbuilt Objects
Also: CatmullRomSpline, Colour, Polyline, Rect
Why not just use Processing?
I think in Kotlin and I wanted something ridiculously lightweight that could still be used to create advanced animations.
Goals/Non Goals
- Goals: Have fun, experiment.
- Non Goals: performance, correctness, everything else.
License
You probably don't want to use this, it was an itch I needed to scratch and there will be no support whatsoever.
I've not decided on a license yet, but if you think it was okay for the FSF to readmit Richard Stallman you can't use it.
Important
Trans rights are human rights, this framework kills fascists
Made by Orllewin