kottke.org

...is a weblog about the liberal arts 2.0 edited by Jason Kottke since March 1998 (archives). You can read about me and kottke.org here. If you've got questions, concerns, or interesting links, send them along.

15 kottke.org posts about Processing

 

Magnetic snakes

Taking a bit of code from here and a snippet from there, Robert Hodgin made an animation of 3-D snakes in Processing. Check out Hodgin's use of constraints to spur the invention of a way to keep the snakes from overlapping.

I had no interest in adding a complete 3D physics library because my needs at this time are fairly simple. I am not worried about environment... I just want the snakes to crawl over each other. I decided to try magnetic repulsion despite thinking it probably wouldn't work well enough. The thinking is this: Take each segment of a snake (200 segments each), and check its distance to every single other segment of every other snake on screen. Stupid, right? Yeah, pretty much. But with some optimization and only checking the segment distances if the snakes in question are close enough for overlap to be possible, I got it to run at 60 fps with 10 snakes.

Actually, when you get right down to it -- the atoms in snakes' bodies, that is -- magnetic repulsion isn't that far off from how matter achieves its electromagnetic opacity. Hodgin also made a video in which the snakes react to music. I wonder if this one's gonna end up in iTunes. (via waxy)

Processing 1.0

The Processing programming language/environment goes 1.0. From the press release:

What is new in Processing 1.0?
The most important aspect of this release is its stability. However, we have added many new features during the last few months. They include a new optimized 2D graphics engine, better integration for working with vector files, and the ability to write tools to enhance the development environment.

Download the newest version here. (thx, dan)

Update: Ben Fry has the press release.

Generative book covers

A British company called Faber & Faber is doing print on demand books with a wrinkle: each book has its own distinct cover that's generated at print time.

Generating the borders was just one, if major, task of the final solution, though. The custom software written in Processing, straight Java and PHP works as an internal webservice at Faber which receives new batch orders and then generates complete, print ready PDF files with all copy, branding, spine, ISBN, barcode and optional high-res JPG preview using the book details supplied. Generating a single cover only takes about 1 second, but due to its iterative and semi-random nature can sometime require hundreds of attempts until a "valid" design is created which is judged to be "on brand" by software itself.

What a day it will be when software can determine whether all of us are "on brand" or not. (thx, david)

By Jason Kottke    Aug 26, 2008    books   design   Processing

Chronotopic Anamorphosis

Video of a Processing program that slices up frames from a video and displays them with a slight time delay from top to bottom. The result is completely trippy. Wait for the door opening bit. See also: time merge media. (via today and tomorrow...thx, red)

Processing in JavaScript

This is pretty incredible...John Resig has ported the Processing visualization language to JavaScript. Wow. (via waxy)

Processing: A Programming Handbook for Visual Designers and Artists by Casey Reas and Ben Fry

Processing: A Programming Handbook for Visual Designers and Artists

Casey Reas and Ben Fry, inventors of the Processing programming language (that's Proce55ing to you old schoolers), have just come out with a book on the topic that looks fantastic. In addition to programming tutorials are essays and interviews with other heavy hitters in the programmatic arts like Golan Levin, Alex Galloway, Auriea Harvey, and Jared Tarbell. The site for the book features a table of contents, sample chapters, and every single code example in the book, freely available for download. Amazon's got the book but they're saying it's 4-6 weeks for delivery so I suggest hoofing it over to your local bookstore for a look-see instead.

By Jason Kottke    Oct 2, 2007    art   Ben Fry   books   caseyreas   design   Processing   programming

Syllabus and notes from an ITP class

Syllabus and notes from an ITP class called The Nature of Code, which focuses on "the programming strategies and techniques behind computer simulations of natural systems". Lots of good notes and Processing code examples.

How to photograph cool smoke pictures. Or

How to photograph cool smoke pictures. Or you can skip the smoke altogther and make smoke-like images with Processing. (thx, shay)

Live City by Daniel Shiffman uses live

Live City by Daniel Shiffman uses live cam images of New York City to create a living, interacting virtual city.

By Jason Kottke    Jan 4, 2006    cities   Emergence   gameoflife   NYC   Processing

Processing applet in which an adaptive population

Processing applet in which an adaptive population plays tag. "If a member plays tag well (when they're it, they tag others), they'll live longer." Prettiest game of tag I've ever seen. (via proc blogs where you'll find lots of neat Processing-related things)

By Jason Kottke    Oct 26, 2005    games   Processing

The letter-pairs analysis application reads in some

The letter-pairs analysis application reads in some text and displays a graphical representation of distribution of letter pairs used in the text. Love the aesthetics of the information display.

A visual history of sampling; who's been

A visual history of sampling; who's been sampled and who's doing the sampling.

By Jason Kottke    Jun 10, 2005    infoviz   music   Processing   remix

Strange attractors and fashion photography meet at

Strange attractors and fashion photography meet at last in this collaboration between Clayton Jame Cubitt and Tom Carden.

Processing, a programming environment for designers and

Processing, a programming environment for designers and artists, is in beta. It's the first public release.

Fingerprint Maze: takes a scan of your

Fingerprint Maze: takes a scan of your own fingerprint and turns it into a 3-D maze which you can navigate.

kottke.org, quickly...

The best way to get a sense of what kottke.org is all about is to head to the front page or check out some random entries from the archives.

Tags related to Processing:

design (612)    claytonjamescubitt (3)    infoviz (163)    photography (821)    programming (21)    books (737)    video (746)    fractals (9)

Looking for work?

See more on the Job Board.

Tags, tags, tags

Many posts on kottke.org have been "tagged" with keywords, which activity results in collections of related posts like sports, infoviz, or best of.

Recently popular tags (last 3 weeks)

The 2000s (14)    post updates (45)    video (746)    USA (13)    movies (1072)    books (737)    science (634)    lists (646)    food (666)    photography (821)    best of (372)    art (389)    sports (486)    advertising (178)    maps (234)

All-time popular tags

movies (1072)    photography (821)    video (746)    books (737)    NYC (694)    food (666)    lists (646)    science (634)    design (612)    sports (486)    music (405)    art (389)    business (382)    best of (372)    TV (370)

Useful favorites

photography (821)    economics (202)    lists (646)    best of (372)    infoviz (163)    food (666)    NYC (694)    firstworldproblems (4)    cities (135)    restaurants (188)    video (746)    timelapse (3)    interviews (256)    language (272)    maps (234)    fashion (164)    NSFW (63)    remix (207)

Random tags

understandingcomics (2)    coffee (6)    philosophy (4)    fundraising (2)    Indiana Jones and the Kingdom of the Crystal Skull (7)    everythingbadisgoodforyou (4)    dinosaurs (5)    christopherbrosius (2)    edslobsterbar (2)    fedex (4)    davidfriedman (3)    Danny Meyer (8)    dickcavett (2)    billjoy (2)    HTML (7)