After some time off blogging, I am back with an announcement of a major piece of ongoing work in the form of a PhD!
Expressivity and the Digital Puppet:
Mechanical, Digital and Virtual Objects
in Games, Art and Performance
Here we go! I did this once then failed to remember how I did it – and I’m not surprised – because the functionality to attach a speech command to an application specific key-press can only be accessed by SPEAKING the command “Define a Keyboard Command” – highlighted below in the Speech Commands window. Read more…
A Quartz Composer patch that will automatically produce a cool, adjustable reflection from an image, text or video input. The style is familiar from Tiger applications, particularly “Front Row” and Keynote. It is a visual style echoed across Apple’s branding and is slightly cooler than a simple drop shadow.
Most are self explanatory but here are some notes:
Color: this controls the background, the ‘fade to color’ of the reflection gradient and the ‘fade to color’ of the block that fades the reflections
Gradient Point 1 and 2: This numbers control the falloff / distance of the reflection The numbers relate to the size of the image measured in pixels. To get recommendations on what values to use select Gradient Advice.
Currently the recommended values are calculated like so:
Gradient Point 1: image height (px) / 1.7
Gradient Point 2: image height (px) * 1.5
Gradient point 1 should be smaller then Gradient point 2. Gradient point 2 should be around the height of the image – but different effects can be achieved by varying it. Likewise, increasing Gradient point 1 from 0 increases the brightness of the first part of the reflection – creating a nice controllable reflection fall-off.
In a cocoa application the reflection gradient parameters could be more usefully mapped to a couple of sliders. If a simpler interface is needed, you could hard wire the ‘recommended’ values into the relevant inputs.
Gap: Makes a gap between the reflection and the image. This improves the illusion that the image is sitting on a surface.
- with a little effort the patch could be used in a cocoa application or, I think, converted to an image unit for use in other applications.
- thorough testing of how images with alpha channels work.
Key Quartz Composer Techniques
- mask and alpha manipulations.
- blending modes
Download Application: QCStereoscopicRecorder 0.1 (Universal Binary) OS 10.4 required
Download Source: QCStereoscopicRecorder 0.1 Source (4.0mb)
QC Stereoscopic Recorder is my first Cocoa app! It is part of my work towards an MA in Computer Arts. The app is a component of a larger project called â€œAnamorphicaâ€ in a class called â€œExperimental Digital Mediaâ€. Further documentation of this project will appear over the next few weeks. Basically, I am aiming to make a low-cost open source anaglyph recording and â€˜performanceâ€™ system.
To use it you will need two firewire cameras.
Performance is improved if each camera comes in on a separate firewire bus. To effect this, I use a Lacie firewire PCMCIA card in my G4 laptop.
I needed a simple application that would capture dual camera input, export to quicktime and make an anaglyph.
I have included â€œstereo-pairâ€ generation. Stereo-pair generation will come into itâ€™s own when the application can handle full-screen and dual monitor support. Then I may create a â€˜Wheatstoneâ€™ device (see http://www.stereoscopy.com/library/wheatstone-paper1838.html).
QCStereoscopic Recorder would not have happened if it wasnâ€™t for the wonderful â€œQuartz Composerâ€. Easy and a joy to use. As I am learning Cocoa and Objective-C, the project is indebted to sample code and open source initiatives.
early recursive anaglyph experiment made with qc stereoscopic recorder
transfer bookmarks from safari to delicious
a personal hack gone public. a web based step-through to transfer safari bookmarks to a named delicious account. you have full control over tags and what urls are uploaded. it is not necessarily designed for large collections and it benefits from having named urls already organised in folders in the safari bookmark manager. For me it was very useful to generate tags from nested folders. safari2delicious will apply tag to all imports to allow management of imports in the delicious environment. I hope this hack gets outmoded by a more elegant service from delicious.