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 |
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
| 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
| 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 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 ijeoma.motion.Motion; | |
| import ijeoma.motion.tween.Tween; | |
| import toxi.geom.Vec3D; | |
| Tween t; | |
| PFont f; | |
| Vec3D v1, v2; |
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
| #include "cinder/app/AppBasic.h" | |
| #include "cinder/gl/gl.h" | |
| #include "cinder/gl/Fbo.h" | |
| #include "cinder/gl/Texture.h" | |
| using namespace ci; | |
| using namespace ci::app; | |
| using namespace std; | |
| class MirroredFboApp : public AppBasic { |
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
| // Generated by the Processing.js exporter for Processing IDE. | |
| // https://github.com/fjenett/processingjstool | |
| // this code was autogenerated from PJS | |
| (function($p) { | |
| var sampleRate = 0; | |
| $p.ArrayList<Float> ttPositions = new $p.ArrayList<Float>(); | |
| var ttPositionIndex = 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
| import java.util.ArrayList; | |
| float sampleRate; | |
| ArrayList<Float> ttPositions = new ArrayList<Float>(); | |
| int ttPositionIndex; | |
| float ttPosition, pttPosition; |
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
| <!DOCTYPE HTML> | |
| <html lang="en"> | |
| <head> | |
| <title>three.js webgl - canvas text billboarding</title> | |
| <meta charset="utf-8"> | |
| <style type="text/css"> | |
| body { | |
| font-family:Monospace; | |
| background-color:#000000; | |
| margin:0px; |
NewerOlder