Walla walla, WA
member since May 19, 2010
profile picture

portfolio of
Justin Lincoln


Control opacity/delay in video

A kind of opacity or feedback/crossfade when recording video with Processing.

The following lines are added to GettingStarted with Capture from the Processing Video Library Examples. (That library needs to be installed.)

float control = map(mouseX,0,width, 1, 255);

grid practice

Try changing parameters, using stroke or noStroke and strokeWeight. Try uncommenting. Tweak away.


a simple drawing tool.

Framerate and background

using randomness in color and frameRate.

Drawing outside of draw (functions)

To illustrate how to make your own function.
Also how to make something happen (possibly) once in draw without even writing anything in the actual draw function.

Twk: Twk: Grid_exerciserevising

Demonstrates Modulo.
Every 10 frames all squares go red. Every 21 they go blue. Every 33rd they go green.

Silly demo but may be useful as an example of timed actions.

Twk: ROB-0

Matt's program with all pmouse turned to mouse. Also text that was sent to the console is now on the screen when Mouse Pressed.

Rainbow necklace

Drawing example for Art 180.

Mouse pressed to draw.

X & Y

Tracks the X and Y locations of your mouse.

quick demo

Playing with if statements and for statements.


Simple example of frame count and text.


This won't run in javascript mode. But i think it can be downloaded and run in java mode. Keeping the code here for future reference.
It combines the "linear" image manipulation example sketch included with Processing with the "loop" video example sketch. Uses an old movie of mine.


Class Project introducing objects and arrays.

Twk: Drawrect function pt 1

Pt 2 of introducing functions. Now we have something in the drawrect function.

Drawrect function pt 1

Mouseclick draws randomly colored squares.


Beginning New Genres Class project.

linear horizontal.

Variation on the "linear" example . This one is vertical lines instead of horizontal.

coded by Albert Schueller.


Trying to refine my use of photos with processing.js. Would love to get rid of the "busy" warning that pops up.Open to suggestions.


Playing with grids/ nested loops and randomness.

Twk: Ellipse Spiral

This tweak allows for speed control and re-start.
Up arrow changes color.
Down arrow re-starts.
Left arrow increases speed.
Right arrow decreases speed.

Twk: Rough drawing tool

Only modifications to Luis code are replacing display width and display height to numbers that Open Processing can handle, and adding rectMode(CENTER);.

Mouse must be clicked to draw.

Twk: Pacmen

This has turned Zach's Pacman sketch into an object based version. Not sure why it doesn't display. the code works fine otherwise.

Spiral rotate

Starting point to discuss translate and rotate.

Imperfect lines

variation on easing. Faulty code just asking to be repaired or re-mixed.

Simple grid with mouseY

Class Demo for loops / nested loops.


Building on a random walker tutorial from Dan Shiffman.


Suggested in a Dan Shiffman tutorial.
4 quadrants that use the mouse position to select the color of the background. Very simple. Getting back into the swing of practicing and leaving a trail of breadcrumbs for students.


Variation on an earlier sketch for use as an example of a game and as a very simple array.

Push the mouse to choose Paper, Scissors, or Rock.


Press b for reset, f for varying fill, s for varying stroke.


More toying with grids in Tweak mode.


A basic drawing program from the first day of class on Processing.

Three variations of loops and lines.

Switch line function between comments to see different variations using the same loop structure.


A simple tool that I made to possibly help teach coordinates. It can easily be changed to println as well.


Mouse press to draw.Speed changes size.


mousePressed = "robot line".
z + moving the mouse = stitch line.
s = save.
c = clear screen.
My two favorite lines. Incidentally I'm not sure why putting the code for the stitch line in void keypressed creates that effect (It doesn't do it in draw, even with a conditional.) Why does making it a function do it? I'd love an explanation.

Fleshy rumblers

Toying with and tweaking some demo code from Josh Davis tutorial. He's using the original code to explain why he made the Hype Framework so as to avoid the transformation code and gain more color control.. I'm just curious to play with push and popMatrix, translate, and rotate. Perhaps eventually I'll become a convert. We'll see.

Twk: Twk: trap (Smoother Machinic)

Combining elements of my earlier daily sketches with the trap/mechanic code.


Line drawing in pairs with some randomness. Hold mouse down to draw.


Simple, Minimalist, glitchy, Modernist animation. May turn this into a GIF.


If it starts getting too dark MousePressed starts a new pattern in white.


Day 9 of daily Processing sketches. The simplest sketch thus far, I think. A drawing tool.
b = blur.
s= saves a tiff.
z= clear the screen.

string sequence (fade)

Day 6 I think. Yesterday was a video player that's on Vimeo. This one is a tweak from some noise code that i originally got from Chris Sugrue.


Fifth in a series of daily exercises. Key enters on the screen one letter at a time.


A slight expansion of some code I picked up at a Summer workshop with Casey Reas.

mousePressed brings up random sized ellipse of color from a base image.

n key reveals the background image
b key blurs the image (photo and/or drawing)
w key returns to a base white background
d key creates a black background to draw on.


Third in a series of daily Processing sketches.


The second in a series of daily sketches. Something to keep me in practice and eventually to build to more complex programs.


Use the mouse to select from the randomized images flashing in the program.


draw triangles and have fun with other functions. Look in the code.


Randomized frameRate. Desiring machines and social construction.


Two word phrases. Forgive the kerning etc. My first experiment with arrays.


for Bus-Tops: A Season Celebrating Processing

like McKean

won't run in browser needs a webcam.
Code based on work by James aliban.

Trippy 2

* collaboration between Toby Alden, Dalton Calvert,Zach Ellenbogen, and Justin Lincoln
* Keyboard.
* Arrow keys start and effect trajectory and speed.
* holding and releasing arrows exhibit different behaviors.
*'s' = save
* 'r' = changes background
* 'b' = blur
* 't' = threshold
* 'i' = invert
* 'e' = erode
* 'd' = dilate
* 'p' = posterize
* 'o' = opaque



c allows for recursive sparkle( in white)
b allows for blur
s allows for save as jpeg


Hoping the image loads. If the program doesn't run as java applet download it or copy the code and import your own jpeg. Adjust the name of the jpeg and size of the screen and viola...you're in business.

Some key code was started here: http://www.openprocessing.org/visuals/?visualID=33838

Disc spin glitch

playing with arcs , colors, strokeWeights and randoms.


Variation from this wonderful tutorial.
Thanks to Jose.

Pastel chase

pastel ovals chase each other at increasing rates.

advanced ink

randomized drawing tool.(stroke set between .5 and 15)
includes the following features:
if mousePressed = black stroke
if no mousePressed = whitestroke

if(key=='3') = small triangles

if(key=='s') = SAVE

if(key=='c') = ClEAR

if(key=='b') = BLUR

if(key=='t') =THRESHOLD);

if(key=='i')= INVERT

if(key=='e') = ERODE

if(key=='d') = DILATE

if(key=='p') = POSTERIZE,12;

if(key=='o') = OPAQUE

if(key=='r') = random background (clear)
followed by


Share Share Subscribe to sketches