Clean up unused dependencies, reorganize source sets, and update readme with project details.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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/
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user