FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Information Visualization
(Moderators: forkinsocket, REAS)
   Trace
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Trace  (Read 751 times)
kmcdonald

suparcomputar WWW
Trace
« on: Jan 13th, 2004, 4:19pm »

I got an idea for a way to follow lines in photos and drawings based on a grayscale representation of the image, and implemented it as a p5 applet that sketches photos:
 
http://rpi.edu/~mcdonk/code/trace/
 
The algorithm essentially takes a weighted average with respect to grayscale value (or whatever you call (red+green+blue)/3) within a certain scope about a given pixel, and draws perpendicular to the vector of positive change, and starts over at the end of the line.
 
Koenie

170825270170825270koeniedesign WWW Email
Re: Trace
« Reply #1 on: Jan 13th, 2004, 8:29pm »

That is very neat! The lines seem to be only going straight. Maybe you could try to make them find ligth and dark polygons? Just a thought.
 
Koenie
 

http://koeniedesign.com
kevinP

Email
Re: Trace
« Reply #2 on: Jan 13th, 2004, 10:20pm »

Hi,
 
I liked the shaggy sketching, too. I was wondering though, why neither of you puts your names or URL in the scripts?
 
It seems useful to collect some of these, but of course one wants to know where they came from, who wrote them, etc.  (Or are they simply too small to be worth the bother?)
 
Sorry if this is a naive question!
 
-K
 

Kevin Pfeiffer
kmcdonald

suparcomputar WWW
Re: Trace
« Reply #3 on: Jan 13th, 2004, 11:33pm »

I'm glad you liked it!
 
on Jan 13th, 2004, 8:29pm, Koenie wrote:
Maybe you could try to make them find ligth and dark polygons

 
Do you mean coerce the lines to complete polygons  with each step, instead of tracing them over multiple steps
 
Koenie, by the way, where did the music on your website come from
 
Pfeiffer, I guess I never considered that people would pay that much attention to the source ^_^ It sounds like it might be helpful, though, so I will try and add my name or something to in the future.
 
vent

WWW
Re: Trace
« Reply #4 on: Jan 19th, 2004, 5:38pm »

This is excellent!
 

http://www.shapevent.com/
Pages: 1 

« Previous topic | Next topic »