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
I am attesting that this GitHub handle matt0rtega is linked to the Tezos account tz1iqyQ7RKkZy34qfEfWttsp4tfzDv1BURRo for tzprofiles | |
sig:edsigtoJ6RR9Sq9pVWpFdUshbYXY5ScmWhtCkgLFE2yokdYANuYQtEoGbw5QeEibPL95LKqfESv5vGQcWcnHsgXx5fkRHTTT9Su |
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
PGraphics pg; | |
// We need to create variables for the width and height we want to use. | |
int scaleFactor = 2; | |
int w = 1080 * scaleFactor; | |
int h = 1920 * scaleFactor; | |
// In later versions of Processing, you need to use settings if you want to do any operations on the width and height | |
void settings(){ | |
size(w / 8, h / 8); |
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
in_thread do | |
live_loop :foo do | |
cue :tick | |
sleep 1 | |
end | |
end | |
in_thread do | |
live_loop :foo3 do | |
with_fx :bitcrusher, bits: rrand(0.1, 5), cutoff: rrand(20, 100) do |
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
// P_3_2_3_01.pde | |
// | |
// Generative Gestaltung, ISBN: 978-3-87439-759-9 | |
// First Edition, Hermann Schmidt, Mainz, 2009 | |
// Hartmut Bohnacker, Benedikt Gross, Julia Laub, Claudius Lazzeroni | |
// Copyright 2009 Hartmut Bohnacker, Benedikt Gross, Julia Laub, Claudius Lazzeroni | |
// | |
// http://www.generative-gestaltung.de | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); |
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
void setup() { | |
size(640, 360); | |
} | |
void draw() { | |
background(0); | |
// Your sketch here | |
} |
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
var x = 0; | |
var y = 0; | |
var a = 0; | |
var b = 0; | |
function setup() { | |
createCanvas(windowWidth,windowHeight); | |
colorMode(HSB); | |
background(255, 0 , 255); | |
smooth(); |
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
void saveVector() { | |
PGraphics tmp = null; | |
tmp = beginRecord(PDF, "render_###.pdf"); | |
if (tmp == null) { | |
H.drawStage(); | |
} else { | |
H.stage().paintAll(tmp, false, 1); // PGraphics, uses3D, alpha | |
} |