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
// renaud.jean-francois(arobas)uqam(point)ca | |
// Syntaxe Processing version 4.3 | |
// lundi, 18 septembre 2023 | |
color w, k, y; | |
void setup() { | |
size(840, 840); | |
background(0); | |
noStroke(); |
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
// renaud.jean-francois(arobas)uqam(point)ca | |
// Syntaxe Processing version 3.5.4 | |
// vendredi, 23 juillet 2021 | |
PGraphics pg; // declaration of PGraphics object | |
void setup() { | |
size(600, 600); | |
background(0); | |
pg = createGraphics(200, 200); // construction of PGraphics object at it’s own size |
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
// renaud.jean-francois(arobas)uqam(point)ca | |
// Syntaxe Processing version 3.5.4 | |
// dimanche, 20 septembre 2020 | |
import garciadelcastillo.dashedlines.*; | |
DashedLines dash; | |
PVector [] pts = new PVector[3]; | |
int dist = 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
// renaud.jean-francois(arobas)uqam(point)ca | |
// Syntaxe Processing version 3.5.4 | |
// samedi, 11 avril 2020 | |
int nbSegments = 3; //at least three segments | |
PVector [] pts = new PVector[nbSegments]; | |
void setup() { | |
size(600, 600); | |
background(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
// renaud.jean-francois(arobas)uqam(point)ca | |
// Syntaxe Processing version 3.5.4 | |
// mercredi, 4 mars 2020 | |
int numPoints = 7; | |
float[] posX = new float[numPoints]; | |
float[] posY = new float[numPoints]; | |
float radius; | |
float theta = TWO_PI / numPoints; |
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
// renaud.jean-francois(arobas)uqam(point)ca | |
// Syntaxe Processing version 3.5.3 | |
// jeudi, 19 septembre 2019 | |
/* | |
Remake of an effect that I saw in a post on Facebook. | |
https://www.facebook.com/groups/creativecodingp5/permalink/2371544796426883/ | |
*/ | |
PImage img; |
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 [] deltas = new float [8]; | |
void setup() { | |
size(800, 800); | |
background(0); | |
noStroke(); | |
noLoop(); | |
} | |
void draw() { |
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
// Constant circular orbit | |
PVector pos, zAxis; | |
float radius = 200, force = 10; | |
void setup() { | |
size(600, 600); | |
background(0); | |
noStroke(); | |
pos = new PVector(radius, 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
// renaud.jean-francois(arobas)uqam(point)ca | |
// Syntaxe Processing version 3.4 | |
// dimanche, 23 septembre 2018 | |
// Pour réaliser une conversion du mode couleur avec la classe Java | |
// http://docs.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html | |
import java.awt.Color; | |
float shiftHue = 0.1; | |
float shiftSat = 0.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
// renaud.jean-francois(arobas)uqam(point)ca | |
// Syntaxe Processing version 3.3.7 | |
// dimanche, 22 juillet 2018 | |
// Multiple instances of the same sketch | |
// Base on GoToLoop’s solution for Multiple PApplet | |
// https://forum.processing.org/two/discussion/comment/43019/#Comment_43019 | |
ArrayList <PApplet> applets = new ArrayList<PApplet>(); |
NewerOlder