Archive for the 'PDF' Category

mondayBanner // 19 May 2008

Monday, May 19th, 2008

mondayBanner_20080519
run the sketch—view the code

How do you use it?
Move the mouse around. As it is currently set up, (if you are running it in Processing not a browser) a left-click will save the drawing window as a TIF. It also contains commented-out code for exporting a PDF for access to the drawing as vector objects.

What is it?
It’s actually based on the workshop demo sketch from last week.

Workshop Demo // PDF export

Wednesday, May 14th, 2008

_20080513_WorkShopDEMO_pdf
run the sketch—view the code (w/PDF export, w/o PDF export)
How do you use it?
Move the mouse around to draw. Click-and-drag to draw to a PDF file.

What is it?
I put this together for a workshop I taught last night. Primarily this is an example of some code to for beginners. If that’s you, use the vesion without the PDF export. It is also a demo of one way to use the PDF Export library so you can edit your drawing in Adobe Illustrator or another vector drawing program. When you click-and-drag to draw, a PDF will be saved in the sketch folder when you release the mouse button.

Why is it cool?
This stuff isn’t just for the screen, it can be used in print! Being able to use the results of your Processing sketch in Illustrator makes simple computer programming appealing to graphic designers.