Archive for the 'Source Code' Category



Make JPEG droplet

A newly tweaked version of the droplet. This one allows you to set the JPEG compression quality by changing the number in the filename - just make as many copies as you need.
MakeJpeg download page


27 January 2008 in AppleScript, Programming, Source Code / No Comments

Elastic Collision

A small tutorial on how to create bouncing balls with ActionScript source code. A couple of years back I was creating some interactive sites using bouncing balls as navigation. These needed to behave in a believable manner so I spent some time looking at rigid body dynamics code.


29 July 2007 in ActionScript, Programming, Source Code / 1 Comment

Sizer

If you’re a print designer who regularly receives batches of digital artwork from various sources then this might save you a bit of time.


8 June 2007 in AppleScript, Programming, Source Code / 2 Comments

PostScript

Most designers and programmers whose paths I’ve crossed have heard of PostScript but don’t know much about it. I think it’s a hidden gem. Not only is it a fascinating programming language which can be used to create generative drawings and save you hours of time through automation, but you can also use it as [...]


5 June 2007 in ActionScript, PostScript, Programming, Source Code / 9 Comments

Pottery

[ZIP] Download Pottery with source code
To use: draw a simple ‘S’ shape on the left-hand panel. Then experiment. Note that it’s fairly crude and only renders convex surfaces properly.
This was a quick mockup I made at the end of last year to try out an idea for a Christmas Card. It was originally going to [...]


26 May 2007 in ActionScript, Source Code / 2 Comments

Vector Field with source code

I’ve decided to start releasing bits and pieces of source code just for fun. The first one is the Vector Field demo I wrote ages ago.
First, the source code
[ZIP] Download Vector Field source code
It’s easy to change the size, colour and ’splat’ graphics. This is totally free for non-commercial use, but I kindly ask that [...]


12 May 2007 in ActionScript, Source Code / 1 Comment

Shared SharedObject in Flash

One of the problems I had when writing Flash Screensavr was sharing preferences between two separate and different SWF files - the Preferences panel and the Screensaver itself. Obviously a job for SharedObject.
However there is a trick to creating a SharedObject that behaves how you’d expect.


12 May 2007 in ActionScript, Source Code / 2 Comments