add demos to README.md
This commit is contained in:
@@ -391,13 +391,6 @@ The rendering process includes:
|
||||
|
||||
### 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
|
||||
of a loaded image, sorted by luminosity. The colors are displayed
|
||||
as rectangles overlayed on top of the image.
|
||||
@@ -408,14 +401,6 @@ as rectangles overlayed on top of the image.
|
||||
|
||||
### 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,
|
||||
prioritizing bright colors.
|
||||
|
||||
@@ -425,13 +410,6 @@ prioritizing bright colors.
|
||||
|
||||
### 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.
|
||||
The cells are 32 by 32 pixels in size and are filled with a random sample
|
||||
taken from the color histogram of the image.
|
||||
|
||||
@@ -35,7 +35,6 @@ The language also holds some tools to manage the position and orientation of the
|
||||
## Demos
|
||||
### DemoTurtle01
|
||||
|
||||
/*
|
||||
Drawing a square using the turtle interface.
|
||||
|
||||

|
||||
@@ -44,7 +43,6 @@ Drawing a square using the turtle interface.
|
||||
|
||||
### DemoTurtle02
|
||||
|
||||
/*
|
||||
A simple random walk made using the turtle interface.
|
||||
|
||||

|
||||
@@ -53,7 +51,6 @@ A simple random walk made using the turtle interface.
|
||||
|
||||
### DemoTurtle03
|
||||
|
||||
/*
|
||||
Drawing shape contours aligned to the turtle's orientation.
|
||||
|
||||

|
||||
|
||||
Reference in New Issue
Block a user