From efd9e0c8d586c30ed490eb9f2a096d95699e80d4 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Mon, 5 Oct 2026 20:38:25 +0530 Subject: Remove hour/minute hands + redo antialiasing without supersampling --- src/main/kotlin/time/TimeProgram.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/main/kotlin/time') diff --git a/src/main/kotlin/time/TimeProgram.kt b/src/main/kotlin/time/TimeProgram.kt index 0f5db32..e510aa9 100644 --- a/src/main/kotlin/time/TimeProgram.kt +++ b/src/main/kotlin/time/TimeProgram.kt @@ -8,9 +8,8 @@ import org.openrndr.math.* import phenax.utils.* fun main() = application { - recordDuration(5.seconds()) + recordDuration(20.seconds()) - // TODO: remove hardcode if (captureEnabled) { configure { width = 1920 @@ -59,11 +58,9 @@ fun main() = application { if (recordingEnabled) { cs.uniform("hours", 10.0) cs.uniform("minutes", 10.0 + seconds / 60.0) - cs.uniform("seconds", time.getSecond().toFloat()) } else { cs.uniform("hours", time.getHour().toFloat()) cs.uniform("minutes", time.getMinute().toFloat()) - cs.uniform("seconds", time.getSecond().toFloat()) } cs.uniform("time", seconds) -- cgit v1.3.1