Fix demos, upgrade to Gradle 7.2
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
import org.openrndr.application
|
||||
import org.openrndr.color.ColorRGBa
|
||||
import org.openrndr.math.CatmullRomChain2
|
||||
import org.openrndr.math.CatmulRomChain2
|
||||
import org.openrndr.math.Polar
|
||||
import org.openrndr.shape.ShapeContour
|
||||
import org.openrndr.shape.toContour
|
||||
@@ -10,7 +10,7 @@ import org.openrndr.shape.toContour
|
||||
suspend fun main() = application {
|
||||
program {
|
||||
val points = List(6) { Polar(it * 70.0, 100.0).cartesian + drawer.bounds.center }
|
||||
val cmr = CatmullRomChain2(points, 1.0, loop = true)
|
||||
val cmr = CatmulRomChain2(points, 1.0, loop = true)
|
||||
val contour = ShapeContour.fromPoints(cmr.positions(200), true)
|
||||
|
||||
extend {
|
||||
|
||||
Reference in New Issue
Block a user