Remove .take() from demos and tests when using .sampleEquidistant() (#325)

This commit is contained in:
Abe Pazos
2024-01-22 07:03:20 +00:00
committed by GitHub
parent 06f11b6ad7
commit fbcdd222ef
6 changed files with 5 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ fun main() {
drawer.clear(ColorRGBa.BLACK)
for ((i, triangle) in triangles.withIndex()) {
drawer.fill = ColorRGBa.PINK.shade(1.0 - i / (triangles.size * 1.2))
drawer.stroke = ColorRGBa.PINK.shade( i / (triangles.size * 1.0) + 0.1)
drawer.stroke = ColorRGBa.PINK.shade(i / (triangles.size * 1.0) + 0.1)
drawer.contour(triangle)
}
}