Put demo assets into /demo-data/ (#104)
This commit is contained in:
@@ -4,7 +4,6 @@ import org.openrndr.draw.*
|
||||
import org.openrndr.extensions.SingleScreenshot
|
||||
import org.openrndr.extra.fx.blur.*
|
||||
import org.openrndr.math.Polar
|
||||
import org.openrndr.resourceUrl
|
||||
import kotlin.math.sin
|
||||
|
||||
fun main() {
|
||||
@@ -39,8 +38,7 @@ fun main() {
|
||||
// On this buffer we will draw the dry buffer with an effect applied
|
||||
val wet = colorBuffer(dry.width, dry.height)
|
||||
|
||||
val font = loadFont(resourceUrl("/data/fonts/IBMPlexMono-Regular" +
|
||||
".ttf"), 16.0)
|
||||
val font = loadFont("demo-data/fonts/IBMPlexMono-Regular.ttf", 16.0)
|
||||
|
||||
extend {
|
||||
// Draw two moving circles
|
||||
|
||||
Binary file not shown.
@@ -3,7 +3,6 @@ package org.openrndr.extra.fx
|
||||
import org.openrndr.draw.ColorFormat
|
||||
import org.openrndr.draw.ColorType
|
||||
import org.openrndr.resourceUrl
|
||||
import java.net.URL
|
||||
|
||||
internal class FilterTools
|
||||
|
||||
|
||||
Reference in New Issue
Block a user