[orx-marching-squares] Add demo texts.

This commit is contained in:
Abe Pazos
2025-10-05 16:21:34 +02:00
parent 923e64f37a
commit 3bda443d62
4 changed files with 45 additions and 0 deletions

View File

@@ -6,6 +6,13 @@ import kotlin.math.PI
import kotlin.math.cos
import kotlin.math.sin
/**
* Demonstrates how Marching Squares can be used to generate animations, by using a time-related
* variable like `seconds`. The evaluated function is somewhat more complex than previous ones,
* but one can arrive to such functions by exploration and experimentation, nesting trigonometrical
* functions and making use of `seconds`, v.x and v.y.
*
*/
fun main() = application {
configure {
width = 720