Compare commits
9 Commits
openrndr-t
...
openrndr-t
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
39cacd7f70 | ||
|
|
175dac1bf4 | ||
|
|
f4335c152e | ||
|
|
7070dd95b8 | ||
|
|
3bef89761c | ||
|
|
12c65fc9d6 | ||
|
|
28a1f4862e | ||
|
|
797d2a75ca | ||
|
|
41fe1d31da |
@@ -5,7 +5,7 @@ import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform
|
|||||||
|
|
||||||
/* the name of this project, default is the template version but you are free to change these */
|
/* the name of this project, default is the template version but you are free to change these */
|
||||||
group = "org.openrndr.template"
|
group = "org.openrndr.template"
|
||||||
version = "0.3.13"
|
version = "0.3.14"
|
||||||
|
|
||||||
val applicationMainClass = "TemplateProgramKt"
|
val applicationMainClass = "TemplateProgramKt"
|
||||||
|
|
||||||
@@ -15,7 +15,7 @@ val orxFeatures = setOf(
|
|||||||
// "orx-camera",
|
// "orx-camera",
|
||||||
// "orx-chataigne",
|
// "orx-chataigne",
|
||||||
"orx-compositor",
|
"orx-compositor",
|
||||||
// "orx-dnk3"
|
// "orx-dnk3",
|
||||||
// "orx-easing",
|
// "orx-easing",
|
||||||
// "orx-file-watcher",
|
// "orx-file-watcher",
|
||||||
// "orx-parameters",
|
// "orx-parameters",
|
||||||
@@ -38,14 +38,14 @@ val orxFeatures = setOf(
|
|||||||
// "orx-osc",
|
// "orx-osc",
|
||||||
// "orx-palette",
|
// "orx-palette",
|
||||||
// "orx-poisson-fill",
|
// "orx-poisson-fill",
|
||||||
// "orx-rabbit-control
|
// "orx-rabbit-control,
|
||||||
// "orx-runway",
|
// "orx-runway",
|
||||||
"orx-shade-styles",
|
"orx-shade-styles",
|
||||||
// "orx-shader-phrases",
|
// "orx-shader-phrases",
|
||||||
// "orx-shapes",
|
// "orx-shapes",
|
||||||
// "orx-syphon",
|
// "orx-syphon",
|
||||||
// "orx-temporal-blur",
|
// "orx-temporal-blur",
|
||||||
// "orx-time-operators,
|
// "orx-time-operators",
|
||||||
// "orx-kinect-v1",
|
// "orx-kinect-v1",
|
||||||
|
|
||||||
"orx-panel"
|
"orx-panel"
|
||||||
@@ -58,10 +58,10 @@ val openrndrFeatures = setOf(
|
|||||||
|
|
||||||
/* Which version of OPENRNDR and ORX should be used? */
|
/* Which version of OPENRNDR and ORX should be used? */
|
||||||
val openrndrUseSnapshot = false
|
val openrndrUseSnapshot = false
|
||||||
val openrndrVersion = if (openrndrUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.43"
|
val openrndrVersion = if (openrndrUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.44"
|
||||||
|
|
||||||
val orxUseSnapshot = false
|
val orxUseSnapshot = false
|
||||||
val orxVersion = if (orxUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.52"
|
val orxVersion = if (orxUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.53"
|
||||||
|
|
||||||
//<editor-fold desc="This is code for OPENRNDR, no need to edit this .. most of the times">
|
//<editor-fold desc="This is code for OPENRNDR, no need to edit this .. most of the times">
|
||||||
val supportedPlatforms = setOf("windows", "macos", "linux-x64", "linux-arm64")
|
val supportedPlatforms = setOf("windows", "macos", "linux-x64", "linux-arm64")
|
||||||
@@ -94,13 +94,13 @@ enum class Logging {
|
|||||||
/* What type of logging should this project use? */
|
/* What type of logging should this project use? */
|
||||||
val applicationLogging = Logging.FULL
|
val applicationLogging = Logging.FULL
|
||||||
|
|
||||||
val kotlinVersion = "1.3.72"
|
val kotlinVersion = "1.4.0"
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
java
|
java
|
||||||
kotlin("jvm") version("1.3.72")
|
kotlin("jvm") version("1.4.0")
|
||||||
id("com.github.johnrengelman.shadow") version ("6.0.0")
|
id("com.github.johnrengelman.shadow") version ("6.1.0")
|
||||||
id("org.beryx.runtime") version ("1.9.1")
|
id("org.beryx.runtime") version ("1.11.4")
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@@ -143,8 +143,8 @@ dependencies {
|
|||||||
implementation(openrndr("extensions"))
|
implementation(openrndr("extensions"))
|
||||||
implementation(openrndr("filter"))
|
implementation(openrndr("filter"))
|
||||||
|
|
||||||
implementation("org.jetbrains.kotlinx", "kotlinx-coroutines-core","1.3.7")
|
implementation("org.jetbrains.kotlinx", "kotlinx-coroutines-core","1.3.9")
|
||||||
implementation("io.github.microutils", "kotlin-logging","1.7.10")
|
implementation("io.github.microutils", "kotlin-logging","1.12.0")
|
||||||
|
|
||||||
when(applicationLogging) {
|
when(applicationLogging) {
|
||||||
Logging.NONE -> {
|
Logging.NONE -> {
|
||||||
|
|||||||
Binary file not shown.
BIN
data/fonts/default.otf
Normal file
BIN
data/fonts/default.otf
Normal file
Binary file not shown.
92
data/fonts/license.txt
Normal file
92
data/fonts/license.txt
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
http://scripts.sil.org/OFL
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
BIN
data/images/cheeta.jpg
Normal file
BIN
data/images/cheeta.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 95 KiB |
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,5 +1,5 @@
|
|||||||
#Thu Aug 01 12:32:31 CEST 2019
|
#Thu Aug 01 12:32:31 CEST 2019
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ fun main() = application {
|
|||||||
|
|
||||||
program {
|
program {
|
||||||
val image = loadImage("data/images/pm5544.png")
|
val image = loadImage("data/images/pm5544.png")
|
||||||
val font = loadFont("data/fonts/IBMPlexMono-Regular.ttf", 64.0)
|
val font = loadFont("data/fonts/default.otf", 64.0)
|
||||||
|
|
||||||
extend {
|
extend {
|
||||||
drawer.drawStyle.colorMatrix = tint(ColorRGBa.WHITE.shade(0.2))
|
drawer.drawStyle.colorMatrix = tint(ColorRGBa.WHITE.shade(0.2))
|
||||||
|
|||||||
Reference in New Issue
Block a user