Friday, 25 February 2011

Prototypes: Set up #4 - Full Size

The Art of Ping Pong Prototype #4 - Full Size from Jono Sandilands on Vimeo.

Using the same rough sketches as the last prototype (see here). The application uses colour tracking to track the red ball.

I set up a makeshift table using really thin sheets of board - they kinda absorbed the bounce making it really hard to play normally - will need to get a better surface even to test on - even an old ping pong table would be great - if anyone can help?

So hopefully in the video you can see how the projector and camera are placed at a high angle to the table - this test has confirmed that the projector and camera (especially) need to be directly above (or below if I can source a reasonably priced short throw projector - see table plan option 1 here).

Next:
A lot of work needed on the application
More tests of actual gameplay at full speed - I think the camera I currently use may not pick up high speed play.
Also work on plans for construction of the final table.

One step further...

Construction: Table option 2

So after a test with projector at a slight angle above - it confirms the tracking camera and projector would need to be directly above the table - if the inside table, original idea (see here) is not plausible. Would need a transportable rig to firmly hold the projector and camera and the idea would be to have two large tripod stands with a gantry frame/ rig over table.

Source website: http://www.cokerexpo.co.uk/lighting.htm

Prototypes: Set up #4 - Full Size


Quick screen grab from video clip of full size working set up. Video coming soon.

Tuesday, 22 February 2011

Construction: The Table


Rough Table model - produced in Google Sketch Up
Note: 1 clear side on top and 1 side panel absent to allow view inside table.

I had always planned to build a 'special' table for The Art of Ping Pong, but I have only recently begun to think about how it may look. It does need to be within a budget so have tried to come up with something which works to that.

I should think about how to transport this and also store it - can it come apart? Flatpack? Fold up?

Technology: Ideally everything would be housed inside the table - but have not tested out all potential routes yet. (ie short throw projector could be expensive + camera to track motion may have to be placed above table). The printer could be accommodated in a much cleverer way (perhaps much like a photobooth style when photo drops out).

Build: There would be a frame of rough sawn timber and boxed in bottom and sides with plywood and doors for access. The top would consist of perspex sheeting which allows for backlit projection. With standard table tennis equipment. I'd also plan to 'brand' the table with vinyl logo etc.

Brainwave: Just another thought for marketing - get printed ping pong balls with logo + web.

Prototypes: Set up #3 - Colour Tracking

The Art of Ping Pong Prototype #3 from Jono Sandilands on Vimeo.

After a bit of getting back to basics in Processing over the past few days - here is another test/rough sketch but this time using colour tracking using a camera above, specifically of a red ping pong ball.

Basically the red ball acts like a pen and draws it's path onto the screen. There are two versions in the video - one which just builds up ellipses and one in which the ellipses become smaller with each update. (Screenshot below)

Be quite good to get this tested on a bigger scale - with actual gameplay. I will use projector from high angle with keystone and create makeshift table with camera directly above.

I can maybe even start thinking about more dynamic graphics and importing vectors. Other thing to think about with this is - people wearing clothing the same colour to the ball - also scope for using a collision sensor or microphone in the table to only record when the ball actually hits the table. - When doing these tests I placed my hand on my test piece of perspex - and could feel the vibration when the ball hits the surface - may not work on larger surface but be worth a test... soon time to get Arduino out.

Learning: Daniel Shiffman


A bit more advanced & in depth than the YouTube tutorials I have been working through. Looks great!
http://www.learningprocessing.com/

Monday, 21 February 2011

Learning: Processing 101

I feel like I need to do a course on Processing - so I am going to go through this set of basics lessons/tutorials on YouTube. It will be beneficial just to go over everything and get it explained. They are starting off really simple but think its good practice.
00 - 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11
Ok, complete - at the end of the last tutorial the guy promised further tutorials but I can't find them, which is a shame as they were just getting good!

Suppliers: Perspex

If I go with a backlit projection from within the table I will need to source perspex sheeting to allow light to "shine" through. For a uni project I used a company in Dundee called Stockline Plastics (website).
Have also found this site: http://www.theplasticshop.co.uk/

Sunday, 20 February 2011

Research: Projectors

Update: This may help (http://www.projectors.co.uk/) And to clarify what I will be looking for: a big image from a short throw distance. (Ultra short throw projectors) (also more here)

Update 2: This one seems to be just about perfect - will worry about price later (most likely out of budget).


My plan is to have a projector within the table (rough plan/model coming soon) The problem I may face is there may not be enough depth in the table for the projector to fill the entire surface of the table. Need to look at the technical details of the projectors to get info. I imagine this post will update over time and the following (cheaper) projectors may not be 'eligible' for the table.

Optoma Projector

Acer Projector

HD Projector for games consoles/laptops etc

Research: Printers

One of the main ideas of the project is that after a game the piece of art is printed - I originally thought it would be printed on A2 but that would cost way too much - It would be quite neat to have them postcard sized and there are a few low price standard photo style printers around, they also allow borderless printing.

Canon SELPHY

Polaroid PoGO

Resource: Table Dimensions


Source - Wikipedia

Saturday, 19 February 2011

Prototypes: Set up #2 - Processing Rough Sketch

Been a while since the last prototype/test (see 9 May 2010 -Sound prototype)

The Art of Ping Pong Prototype #2 from Jono Sandilands on Vimeo.


Set up consists of LCD TV covered by a piece of perspex acting the table, the MacBook which is running a rough processing application using the camera & Myron.

Basically it is using the camera to track the motion of the ball - it is slightly rough around the edges - perhaps a bit slow - but I am happy with this for now knowing I really need to push my abilities in Processing to make this better.

The mock table works great - but when I shift up to a full size ping pong table, I will have to think about a different idea - as lots of screens could be expensive. Projection would be possible, and preferably back projection. I will be drawing a rough plan for what I propose for the actual table soon.

Screenshots of the tests - part of the idea of the project is after a game the piece of art created is automatically printed and hung up on the wall while more games are played. There is a way to export a PDF of the application - sure there must be a way to automatically print a file when it is updated.


So, still loads to do, but feel I'm a step forward and back on the right track again.