Archive for the 'hackday' Category
Mash 2008 – BBC Super Search

Had an idea called bbc super search for mashed 2008 this year,

1. I made a web scraper which successfully crawled and extracted the metadata

on all the 4000 or so root folders on the bbc web site,

2. created a real-time client side search app for them

3. did another one for the iplayer metadata,

4. made a tag cloud version,

5. then put the tag cloud into 3d,

6. then made a end screen in 3d :)

Unfortunately during the actual presentation i only got onto the tag cloud when i ran out of time and Sylvester McCoy

(yes the ex-doctor who) dragged me off the podium with his umbrella handle…

Still great laugh good fun,

Alas here’s links and source of what was achieved, I didn’t even get a chance to thank Cris who parsed and did the proportional weighing of the tag cloud for me…

Sorry Cris, anyway here’s our 24 hour project it’s it’s full glory

My Examples and Source

not a bad bunch if i don’t say so myself, considering we only had 24 hours

BBC Screen Scraper

http://extdev.bbc.co.uk/scotland/test/bbc_super_search/screen_scraper.html

BBC Super Search

http://extdev.bbc.co.uk/scotland/test/bbc_super_search/controller_bbc_co_uk_app.html

iPlayer Super Search

http://extdev.bbc.co.uk/scotland/test/bbc_super_search/controller_iplayer_bbc_co_uk_app.html

Non-3d Tag Cloud (Takes a while to load)

http://extdev.bbc.co.uk/scotland/test/bbc_super_search/controller_tag_clouds_app.html

3d Tag Cloud (Takes a while to load, try searching ‘teenager’!)

http://extdev.bbc.co.uk/scotland/test/bbc_super_search/controller_3dtag_clouds_app.html

End Screen

http://extdev.bbc.co.uk/scotland/test/bbc_super_search/end_3d_app.html

Source

     bbc_super_search.zip

More Photos

http://www.flickr.com/search/?w=all&q=mashed08&m=text

http://www.flickr.com/search/?w=all&q=mashed2008&m=text

Hack Day Webcam Fun

Me trying to lose wieght

These are some experiments me, Jon Howard, and did for hackday, it turned out to be hackhours as we talked and ate pizza for most of the day.

DISCLAIMER: All this code was based on Jon Howards examples, the man is a genius, whenever i’m down in london I make sure I pop by to see whatever he’s been working on last,

last time it was a small movie of his kid running behind a tree in a forest, no biggie right, then he starts panning in 3D.

.

.

I’ve cleaned up the code, basically the idea was to create 3 flash appilcations which would sit on a website and provide the following apis for the javascript on the html page. All the setup for the webcam was to be one line of code.

here’s what we came up with…

BUTTON WEBCAM API

nudge.jpgmulti_nudge.jpg

source and api docs here

1. Nudge API this was for buttons hit by the person on the webcam:

callback_obj.onWebcamNudgeUp(NUDGE_DIRECTION_CONSTANTS)

callback_obj.onWebcamNudgeDown(NUDGE_DIRECTION_CONSTANTS)

.

MOUSE WEBCAM API

Would of put pictures for the demos did i mention the lack of webcam/Admin Rights I’ve been having

1 pointer demo   multi pointer demo   source and api docs here

2. Mouse API this was for objects moved by the person on the webcam (it would try to find a finger and follow it):

onWebcamPointerMove(x:Number,y:Number, pointer_index:Number)

.

MINORITY REPORT 2 HANDED MOUSE WEBCAM API

here’s a link to jon’s excellent example, didn’t quite manage to get this one done… demo1 demo2

And lastly the ambious minority report style where the code would try to understand where hands are, and we they are crasped together for the onDown and apart for the onUp:

onWebcamGrabMove(x:Number,y:Number)

onWebcamGrabUp()

onWebcamGrabDown()

.

I would of done more cleanup but due to the unique way the IT is setup in PQ, I can’t install a webcam to continue my experiments… alas the pictures/demo movies taken are from a macbook plugged in under someone’s desk (don’t ask)

The “HTML with SWF — through Localconnection To —> HTML with SWF — external interface —> JS on same HTML Page” examples included in source

source and api docs here

Ant