add demos to README.md

This commit is contained in:
Abe Pazos
2025-11-23 13:38:34 +00:00
parent 10888b0e83
commit 3ba0395c16
2 changed files with 0 additions and 25 deletions

View File

@@ -391,13 +391,6 @@ The rendering process includes:
### histogram/DemoHistogram01 ### histogram/DemoHistogram01
package histogram
import org.openrndr.application
import org.openrndr.draw.loadImage
import org.openrndr.extra.color.statistics.calculateHistogramRGB
/*
Demonstrates how to generate a palette with the top 32 colors Demonstrates how to generate a palette with the top 32 colors
of a loaded image, sorted by luminosity. The colors are displayed of a loaded image, sorted by luminosity. The colors are displayed
as rectangles overlayed on top of the image. as rectangles overlayed on top of the image.
@@ -408,14 +401,6 @@ as rectangles overlayed on top of the image.
### histogram/DemoHistogram02 ### histogram/DemoHistogram02
package histogram
import org.openrndr.application
import org.openrndr.draw.loadImage
import org.openrndr.extra.color.statistics.calculateHistogramRGB
import kotlin.math.pow
/*
Show the color histogram of an image using non-uniform weighting, Show the color histogram of an image using non-uniform weighting,
prioritizing bright colors. prioritizing bright colors.
@@ -425,13 +410,6 @@ prioritizing bright colors.
### histogram/DemoHistogram03 ### histogram/DemoHistogram03
package histogram
import org.openrndr.application
import org.openrndr.draw.loadImage
import org.openrndr.extra.color.statistics.calculateHistogramRGB
/*
Create a simple grid-like composition based on colors sampled from image. Create a simple grid-like composition based on colors sampled from image.
The cells are 32 by 32 pixels in size and are filled with a random sample The cells are 32 by 32 pixels in size and are filled with a random sample
taken from the color histogram of the image. taken from the color histogram of the image.

View File

@@ -35,7 +35,6 @@ The language also holds some tools to manage the position and orientation of the
## Demos ## Demos
### DemoTurtle01 ### DemoTurtle01
/*
Drawing a square using the turtle interface. Drawing a square using the turtle interface.
![DemoTurtle01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-turtle/images/DemoTurtle01Kt.png) ![DemoTurtle01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-turtle/images/DemoTurtle01Kt.png)
@@ -44,7 +43,6 @@ Drawing a square using the turtle interface.
### DemoTurtle02 ### DemoTurtle02
/*
A simple random walk made using the turtle interface. A simple random walk made using the turtle interface.
![DemoTurtle02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-turtle/images/DemoTurtle02Kt.png) ![DemoTurtle02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-turtle/images/DemoTurtle02Kt.png)
@@ -53,7 +51,6 @@ A simple random walk made using the turtle interface.
### DemoTurtle03 ### DemoTurtle03
/*
Drawing shape contours aligned to the turtle's orientation. Drawing shape contours aligned to the turtle's orientation.
![DemoTurtle03Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-turtle/images/DemoTurtle03Kt.png) ![DemoTurtle03Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-turtle/images/DemoTurtle03Kt.png)