This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.intellij.lang.annotations.Language | |
import org.openrndr.application | |
import org.openrndr.draw.ColorFormat | |
import org.openrndr.draw.ColorType | |
import org.openrndr.draw.bufferTexture | |
import org.openrndr.draw.shadeStyle | |
import org.openrndr.extra.noise.simplex | |
import org.openrndr.ffmpeg.H264Profile | |
import org.openrndr.ffmpeg.ScreenRecorder | |
import org.openrndr.math.Vector2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float t = chf('time'); | |
float seed = chf('seed'); | |
int ti = int(6 * t) % 6; // integer time from 0-5 | |
float tf = frac(6 * t); // fraction time | |
// some random easing and motion reshaping: | |
float start = lerp(0.0, 0.05, rand(seed + 5 * ti)); | |
float stop = lerp(0.95, 1.0, rand(seed + 7 * ti)); | |
float shape = lerp(0.5, 0.65, rand(seed + 11 * ti)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.openrndr.WindowMultisample | |
import org.openrndr.application | |
import org.openrndr.draw.ImageFileFormat | |
import org.openrndr.draw.arrayTexture | |
import org.openrndr.draw.loadImage | |
import org.openrndr.draw.shadeStyle | |
import org.openrndr.extra.compositor.compose | |
import org.openrndr.extra.compositor.draw | |
import org.openrndr.extra.compositor.layer | |
import org.openrndr.extra.compositor.post |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
import bmesh | |
import random | |
from mathutils import Vector, noise, Matrix, kdtree | |
from math import sin, cos, tau, pi, sqrt, radians | |
frame_count = 0.0 | |
frame_start = 1 | |
total_frames = 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
import bmesh | |
import random | |
from easing_functions import CubicEaseInOut, QuadEaseInOut | |
from mathutils import Vector, noise, Matrix | |
from math import sin, cos, tau, pi, sqrt, radians | |
from utils.interpolation import * | |
from utils.math import * | |
from utils.color import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from mathutils import Vector, Matrix | |
def scale_matrix(x: float, y: float, z: float) -> Matrix: | |
matx = Matrix.Scale(x, 4, Vector((1, 0, 0))) | |
maty = Matrix.Scale(y, 4, Vector((0, 1, 0))) | |
matz = Matrix.Scale(z, 4, Vector((0, 0, 1))) | |
return matx @ maty @ matz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
import bmesh | |
import random | |
from mathutils import Vector, noise, Matrix | |
from math import sin, cos, tau, pi, radians, sqrt | |
from utils.interpolation import * | |
from utils.math import * | |
from utils.color import * | |
frame_start = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
import bmesh | |
import random | |
from mathutils import Vector, noise, Matrix | |
from math import sin, cos, tau, pi, radians | |
from utils.interpolation import * | |
from easing_functions import * | |
frame_start = 1 | |
total_frames = 120 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
import bmesh | |
import random | |
from mathutils import Vector, noise, Matrix | |
from math import sin, cos, tau, pi, modf | |
from utils.interpolation import * | |
from utils.math import * | |
from utils.color import * | |
from easing_functions import QuadEaseOut |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.openrndr.application | |
import org.openrndr.color.ColorRGBa | |
import org.openrndr.draw.ColorFormat | |
import org.openrndr.draw.colorBuffer | |
import org.openrndr.draw.loadImage | |
import org.openrndr.draw.shadeStyle | |
import org.openrndr.extra.noise.poissonDiskSampling | |
import org.openrndr.extra.olive.oliveProgram | |
import org.openrndr.extras.easing.easeQuadIn | |
import org.openrndr.extras.easing.easeQuadInOut |
NewerOlder