O'Reilly Answers is a community site for sharing knowledge, asking questions, and providing answers that brings together our customers, authors, editors, conference speakers, and Foo (Friends of O'Reilly). More »
Answered by odewahn1 : Sep 09 2010 04:24 AM
Hi, Viz-man. The trick here is to figure out some quick method for collision detection between two circles. When I have questions like this, the first thing I do is draw a picture, just like in good... full answer >
Building a creation that translates software signals into physical movement brings with it a unique satisfaction. Joseph Gray has tapped into that satisfaction himself through art installations and vi...
Are you an artist, tinkerer, or programmer interested in creating interactive graphics? Perhaps you're interested in physical computing and would like to control a 3D printer? You're likely going to...
Answered by odewahn1 : Jun 21 2010 04:59 AM
Hi. This code should show you what you need. Basically, you just need to create a method to capture the type of event you want, and then increment the counter. For the mouse, you can use mousePress... full answer >
Graph visualization is the study of how to turn abstract representations of graphs (think network diagrams of nodes and edges, rather than XY-coordinates) into diagrams. I love graphviz (the program ...
After several people complained that they were worried that wiggle stereoscopy might trigger a seizure, I thought it made sense to revisit the subject and show how to create real 3D images. For the ...
Color filters allow you to alter an image by ... well ... filtering out different colors. While Processing has some filters built-in, it's often handy to be able to create your own custom filters...
A matrix is a 2 dimensional array of numbers called elements. Matrices are used in many different applications, representing sets of equations, transformations to 3D objects, or color filters, to nam...
Stereoscopy is a technique for creating the illusion of depth in a 2D image. While the specifics vary, the general principle is that two images are taken of the same scene, but at slight offsets of ...