openrndr
gloss
Our great sponsors
openrndr | gloss | |
---|---|---|
16 | 5 | |
818 | 392 | |
1.0% | - | |
9.3 | 0.0 | |
12 days ago | over 1 year ago | |
Kotlin | Haskell | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
openrndr
-
Show HN: SalamiVG, an SVG framework for generative art and creative coding
I've been having fun making generative art for a few years and recently got the itch to write my own JS library for sketching SVGs.
This library is heavily inspired by OPENRNDR [1], which to date has been my framework of choice.
My motivation to write a JS library for SVGs came from a desire to bring the programming style I love from OPENRNDR into a language I use every day. I was also motivated to generate simple SVGs that I understood deeply because I'd like to start using a plotter soon to bring these sketches into the physical world.
The library is pretty bare-bones, but I did my best to document it thoroughly enough that a beginner could install it and draw their first sketch in as little time as possible. All the documentation, including an FAQ, is hosted in the project Wiki [2]. And yes, I do recommend p5.js for most users/beginners, but I still believe this library fills a niche.
Happy to answer any questions, or field any criticisms/notes.
-
live
I am primarily using the openrndr framework to do all of this.
-
Mastodon Bot for Retro-Style Space Images
Last year I wrote Kosmik, a Twitter bot for pixelized retro-style space images in Scala, but I was dissatisfied for several reasons, performance being one, so I migrated the code to Kotlin using openrndr as graphics API recently, and moved the bot to Mastodon. What do you think?
-
Framework for creative coding in Lisp?
Is there a framework, library or package along the lines of Processing or OPENRNDR for Common-Lisp or Clojure etc.?
- Openrndr: Open-source framework for creative coding, written in Kotlin
- Openrndr: A Kotlin Based Creative Coding Framework
-
Ask HN: What's the best “higher level Rust” these days?
I’d also be interested in peoples replies. I know there is a creative coding framework built on it (haven’t used it though) https://openrndr.org/ .
-
Are there more elegant languages for generative art and creative coding?
Kotlin is very similar to Swift. OpenRNDR is a coding framework written it it. Kotlin has many of the features you speak of. Kotlin supports many of the features you ask about (or at least something similar to it).
-
Coracle - Kotlin based Processing clone
Also have you checked out https://openrndr.org/
-
Processing vs C++ vs Rust for creative coding
After trying to use Processing with Kotlin I discovered OPENRNDR. This is a new-ish creative coding framework created in Kotlin and it runs on the JVM. I'd say the performance is somewhere around what's typical of Processing (so pretty good), it also supports shader programming if you want to squeeze more out of it.
gloss
-
About Gloss
That Picture type is what does all the heavy lifting. Have you read its Haddocks already? There's an example using play in gloss-examples if it helps you (it just renders the most recent event as text on the screen). When I was new to Haskell and gloss, I found "following the types" helped. There's only a limited amount of things you can do with Picture, and those limitations can help guide you.
-
Are there more elegant languages for generative art and creative coding?
Haskell is the purest of the pure, and a fun language. Never done graphics with it but I see Gloss looks decent - https://github.com/benl23x5/gloss.
-
Can't install WxHaskell on Windows
If you just want to draw stuff on a window, then have a look at gloss (a very simple yet useful interface to OpenGL) and sdl2 (which gives bindings to the SDL library).
-
Using gloss on Windows
This question is in the gloss FAQ:
-
Best beginner-friendly 2D library
Ideally, I'd like something like gloss in Haskell.
What are some alternatives?
processing - Source code for the Processing Core and Development Environment (PDE)
OpenGL - Haskell bindings to OpenGL
Vulkan - Examples and demos for the new Vulkan API
nanovg - NanoVG Haskell bindings
imgui - Bloat-free Immediate Mode Graphical User interface for JVM with minimal dependencies (rewrite of dear imgui)
GLUT - Haskell bindings to GLUT
three.kt - Three.js port for the JVM (desktop)
brick - A declarative Unix terminal UI library written in Haskell
kotlin-unsigned - unsigned support for Kotlin via boxed types and unsigned operators
Rasterific - A drawing engine in Haskell
JOGL2D - Zero-overhead 2D rendering library for JOGL using Kotlin
pcf-font - PCF font parsing and rendering library.