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