Für den Inhalt dieser Seite ist eine neuere Version von Adobe Flash Player erforderlich.

Adobe Flash Player herunterladen


January, 2010


17
Jan 10

swarmHUD – An intelligent window prototype


3
Jan 10

Apple ‘Magic Wand’ Remote System – homebuilt

I just saw the following patent of apple: Apple ‘Magic Wand’ Remote System Patent for Apple TV Resurfaces

Took me 2 minutes to code.
A accelerometer recognizes gestures and sends IR signals. These signals trigger applescripts to emulate a keytroke.

Yeah i know. Who the hell owns a magic wand..

Heghlu’meH QaQ jajvam!

This is the applescript I use to trigger my actions.

on kymera(gesture)

	--say gesture

	if gesture is "swing" then
		tvpower()
	end if

	if gesture is "up" then
		tell application "System Events"
			key code 53
		end tell
	end if

	if gesture is "down" then
		tell application "System Events"
			key code 36
		end tell
	end if

	if gesture is "rotate left" then
		tell application "System Events"
			key code 126
		end tell
	end if

	if gesture is "rotate right" then
		tell application "System Events"
			key code 125
		end tell
	end if

	if gesture is "tap" then
	end if
	if gesture is "sidetap" then

	end if
	if gesture is "swing right" then
		tell application "System Events"
			key code 124
		end tell
	end if
	if gesture is "swing left" then
		tell application "System Events"
			key code 123
		end tell
	end if
end kymera

I use iRed by Robert Fischer to assign a applescript to a IR Signal.

set HAL to load script "Macintosh HD4:HAL:Preferences:31Prototypes.scpt" as alias
	tell HAL
		kymera("down")
	end tell

2
Jan 10

hex – update.

You can now play hex online!
Have fun.


1
Jan 10

hex – a (multitouch) game.

I got inspired this year at the 26C3 in Berlin to code a game called hex.
This is my Multi-Touch game prototype, open source and free download coming these days.

You can play it online @ www.31media.de/hexTouch (If you have a Multi-Touch device: hex connects on port 3000 an requires a running flosc server.)

Hex is a board game played on a hexagonal grid, theoretically of any size and several possible shapes, but traditionally as an 11×11 rhombus.

Each player has an allocated color, Red and Blue being conventional. Players take turns placing a stone of their color on a single cell within the overall playing board.

The goal is to form a connected path of your stones linking the opposing sides of the board marked by your colors, before your opponent connects his or her sides in a similar fashion. The first player to complete his or her connection wins the game.”

Check out HEX ON WIKIPEDIA