Hi everyone!
I’m new to openrndr but so far I’m super excited about i!
I’m also new to java and kotlin so sorry if this is obvious, I couldn’t find anything to fix it.
I uncommented “orx-syphon” in build.gradle and realoaded.
and I’m getting this error
↑ ‘long org.openrndr.extra.syphon.jsyphon.JSyphonServer.initWithName(java.lang.String, java.util.HashMap)’ (UnsatisfiedLinkError)
I’m attaching the whole error and code beneath
The app I’m trying to make crops and mirrors a webcam input with glsl and trasmit it via syphon
/Users/notbloom/Library/Java/JavaVirtualMachines/corretto-17.0.3/Contents/Home/bin/java -XstartOnFirstThread -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=60990:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Users/notbloom/Work/Code/OPENRNDR/Test/build/classes/kotlin/main:/Users/notbloom/Work/Code/OPENRNDR/Test/build/resources/main:/Users/notbloom/.gradle/caches/modules-2/files-2.1/io.github.microutils/kotlin-logging-jvm/2.1.21/7a65a2789a27c67c281a4fe9e78689cf5e2b36d8/kotlin-logging-jvm-2.1.21.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-ffmpeg/0.4.0-rc.7/1c5a92150298e9c0cf5e81679381b02a9140c5ba/openrndr-ffmpeg-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr.extra/orx-gui/0.4.0-rc.8/e6738b3546c6c17108910ec7174912465257bf7c/orx-gui-0.4.0-rc.8.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk8/1.6.10/e80fe6ac3c3573a80305f5ec43f86b829e8ab53d/kotlin-stdlib-jdk8-1.6.10.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr.extra/orx-git-archiver/0.4.0-rc.8/ffe4090535454019ffa02d143958f08051fe1ef4/orx-git-archiver-0.4.0-rc.8.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr.extra/orx-olive/0.4.0-rc.8/c0a065369df624259022e9b5c230bc9ddc617885/orx-olive-0.4.0-rc.8.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr.extra/orx-panel/0.4.0-rc.8/efa02faa58f030a95b3fe20b04fdcc5459e714c3/orx-panel-0.4.0-rc.8.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr.extra/orx-syphon/0.4.0-rc.8/2714374492ca65298951852a36851ca124cdb47e/orx-syphon-0.4.0-rc.8.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-script-runtime/1.6.10/d0a7ff2e2500ef497ed0214ae40ad3c8387a6164/kotlin-script-runtime-1.6.10.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-core-jvm/1.6.0/f3b8fd26c2e76d2f18cbc36aacb6e349fcb9fd5f/kotlinx-coroutines-core-jvm-1.6.0.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/1.7.32/cdcff33940d9f2de763bc41ea05a0be5941176c3/slf4j-api-1.7.32.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.6.10/c118700e3a33c8a0d9adc920e9dec0831171925/kotlin-stdlib-common-1.6.10.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-openal-jvm/0.4.0-rc.7/3467389291d5387aa4108957ef4e5bd937a1eefe/openrndr-openal-jvm-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-application-jvm/0.4.0-rc.7/79acb6d52bdcb499f251d8b2268d2237afbe73a4/openrndr-application-jvm-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-svg-jvm/0.4.0-rc.7/b1634161b55718eeb29d55c34037658e60e729ae/openrndr-svg-jvm-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-animatable-jvm/0.4.0-rc.7/fd4db8610d18f63ba41454c6eb94639b79d962e1/openrndr-animatable-jvm-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-extensions-jvm/0.4.0-rc.7/e7a49f659d0bf5adfdb5a0037888c35174bffde9/openrndr-extensions-jvm-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-filter-jvm/0.4.0-rc.7/cd9f23abeacd51d92f500773564f92a2d5d58a10/openrndr-filter-jvm-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr.extra/orx-color-jvm/0.4.0-rc.8/3514ad57d36f2b82d0a334eaf1891eb36d85527f/orx-color-jvm-0.4.0-rc.8.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr.extra/orx-compositor-jvm/0.4.0-rc.8/42e7c8a5e7013da54d57efe64a35f78217883be7/orx-compositor-jvm-0.4.0-rc.8.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr.extra/orx-fx-jvm/0.4.0-rc.8/32d0fe2b131945b51fe78ae13fd6d3259574e2b0/orx-fx-jvm-0.4.0-rc.8.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr.extra/orx-image-fit-jvm/0.4.0-rc.8/35382ae9a562b5fc6e37f4f1410fadb0f78ad8ee/orx-image-fit-jvm-0.4.0-rc.8.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr.extra/orx-noise-jvm/0.4.0-rc.8/431d082f4abe5b3cfa9832aa89a12f7c05a7c8fe/orx-noise-jvm-0.4.0-rc.8.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr.extra/orx-shade-styles-jvm/0.4.0-rc.8/aa01a11ea173f7b1941eecb13f6d2eeb82551225/orx-shade-styles-jvm-0.4.0-rc.8.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr.extra/orx-shapes-jvm/0.4.0-rc.8/dc85d8cbb015bc0624f336acb2a93b5db56421f6/orx-shapes-jvm-0.4.0-rc.8.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.6.10/e1c380673654a089c4f0c9f83d0ddfdc1efdb498/kotlin-stdlib-jdk7-1.6.10.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.6.10/b8af3fe6f1ca88526914929add63cf5e7c5049af/kotlin-stdlib-1.6.10.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr.extra/orx-parameters-jvm/0.4.0-rc.8/15eca1b983be3faa76216020123211549adcd4ef/orx-parameters-jvm-0.4.0-rc.8.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/919f0dfe192fb4e063e7dacadee7f8bb9a2672a9/annotations-13.0.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-draw-jvm/0.4.0-rc.7/5dcebc89b2d37801446c62ad18af3f39f444910d/openrndr-draw-jvm-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-math-jvm/0.4.0-rc.7/dda39a89b64bcd2f1227b45951e1cd56881067a/openrndr-math-jvm-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-event-jvm/0.4.0-rc.7/a547274a024587b72982651ac125e9398447889b/openrndr-event-jvm-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-shape-jvm/0.4.0-rc.7/1b3bf2038362a6570f2494235f9184d928c9290e/openrndr-shape-jvm-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-color-jvm/0.4.0-rc.7/784d7c9409768dfb7d6f976975fb6544189ec81b/openrndr-color-jvm-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-utils-jvm/0.4.0-rc.7/1e164b6385b1ac39ca4583c0750853e5a8302a19/openrndr-utils-jvm-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-ktessellation-jvm/0.4.0-rc.7/5122233733ffb44cc2e1b5b0055737a59d7f9cee/openrndr-ktessellation-jvm-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-gl3-natives-macos/0.4.0-rc.7/3b223fbe34d317c72266988c84b9ca171f25bbf1/openrndr-gl3-natives-macos-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-openal-natives-macos/0.4.0-rc.7/873a7cbd482ace7f600dc20c8d593ec2507f8f3c/openrndr-openal-natives-macos-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-ffmpeg-natives-macos/0.4.0-rc.7/c4afe689bdcdb1bb128bd512702ef2f46d2881aa/openrndr-ffmpeg-natives-macos-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-slf4j-impl/2.17.2/183f7c95fc981f3e97d008b363341343508848e/log4j-slf4j-impl-2.17.2.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.dataformat/jackson-dataformat-yaml/2.13.2/5601496b5b6e43d947aeeffbffadb2b18961c731/jackson-dataformat-yaml-2.13.2.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-databind/2.13.2/926e48c451166a291f1ce6c6276d9abbefa7c00f/jackson-databind-2.13.2.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-core/0.4.0-rc.7/eea555e5c68e1661c781fe04d3b5e5b21d74f385/openrndr-core-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.lwjgl/lwjgl-openal/3.3.1/2623a6b8ae1dfcd880738656a9f0243d2e6840bd/lwjgl-openal-3.3.1.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.lwjgl/lwjgl-openal/3.3.1/3a57b8911835fb58b5e558d0ca0d28157e263d45/lwjgl-openal-3.3.1-natives-macos.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.lwjgl/lwjgl/3.3.1/ae58664f88e18a9bb2c77b063833ca7aaec484cb/lwjgl-3.3.1.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.lwjgl/lwjgl/3.3.1/fc6bb723dec2cd031557dccb2a95f0ab80acb9db/lwjgl-3.3.1-natives-macos.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.bytedeco/ffmpeg/5.0-1.5.7/5b113b78b1e38daf683d1a8ba813871acd3e3f0/ffmpeg-5.0-1.5.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.bytedeco/ffmpeg/5.0-1.5.7/dd469d6db55af805d3b1fc3c258c713a43adb6d2/ffmpeg-5.0-1.5.7-macosx-x86_64.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.eclipse.jgit/org.eclipse.jgit/5.12.0.202106070339-r/b7792da62103c956d3e58e29fb2e6e5c5f0e1317/org.eclipse.jgit-5.12.0.202106070339-r.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-dialogs/0.4.0-rc.7/3fe25a07186392295612e50ca0cf558a5a32cd26/openrndr-dialogs-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-reflect/1.6.10/1cbe9c92c12a94eea200d23c2bbaedaf3daf5132/kotlin-reflect-1.6.10.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.9.0/8a1167e089096758b49f9b34066ef98b2f4b37aa/gson-2.9.0.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr.extra/orx-file-watcher/0.4.0-rc.8/90564afbbdfb74dd573199de2c52c1a1e4a21d0c/orx-file-watcher-0.4.0-rc.8.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr.extra/orx-kotlin-parser/0.4.0-rc.8/3c72d4761168edcdb9f279a54dad1444f249871a/orx-kotlin-parser-0.4.0-rc.8.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-scripting-jsr223/1.6.10/5144eae038eb3c7b311ce2bddf1143c985dd4cc5/kotlin-scripting-jsr223-1.6.10.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-scripting-jvm-host/1.6.10/3666e1ea8dab1dfa97748d7cd01dff831ecac5ad/kotlin-scripting-jvm-host-1.6.10.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-scripting-jvm/1.6.10/dbe683647dcb04cda92fe4423acb741a2f144a69/kotlin-scripting-jvm-1.6.10.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.lwjgl/lwjgl-glfw/3.3.1/cbac1b8d30cb4795149c1ef540f912671a8616d0/lwjgl-glfw-3.3.1.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.lwjgl/lwjgl-glfw/3.3.1/9ec4ce1fc8c85fdef03ef4ff2aace6f5775fb280/lwjgl-glfw-3.3.1-natives-macos.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.lwjgl/lwjgl-jemalloc/3.3.1/a817bcf213db49f710603677457567c37d53e103/lwjgl-jemalloc-3.3.1.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.lwjgl/lwjgl-jemalloc/3.3.1/56424dc8db3cfb8e7b594aa6d59a4f4387b7f544/lwjgl-jemalloc-3.3.1-natives-macos.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.lwjgl/lwjgl-opengl/3.3.1/831a5533a21a5f4f81bbc51bb13e9899319b5411/lwjgl-opengl-3.3.1.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.lwjgl/lwjgl-opengl/3.3.1/a0d12697ea019a7362eff26475b0531340e876a6/lwjgl-opengl-3.3.1-natives-macos.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.lwjgl/lwjgl-stb/3.3.1/b119297cf8ed01f247abe8685857f8e7fcf5980f/lwjgl-stb-3.3.1.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.lwjgl/lwjgl-stb/3.3.1/def8879b8d38a47a4cc1d48b1f9a7b772e51258e/lwjgl-stb-3.3.1-natives-macos.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.lwjgl/lwjgl-tinyexr/3.3.1/2eb0ba73dd85046343b3fbd6ed739352123ce631/lwjgl-tinyexr-3.3.1.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.lwjgl/lwjgl-tinyexr/3.3.1/a69795073d8d781defc0650442972e8bb7443cc0/lwjgl-tinyexr-3.3.1-natives-macos.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.lwjgl/lwjgl-nfd/3.3.1/622318116996ddcff449b46cb38f0fdee39b8ac3/lwjgl-nfd-3.3.1.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.lwjgl/lwjgl-nfd/3.3.1/589d2ffc6cbaad100af363afa31f870299198da1/lwjgl-nfd-3.3.1-natives-macos.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.bytedeco/javacpp/1.5.7/4d6862d0056ff51bb546ef483e4023fe44fc7b06/javacpp-1.5.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.bytedeco/javacpp/1.5.7/7c937db846f77c5e33ad9626fe4a155d96062f38/javacpp-1.5.7-macosx-x86_64.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-gl3-jvm/0.4.0-rc.7/bbc38177bc8d2e58f4190bab75bffa6ee9835122/openrndr-gl3-jvm-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-core/2.17.2/fa43ba4467f5300b16d1e0742934149bfc5ac564/log4j-core-2.17.2.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.17.2/f42d6afa111b4dec5d2aea0fe2197240749a4ea6/log4j-api-2.17.2.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.13.2/a6a0e0620d51833feffc67bccb51937b2345763/jackson-core-2.13.2.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.yaml/snakeyaml/1.30/8fde7fe2586328ac3c68db92045e1c8759125000/snakeyaml-1.30.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-annotations/2.13.2/ec18851f1976d5b810ae1a5fcc32520d2d38f77a/jackson-annotations-2.13.2.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/com.googlecode.javaewah/JavaEWAH/1.1.7/570dde3cd706ae10c62fe19b150928cfdb415e87/JavaEWAH-1.1.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.antlr/antlr4/4.9.3/9d47afaa75d70903b5b77413b034d6b201d7d5d6/antlr4-4.9.3.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.antlr/antlr4-runtime/4.9.3/81befc16ebedb8b8aea3e4c0835dd5ca7e8523a8/antlr4-runtime-4.9.3.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-scripting-compiler-embeddable/1.6.10/b85371aaeeb858623ad2080c41bcba7d6854783/kotlin-scripting-compiler-embeddable-1.6.10.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-compiler-embeddable/1.6.10/88f2073f4020cdb83132cfe940ceb9a60aba54ea/kotlin-compiler-embeddable-1.6.10.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-scripting-common/1.6.10/b3b71fd93878f2b4f19d099ac6430c67549a1c77/kotlin-scripting-common-1.6.10.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.jsoup/jsoup/1.14.3/c43a81e18e6d0eb71951aa031d55d5c293c531a6/jsoup-1.14.3.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr.extra/orx-triangulation/0.4.0-rc.8/a011f0935297bba791ddd1a87d92e6af9251baeb/orx-triangulation-0.4.0-rc.8.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.lwjgl/lwjgl-egl/3.3.1/8399e6734ad7d97d2e1f865b2c6c5232d5126dca/lwjgl-egl-3.3.1.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.antlr/ST4/4.3.1/9c61ac6d17b7f450b4048742c2cc73787972518e/ST4-4.3.1.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.antlr/antlr-runtime/3.5.2/cd9cd41361c155f3af0f653009dcecb08d8b4afd/antlr-runtime-3.5.2.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.abego.treelayout/org.abego.treelayout.core/1.0.3/457216e8e6578099ae63667bb1e4439235892028/org.abego.treelayout.core-1.0.3.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.glassfish/javax.json/1.0.4/3178f73569fd7a1e5ffc464e680f7a8cc784b85a/javax.json-1.0.4.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/com.ibm.icu/icu4j/69.1/ff666ac55986650893aacb9e2e0003538e9799c0/icu4j-69.1.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-scripting-compiler-impl-embeddable/1.6.10/26db9fbe68a5fd7e7f7827e2db74788eb9bc8c8a/kotlin-scripting-compiler-impl-embeddable-1.6.10.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-daemon-embeddable/1.6.10/a56d79bcbea411fa6058e4ecffc2de73e742bd2a/kotlin-daemon-embeddable-1.6.10.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.jetbrains.intellij.deps/trove4j/1.0.20181211/216c2e14b070f334479d800987affe4054cd563f/trove4j-1.0.20181211.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/net.java.dev.jna/jna/5.6.0/330f2244e9030119ab3030fc3fededc86713d9cc/jna-5.6.0.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr.extra/orx-shader-phrases-jvm/0.4.0-rc.8/8f1d81b96c368b903ff83cf17dddc5fcd5610459/orx-shader-phrases-jvm-0.4.0-rc.8.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-serialization-core-jvm/1.3.2/e25f48b4e070f969aa7ac3374d467f9c7f088766/kotlinx-serialization-core-jvm-1.3.2.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/com.github.ricardomatias/delaunator/1.0.2/d9882fc9d276c7d8586385a84cba9b5273d5105f/delaunator-1.0.2.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-dds-jvm/0.4.0-rc.7/300ad1c6e51d07ba4bf4399e43dd998d58d9ac1d/openrndr-dds-jvm-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-binpack-jvm/0.4.0-rc.7/64d3666bcf893a4782ead87b42be6e8333f42be/openrndr-binpack-jvm-0.4.0-rc.7.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr.extra/orx-hash-grid-jvm/0.4.0-rc.8/1c870e9395912fba7cbf6c494a8e0484e58faba8/orx-hash-grid-jvm-0.4.0-rc.8.jar:/Users/notbloom/.gradle/caches/modules-2/files-2.1/org.openrndr/openrndr-kartifex-jvm/0.4.0-rc.7/10a065c90c9c6216d965475364f37d832752f7f1/openrndr-kartifex-jvm-0.4.0-rc.7.jar NoiseKt
INFO [main] o.o.Application ↘ no preload class found 'org.openrndr.Preload'
INFO [main] o.o.i.g.ApplicationGLFWGL3 ↘ 3.4.0 Cocoa NSGL Null EGL OSMesa monotonic dynamic
Changed waitThread to realtime priority!
Asked for all format descriptions...
INFO [main] o.o.i.g.ApplicationGLFWGL3 ↘ OpenGL vendor: Intel Inc.
INFO [main] o.o.i.g.ApplicationGLFWGL3 ↘ OpenGL renderer: Intel(R) Iris(TM) Plus Graphics 640
INFO [main] o.o.i.g.ApplicationGLFWGL3 ↘ OpenGL version: 4.1 INTEL-18.4.6
WARN [Thread-2(display)] o.o.f.VideoPlayerFFMPEG ↘ resetting next frame time
WARN [main] o.o.d.Filter ↘ Shader 'mirror-shader' has an existing #version definition. Shader configuration will not be added.
ERROR [main] o.o.i.g.ApplicationGLFWGL3 ↘ An error occurred inside the program setup
INFO [main] ↘ Set -Dorg.openrndr.exceptions=JVM for conventional exception-handling
│ NoiseKt.main(Noise.kt:-1)
├─ NoiseKt.main(Noise.kt:16)
│ org.openrndr.ApplicationBuilderKt.application(ApplicationBuilder.kt:81)
│ org.openrndr.ApplicationKt.application(Application.kt:120)
│ org.openrndr.Application.Companion.run(Application.kt:70)
│ org.openrndr.internal.gl3.ApplicationGLFWGL3.loop(ApplicationGLFWGL3.kt:802)
├─ kotlinx.coroutines.BuildersKt.runBlocking$default(null:1)
├─ kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
├─ kotlinx.coroutines.BuildersKt.runBlocking(null:1)
├─ kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
├─ kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
├─ kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:279)
├─ kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
├─ kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
│ org.openrndr.internal.gl3.ApplicationGLFWGL3.loop.{ }.invokeSuspend(ApplicationGLFWGL3.kt:803)
│ org.openrndr.ApplicationBuilder.program.{ }.setup(ApplicationBuilder.kt:15)
│ Noise.main.{ :ApplicationBuilder }.{ }.{ }(Noise.kt:-1)
│ Noise.main.{ :ApplicationBuilder }.{ }.{ }(Noise.kt:-1)
├─ Noise.main.{ :ApplicationBuilder }.{ }.invokeSuspend(Noise.kt:118)
│ org.openrndr.Program.extend(Program.kt:158)
│ org.openrndr.extra.syphon.SyphonServer.setup(SyphonServer.kt:20)
│ org.openrndr.extra.syphon.jsyphon.JSyphonServer.initWithName(JSyphonServer.kt:36)
│ org.openrndr.extra.syphon.jsyphon.JSyphonServer.initWithName(JSyphonServer.kt:-2)
│
↑ 'long org.openrndr.extra.syphon.jsyphon.JSyphonServer.initWithName(java.lang.String, java.util.HashMap)' (UnsatisfiedLinkError)
│ org.openrndr.internal.gl3.ApplicationGLFWGL3.preloop.{ }.run(ApplicationGLFWGL3.kt:506)
│ org.openrndr.extra.syphon.SyphonServer.shutdown(SyphonServer.kt:58)
│ org.openrndr.extra.syphon.jsyphon.JSyphonServer.stop(JSyphonServer.kt:90)
│ org.openrndr.extra.syphon.jsyphon.JSyphonServer.stop(JSyphonServer.kt:-2)
│
↑ 'void org.openrndr.extra.syphon.jsyphon.JSyphonServer.stop(long)' (UnsatisfiedLinkError)
Process finished with exit code 1
//package examples.`06_Advanced_drawing`
import org.openrndr.application
import org.openrndr.color.ColorRGBa
import org.openrndr.draw.*
import org.openrndr.extra.fx.blur.BoxBlur
import org.openrndr.extra.gui.GUI
import org.openrndr.extra.parameters.DoubleParameter
import org.openrndr.extra.syphon.SyphonServer
import org.openrndr.ffmpeg.PlayMode
import org.openrndr.ffmpeg.VideoPlayerFFMPEG
import kotlin.math.cos
import kotlin.math.sin
//import org.openrndr.extra.
fun main() {
application {
configure {
width = 1280
height = 720
title = "caustica_multiplane"
}
val mirrorShader = """
#version 150
// -- part of the filter interface, every filter has these
in vec2 v_texCoord0;
uniform sampler2D tex0;
out vec4 o_color;
// -- user parameters
uniform float width;
uniform float height;
// -- user parameters
uniform float fromx;
uniform float fromy;
uniform float tox;
uniform float toy;
void main() {
vec2 clip_from = vec2(tox,fromy);
vec2 clip_to = vec2(fromx,toy);
vec2 mirrored_coord = v_texCoord0 * 2.0 - 1.0;
// vec2 mirrored_coord = v_texCoord0 * fromx - vec2(fromy, tox);
mirrored_coord = mirrored_coord * sign(mirrored_coord);
vec2 clipped_coord = mix(clip_from, clip_to, mirrored_coord);
//mirrored_coord = mix(clip_from, clip_to, mirrored_coord);
vec4 color = texture(tex0, clipped_coord);
o_color = color;
//o_color = texture(tex0, v_texCoord0);
//o_color = texture(tex0, mirrored_coord);
//o_color = texture(tex0, v_texCoord0 * fromx + fromy);
}
"""
class Noise : Filter(filterShaderFromCode(mirrorShader, "mirror-shader")) {
// -- note the 'by parameters' here, this is what wires the fields up to the uniforms
// var gain: Double by parameters
// var time: Double by parameters
var fromx: Double by parameters
var fromy: Double by parameters
var tox: Double by parameters
var toy: Double by parameters
var width: Int by parameters
var height: Int by parameters
init {
width = 100
height = 100
fromx = 0.0
fromy = 0.0
tox = 1.0
toy = 1.0
}
}
program {
val videoList = VideoPlayerFFMPEG.listDeviceNames()
val videoDeviceName = "3"
val filtered = colorBuffer(width, height)
val videoPlayer = VideoPlayerFFMPEG.fromDevice(videoDeviceName, PlayMode.VIDEO, 30.0, 1280, 720)
videoPlayer.play()
// -- create the noise filter
val noise = Noise()
val offscreen = renderTarget(width, height) {
colorBuffer()
colorBuffer()
// depthBuffer()
}
// GUI
val gui = GUI()
val settings = object {
@DoubleParameter("crop_from_x", 0.0, 1.0)
var from_x: Double = 0.0
@DoubleParameter("crop_from_y", 0.0, 1.0)
var from_y: Double = 0.0
@DoubleParameter("crop_to_x", 0.0, 1.0)
var to_x: Double = 1.0
@DoubleParameter("crop_to_y", 0.0, 1.0)
var to_y: Double = 1.0
}
gui.add(settings, "Settings")
extend(SyphonServer("Test"))
//extend(SyphonServer("Multiplane", offscreen))
//extend(SyphonServer())
//DRAW CAM
extend {
// -- draw to offscreen buffer
// drawer.isolatedWithTarget(offscreen) {
// clear(ColorRGBa.BLACK)
// fill = ColorRGBa.PINK
// stroke = null
// circle(cos(seconds) * 100.0 + width / 2, sin(seconds) * 100.0 + height / 2.0, 100.0 + 100.0 * cos(seconds * 2.0))
// }
drawer.clear(ColorRGBa.BLACK)
drawer.isolatedWithTarget(offscreen) {
videoPlayer.draw(drawer)
}
noise.fromx = settings.from_x
noise.fromy = settings.from_y
noise.tox = settings.to_x
noise.toy = settings.to_y
noise.width = width
noise.height = height
noise.apply(offscreen.colorBuffer(0), offscreen.colorBuffer(1))
drawer.image(offscreen.colorBuffer(1))
}
extend(gui)
}
}
}
```