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
/* | |
Little pleasures of the Mona / Pequeños placeres de la mona | |
Andrés Senn | |
andressenn.com/pequenos-placeres-de-la-mona/ | |
Base algorithm | |
2018 | |
Lic: CC 4.0 International |
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
/* | |
En este sketch hay algunas técnicas utilizadas en varios procesos | |
In this sketch, there are some techniques used in various process | |
Andrés Senn | |
2016-2018 | |
*/ | |
int cell = 5; | |
ArrayList<ImgBlock> imgsb; | |
PVector pv; |
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
// Clase espirógrafo / Spirograph | |
/* | |
para hacer mucho ruido | |
to make a lot of noise | |
*/ | |
class Espiro | |
{ | |
float radio1 = 0.0; | |
float radio2 = 0.0; |
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
/* | |
WhiteNoise Series | |
Algunos metodos / Some methods | |
Andrés Senn | |
2018/2019 | |
*/ | |
// CUT // CORTAR --------------------------------- | |
void cortar() { |
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
// loop: ------------------------------- | |
fade(10) | |
// displace(-1,0) | |
stroke(255, 80) | |
beginShape(POINTS) | |
$npsys.update((x, y) => { | |
if (dist(x, y, width / 2, height / 2) < 300 && x < width / 2) vertex(x, y) | |
}).nSize(0.01).aVel(osc() * 5).nVel(5) | |
endShape() |
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
/** | |
* Fragmenta la imagen y la desplaza | |
* Fragment the image and displace it | |
*/ | |
function CutNoise() { | |
let arg = arguments | |
let mx = mouseX | |
let my = mouseY | |
if (arg.length > 0) { |
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
/* | |
@param _x x position of center | |
@param _y y position of center | |
@param _d diemeter of circle | |
Andrés Senn | |
*/ |
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
/* | |
LeParc P5js Livecoder | |
snippet: espiro | |
class: EspinoNoise | |
*/ | |
// Load Snippet | |
// Eval this first (Ctrl+Enter) | |
snip('espiro',()=>{ |
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
/* | |
Leparc > 0.2.0 | |
Andres Senn | |
*/ | |
colorMode(HSB, 255) | |
function draw() { | |
// bg(0) | |
zoom(0.01) |
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
// Hola LeParc! | |
colorMode(HSB, 255) | |
function draw() { | |
fade(random(255),255,255,10) | |
zoom(0.1) | |
displace(-5,0) | |
fill(45, 255, 255, 100) | |
noStroke() |
OlderNewer