Logo

0x5a.live

for different kinds of informations and explorations.

GitHub - openrndr/orx: A growing library of assorted data structures, algorithms and utilities for OPENRNDR

A growing library of assorted data structures, algorithms and utilities for OPENRNDR - openrndr/orx

Visit SiteGitHub - openrndr/orx: A growing library of assorted data structures, algorithms and utilities for OPENRNDR

GitHub - openrndr/orx: A growing library of assorted data structures, algorithms and utilities for OPENRNDR

A growing library of assorted data structures, algorithms and utilities for OPENRNDR - openrndr/orx

Powered by 0x5a.live 💗

ORX (OPENRNDR EXTRA)

ORX maven badge

A growing library of assorted data structures, algorithms and utilities to complement OPENRNDR. Multiplatform, unless they deal with hardware or depend on binary libraries. Those are JVM-only.

Usage

To make use of these extensions clone the OPENRNDR template, uncomment the ones you need in its build.gradle.kts file, and reload Gradle. Cloning this repo is optional but useful to run the demos in each ORX folder, to study the source code, and to contribute to existing or new ORX'es.

Multiplatform

name                                     description
orx-camera 2D and 3D cameras controllable via mouse and keyboard.
orx-color Color spaces, palettes, histograms, named colors.
orx-composition Shape composition library
orx-compositor Toolkit to make composite (layered) images using blend modes and filters.
orx-compute-graph A graph for computation.
orx-compute-graph-nodes A collection of nodes that can be used with orx-compute-graph.
orx-delegate-magic Collection of magical property delegators. For tracking variable change or interpolate towards the value of a variable.
orx-easing Easing functions for smooth animation or non-linear interpolation.
orx-envelopes ADSR (Attack, Decay, Sustain, Release) envelopes and tools.
orx-expression-evaluator Tools to evaluate strings containing mathematical expressions.
orx-expression-evaluator-typed Tools to evaluate strings containing typed mathematical expressions.
orx-fcurve FCurves are 1 dimensional function curves constructed from 2D bezier functions. They are often used to control a property over time. x values don't have any units, but they often represent a duration in seconds.
orx-fft Simple forward and inverse FFT routine
orx-fx Ready-to-use GPU-based visual effects or filters. Most include orx-parameters annotations so they can be easily controlled via orx-gui.
orx-gradient-descent Finds equation inputs that output a minimum value: easy to use gradient descent based minimizer.
orx-hash-grid 2D space partitioning for fast point queries.
orx-image-fit Draws an image ensuring it fits or covers the specified Rectangle.
orx-integral-image CPU and GPU-based implementation for integral images (summed area tables)
orx-interval-tree For querying a data set containing time segments (start time and end time) when we need all entries containing a specific time value. Useful when creating a timeline.
orx-jumpflood Calculates distance or direction fields from an image. GPU accelerated, 2D. Results are provided as an image.
orx-kdtree Fast search of points closest to the queried point in a data set. 2D, 3D and 4D.
orx-marching-squares Tools for extracting contours from functions
orx-mesh-generators 3D-mesh generating functions and DSL.
orx-mesh-noise Generate random samples on the surface of a mesh ## Demos ### DemoMeshNoise01 source code
orx-no-clear Provides the classical "draw-without-clearing-the-screen" functionality.
orx-noise Randomness for every type of person: Perlin, uniform, value, simplex, fractal and many other types of noise.
orx-obj-loader Simple loader and saver for Wavefront .obj 3D mesh files.
orx-palette Provides hundreds of color palettes.
orx-parameters Provides annotations and tools for turning Kotlin properties into introspectable parameters. Used by orx-gui to automatically generate user interfaces.
orx-property-watchers Tools for setting up property watcher based pipelines
orx-quadtree A Quadtree is a spatial partioning tree structure meant to provide fast spatial queries such as nearest points within a range.
orx-shade-styles Shader based fills and strokes, including various types of gradient fills.
orx-shader-phrases A library that provides a #pragma import statement for shaders.
orx-shapes Collection of 2D shape generators and modifiers.
orx-svg SVG reader and writer library.
orx-temporal-blur Post-processing temporal-blur video effect. CPU intense, therefore not intended for use with the ScreenRecorder extension or other real-time uses.
orx-text-writer Writing texts with layouts
orx-time-operators A collection of time-sensitive functions aimed at controlling raw data over-time, such as Envelope and LFO.
orx-timer Simple timer functionality providing repeat, to run code with a given interval and timeOut, to run code once after a given delay.
orx-triangulation Delaunay triangulation and Voronoi diagrams.
orx-turtle Bezier (ShapeContour) backed turtle graphics.
orx-view-box To create independent views inside one program window.

JVM only

name                                     description
orx-boofcv Helper functions to ease working with the BoofCV computer vision library and its data types.
orx-chataigne Expose variables to Chataigne and any other applications that can interface with it. The current implementation makes use of the OSC protocol and supports Double and ColorRGBa.
orx-depth-camera-calibrator Class to help callibrate depth and transformation matrices when using one or more depth cameras.
orx-dnk3 A scene graph based 3d renderer with support for Gltf based assets
orx-file-watcher Monitor files on disk and auto-reload them if they change.
orx-git-archiver An extension that hooks into Program.requestAssets to commit changed code to Git and provide filenames based on the commit hash.
orx-git-archiver-gradle A Gradle plugin that turns a git history and screenshots directory into a markdown file.
orx-gui Automatic UI (sliders, buttons, etc.) generated from annotated classes and properties. Uses orx-panel and orx-parameters.
orx-keyframer Create animated timelines by specifying properties and times in keyframes, then play it back at any speed (even backwards) automatically interpolating properties. Save, load, use mathematical expressions and callbacks. Powerful and highly reusable.
orx-kinect-v1 Support for the Kinect V1 RGB and depth cameras.
orx-midi MIDI support for keyboards and controllers. Send and receive note and control change events. Bind inputs to variables.
orx-minim Simplifies working with the Minim sound library. Provides sound synthesis and analysis.
orx-olive Provides live coding functionality: updates a running OPENRNDR program when you save your changes.
orx-osc Open Sound Control makes it possible to send and receive messages from other OSC enabled programs in the same or a different computer. Used to create multi-application or multi-device software.
orx-panel The OPENRNDR UI toolkit. Provides buttons, sliders, text, a color picker and much more. HTML/CSS-like.
orx-poisson-fill Post processing effect that fills transparent parts of the image interpolating the edge pixel colors. GPU-based.
orx-rabbit-control Creates a web-based remote UI to control your OPENRNDR program from a mobile device or a different computer. Alternative to orx-gui.
orx-runway Interfaces with the RunwayML machine learning library that provides features like motion capture, image synthesis, object recognition, style transfer and more. More info at runwayml.com.
orx-syphon Send frames to- and from OPENRNDR to other applications in real time using Syphon for Mac.
orx-video-profiles GIF, H265, PNG, Prores, TIFF and Webp VideoWriterProfiles for ScreenRecorder and VideoWriter.

Developer notes

Publish and use local builds of the library in your applications

First, build and publish OPENRNDR to the local maven repository:

Run (or import in IntelliJ IDEA and edit the run configuration).

# In openrndr repository
./gradlew publishToMavenLocal snapshot

This command will build and publish a snapshot of the next version of the library to your local maven repository. The exact version will be shown in the console output during the build process.

Now you can run the same command again but for this repository.

# In orx repository
./gradlew publishToMavenLocal snapshot

It will automatically use the locally published snapshot of OPENRNDR for building ORX and will publish ORX to your local maven repository with the same logic as before.

Once that's done, you can use the local builds of OPENRNDR and ORX in your openrndr-template by specifying the version that was published.

Take a look at the wiki for a more detailed walk-through.

Kotlin Resources

are all listed below.

Resources

listed to get explored on!!

Made with ❤️

to provide different kinds of informations and resources.