diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-10-05 20:38:25 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-10-05 20:38:25 +0530 |
| commit | efd9e0c8d586c30ed490eb9f2a096d95699e80d4 (patch) | |
| tree | 368bb671e11ea7183daf68167a77f74cfd12005c /src/main/kotlin | |
| parent | 57ff3d2eb6c5b0d2a3f67296844390376851b13c (diff) | |
| download | art-playground-openrndr-efd9e0c8d586c30ed490eb9f2a096d95699e80d4.tar.gz art-playground-openrndr-efd9e0c8d586c30ed490eb9f2a096d95699e80d4.zip | |
Remove hour/minute hands + redo antialiasing without supersampling
Diffstat (limited to 'src/main/kotlin')
| -rw-r--r-- | src/main/kotlin/time/TimeProgram.kt | 5 |
1 files changed, 1 insertions, 4 deletions
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) |
