Wiimote Project » Wiimote Projects » Wiimote Glovepie projects » GLOVEPIE WII WHITEBOARD
 Pages: [1]
 Author Topic: GLOVEPIE WII WHITEBOARD  (Read 6196 times) 0 Members and 1 Guest are viewing this topic.
Karma: +2/-0
Posts: 64
Offline
 « on: October 25, 2010, 04:02:18 PM »

Hi,

I wanted to code my own whiteboard application because no-one really explained how the code worked. I found some useful math on the web and cobbled my program together.

I used GlovePie because its relatively simple to program, and a challenge to get it working with some of the math involved. I don't think anyone has written and published a script quite like this for a GlovePie Wii Whiteboard program. I would like to know if someone has though.

For Math teachers, this program uses a spectrum of math elements such as matrices, vectors, linear equations and perspective projection. Its at advanced high school level, and you can demonstrate to your students why math is relevant and practical.

Since I am not a whiteboard user, I have only tested the operation of the pen/mouse/cursor with a home-made IR pen on my CRT.

The IR tracking works really well, and the mouse button operation is so far limited to the visible cursor and the left mouse button click.

I have got some other Wii Whiteboard related ideas and this program will serve as a basis for that.

Thanks.

The full program script is published here -  http://glovepie.org/forum/viewtopic.php?f=6&t=728

Logged in users can download this program -   GlovePie Wii Whiteboard ver1.txt  (22.12 KB).

Quote

// GLOVEPIE WHITEBOARD EXPERIMENTAL CODE
// Version 1.0 for Public release, 24 October 2010
// By M.A.V. Brisbane, Australia

// PROGRAMMED IN GLOVEPIE VERSION 0.43 WITH 32-bit WINDOWS XP3 ON X86 INTEL PC
// Please use and modify this code to suit your application or educational needs

// MATHEMATICS OF PERSPECTIVE PROJECTION based on:

// SOURCE 1:
// http://www1.cs.columbia.edu/~belhumeur/courses/compPhoto/heckbert-proj.pdf
// Citation:
// "Fundamentals of Texture Mapping and Image Warping"
// Paul Heckbert
// pp 17-21, Master’s thesis, UCB/CSD 89/516, CS Division, U.C. Berkeley, June 1989.

// SOURCE 2: