From 9019e7e7ea8749353e5fbc709b5f79c08ca10530 Mon Sep 17 00:00:00 2001 From: OPENRNDR Actions Date: Thu, 2 Feb 2023 17:39:53 +0000 Subject: [PATCH] add demos to README.md --- orx-marching-squares/README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/orx-marching-squares/README.md b/orx-marching-squares/README.md index a78e0baa..088204b0 100644 --- a/orx-marching-squares/README.md +++ b/orx-marching-squares/README.md @@ -18,4 +18,25 @@ With a small adjustment to the given function one can use `findContours` to find fun f(v: Vector2) = cos((v.distanceTo(drawer.bounds.center) / 100.0) * 2 * PI) val segments = findContours(::f, drawer.bounds.offsetEdges(32.0), 16.0) drawer.lineSegments(segments) -``` \ No newline at end of file +``` + +## Demos +### FindContours01 +[source code](src/jvmDemo/kotlin/FindContours01.kt) + +![FindContours01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-marching-squares/images/FindContours01Kt.png) + +### FindContours02 +[source code](src/jvmDemo/kotlin/FindContours02.kt) + +![FindContours02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-marching-squares/images/FindContours02Kt.png) + +### FindContours03 +[source code](src/jvmDemo/kotlin/FindContours03.kt) + +![FindContours03Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-marching-squares/images/FindContours03Kt.png) + +### FindContours04 +[source code](src/jvmDemo/kotlin/FindContours04.kt) + +![FindContours04Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-marching-squares/images/FindContours04Kt.png)