css worm

by michael on 23 April 2010 — Posted in proof of concept

jqueryattachtest2

More work on an “attach” function, now as a jquery plugin. Each element is “attached” to the preceding in cascading fashion. Surprisingly pleasant forms ensue. Only the root element (darker gray) is draggable, but in fact as each subsequent square is placed as a child of the preceding element, all elements act to drag the root element. As a result, jQuery’s event.stopPropagation function is important in the mouseover events…
LIVE DEMO

More svg spinning…

by michael on 27 January 2010 — Posted in proof of concept

triangles1

Again using the svgweb library, so it works in both glorious native SVG (Firefox, Chrome), and fallback Flash (Explorer); performance differences (i.e. relative slowness of the flash fallback) become quite apparent with large numbers of objects.

Zoom

by michael on 20 October 2009 — Posted in proof of concept

stacks15

A notion of translating a “virtual” space of elements to the screen is added, with a “zoom region” … part of the stacks series…

Chase

by michael on 17 October 2009 — Posted in proof of concept

cursor

Going beyond a simple 1-to-1 mapping.

Stacks

by michael on 15 October 2009 — Posted in proof of concept

stacks

Stacks 101, to be continued…

SVG Spinning

by michael on 18 September 2009 — Posted in proof of concept

svgspinning

Using svgweb, which allows using Firefox’s (and other browsers’) native SVG support while also providing a fallback to flash for Internet Explorer, super-cool.

Some JavaScript dives into the SVG and wraps each path element in a “spinner” callback (that repeately sets the elements “transform” attribute).

Alignment

by michael on 20 August 2009 — Posted in proof of concept

alignmentflower

I am working on some jQuery functions to ease making object related layouts.

RUN

CODE

FeedPaint

by michael on 6 August 2009 — Posted in proof of concept

feedpainter02

MacPaint meets RSS… A proof of concept relating to several things cooking in my head at the moment like: how to make a “spatial wiki”, and incorporating “live” elements into collage-based editing tools. NB: everything is draggable (including the background to move the whole “canvas”), and texts can be resized (widths adjusted) using a not quite right resize control that appears top-right of the headline. Feed sources are semi-random at the moment (some belgian news sources + BBC & Google News), images come from either Flickr or Getty. And nothing is deletable! So embrace the randomness.

The CGI’s to pull the text + images from the feed are Python using Feedparser and some quick and dirty regex tweaking of the Flickr feed to pull out a small sized image URL.

RUN THE DEMO
VIEW THE CODE

DIY Media Player

by michael on 27 July 2009 — Posted in proof of concept

shuffleplay

Here a proof of concept for a future teaching assignment (ok ok, also my own “itch” ;)… Build your own media player. Here PyGame is used to make a simple frameless window (which because of the black background *appears* to blend into my mostly black desktop image)… Also, the code makes use of Fabien Devaux’s lightweight python mplayer wrapper (that wraps a python class/object around mplayer’s “slave” mode).
(more…)

Over and under

by michael on 1 July 2009 — Posted in proof of concept

overandunder

I was struggling with getting the layering right using a transparent background and ended up making this. In the process, I (re) learned how relative positioning lets elements be both in the “flow” of a layout, and still layered. (I was having the problem “normal” elements would appear underneath the absolutely positioned transparent background layer.)

Next Page »