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 {
val commonMain by getting {
dependencies {
api("org.jetbrains.kotlinx:kotlinx-html:0.12.0")
}
}
val jsMain by getting {
}
val commonMain by getting
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.VertextAttributeInfo
import kotlinx.browser.window
import kotlinx.html.InputType
import org.khronos.webgl.Float32Array
import org.khronos.webgl.WebGLBuffer
import org.khronos.webgl.WebGLRenderingContext
import kotlin.browser.window
import kotlin.js.Date
import kotlin.math.cos
import kotlin.math.sin