Initial commit

This commit is contained in:
2022-12-22 16:27:24 +01:00
parent 1845e45c09
commit 5422e41017
14 changed files with 744 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
package nl.astraeus
import kotlinx.browser.document
import nl.astraeus.handler.AudioWorkletHandler
fun main() {
AudioWorkletHandler.loadCode()
println("Ok")
document.getElementById("clicker")?.also {
it.addEventListener("click", {
AudioWorkletHandler.createContext {
println("Created context")
AudioWorkletHandler.start()
}
}, "")
}
}