Clean up unused dependencies, reorganize source sets, and update readme with project details.

This commit is contained in:
2025-10-18 12:38:40 +02:00
parent 50a765f4ae
commit 56386d406c
3 changed files with 8 additions and 11 deletions

View File

@@ -31,13 +31,7 @@ kotlin {
} }
sourceSets { sourceSets {
val commonMain by getting { val commonMain by getting
dependencies { val jsMain by getting
api("org.jetbrains.kotlinx:kotlinx-html:0.12.0")
}
}
val jsMain by getting {
}
} }
} }

View File

@@ -1 +1,6 @@
See an example here: http://www.astraeus.nl/ # Kotlin/JS WebGL Fractal
An animated WebGL Julia set rendered in the browser using Kotlin/JS.
A live example is previously hosted here:
- http://www.astraeus.nl/

View File

@@ -1,11 +1,9 @@
import com.persesgames.shader.ShaderProgram import com.persesgames.shader.ShaderProgram
import com.persesgames.shader.VertextAttributeInfo import com.persesgames.shader.VertextAttributeInfo
import kotlinx.browser.window import kotlinx.browser.window
import kotlinx.html.InputType
import org.khronos.webgl.Float32Array import org.khronos.webgl.Float32Array
import org.khronos.webgl.WebGLBuffer import org.khronos.webgl.WebGLBuffer
import org.khronos.webgl.WebGLRenderingContext import org.khronos.webgl.WebGLRenderingContext
import kotlin.browser.window
import kotlin.js.Date import kotlin.js.Date
import kotlin.math.cos import kotlin.math.cos
import kotlin.math.sin import kotlin.math.sin