Upgrade to OPENRNDR 0.4 snapshot

This commit is contained in:
Edwin Jakobs
2021-06-22 11:08:07 +02:00
parent 579ddf9bb5
commit 9435907ef9
339 changed files with 460 additions and 497 deletions

View File

@@ -0,0 +1,16 @@
import org.openrndr.application
import org.openrndr.color.ColorRGBa
import org.openrndr.extra.videoprofiles.GIFProfile
import org.openrndr.extra.videoprofiles.ProresProfile
import org.openrndr.ffmpeg.ScreenRecorder
suspend fun main() = application {
program {
extend(ScreenRecorder()) {
profile = GIFProfile()
}
extend {
drawer.clear(ColorRGBa.GREEN)
}
}
}

View File

@@ -0,0 +1,15 @@
import org.openrndr.application
import org.openrndr.color.ColorRGBa
import org.openrndr.extra.videoprofiles.ProresProfile
import org.openrndr.ffmpeg.ScreenRecorder
suspend fun main() = application {
program {
extend(ScreenRecorder()) {
profile = ProresProfile()
}
extend {
drawer.clear(ColorRGBa.GREEN)
}
}
}

View File

@@ -0,0 +1,19 @@
import org.openrndr.application
import org.openrndr.color.ColorRGBa
import org.openrndr.extra.videoprofiles.TIFFProfile
import org.openrndr.ffmpeg.ScreenRecorder
suspend fun main() = application {
program {
extend(ScreenRecorder()) {
profile = TIFFProfile()
outputFile = "frame-%05d.tif"
maximumFrames = 20
}
extend {
drawer.clear(ColorRGBa.GREEN)
drawer.fill = ColorRGBa.WHITE
drawer.rectangle(frameCount / 20.0 * width, 0.0, 100.0, 100.0)
}
}
}