diff --git a/orx-jumpflood/src/demo/kotlin/DemoShapeSDF03.kt b/orx-jumpflood/src/demo/kotlin/DemoShapeSDF03.kt index 9c0ae17f..54405bd6 100644 --- a/orx-jumpflood/src/demo/kotlin/DemoShapeSDF03.kt +++ b/orx-jumpflood/src/demo/kotlin/DemoShapeSDF03.kt @@ -8,8 +8,6 @@ import org.openrndr.extra.fx.distort.FluidDistort import org.openrndr.extra.jumpfill.ShapeSDF import org.openrndr.extra.jumpfill.draw.SDFStrokeFill import org.openrndr.extra.jumpfill.ops.* -import org.openrndr.ffmpeg.ScreenRecorder -import org.openrndr.math.Vector3 import org.openrndr.math.transforms.transform import org.openrndr.svg.loadSVG diff --git a/orx-jumpflood/src/demo/kotlin/DemoStraightSkeleton01.kt b/orx-jumpflood/src/demo/kotlin/DemoStraightSkeleton01.kt index 522a7751..b8aeef86 100644 --- a/orx-jumpflood/src/demo/kotlin/DemoStraightSkeleton01.kt +++ b/orx-jumpflood/src/demo/kotlin/DemoStraightSkeleton01.kt @@ -1,5 +1,3 @@ -package sketches - import org.openrndr.application import org.openrndr.color.ColorRGBa import org.openrndr.draw.ColorType @@ -17,18 +15,18 @@ fun main() { height = 720 } program { - val straightSkeleton = StraightSkeleton() - - val input = renderTarget(width, height) { - colorBuffer() - } - val field = input.colorBuffer(0).createEquivalent(type = ColorType.FLOAT32) - if (System.getProperty("takeScreenshot") == "true") { extend(SingleScreenshot()) { this.outputFile = System.getProperty("screenshotPath") } } + + val straightSkeleton = StraightSkeleton() + val input = renderTarget(width, height) { + colorBuffer() + } + val field = input.colorBuffer(0).createEquivalent(type = ColorType.FLOAT32) + extend { drawer.isolatedWithTarget(input) { // -- draw something interesting