This file contains hidden or 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 java.util.ArrayList; | |
import java.util.Vector; | |
import processing.core.PApplet; | |
import processing.core.PVector; | |
public class NoisePathTest4 extends PApplet { | |
// ParticlePath pathParticle; | |
ArrayList<ParticlePath> particlePaths; |
This file contains hidden or 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 processing.video.*; | |
Movie tex; | |
// PImage tex; | |
float rotx = PI/4; | |
float roty = PI/4; | |
void setup() { | |
size(640, 640, P3D); |
This file contains hidden or 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 processing.core.*; | |
public class MaskingTest extends PApplet { | |
PShape mask; | |
PImage profileImage; | |
public void setup() { | |
size(800, 600, P3D); | |
profileImage = loadImage("http://behance.vo.llnwd.net/profiles15/2970301/projects/9502097/404x344d3f03e5e6a05fba901c31189f9236.jpg"); | |
} |
This file contains hidden or 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
function textHeight(text, maxWidth) { | |
var words = text.split(' '); | |
var line = ''; | |
var h = this._textLeading; | |
for (var i = 0; i < words.length; i++) { | |
var testLine = line + words[i] + ' '; | |
var testWidth = drawingContext.measureText(testLine).width; | |
if (testWidth > maxWidth && i > 0) { |
This file contains hidden or 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
put your link here |
OlderNewer