MT4j comes with a set of examples. These are intended to show the main features and to give an impression about how to use MT4j. The examples also run without multi touch hardware via mouse and keyboard. For the simulation of a second finger (required e.g. for zooming and scaling) press ctrl+n to set the position of the simulated finger and press shift to touch with the simulated finger. Under Windows and Linux, you can also use multiple mice (enable it in Settings.txt). As soon as you're familiar with "multi mice", this is quite similar to using real multi-touch hardware.
Basic ExamplesHello World ExampleThe Hello World Example is the most simple example. It uses a MTTextArea which can moved and manipulated using multi touch gestures. Watch video on Youtube View source code SVG ExampleThe SVG example shows how to load Scalable Vector Graphics (SVG) in MT4j. The loaded images can be moved and manipulated using multi touch gestures. Watch video on Youtube Scenes ExampleThis example shows how to switch between different scenes and how to use scene change effects in MT4j. Watch video on Youtube Fiducials/TUIO ExampleThis example shows MT4j support for fuducials via TUIO protocol. Requirements:
Advanced ExamplesDraw ExampleThe draw example is a tool which allows multiple users to draw simutaniously within an internal frame. Requirements:
Watch video on Youtube Modest Maps ExampleThe modest maps example shows multi touch deep zoom functionality. The example now allows to switch between different map providers (Microsoft, Open Street Maps, Blue Marble..) with a sliding menu. You can o/c push the foto button and search for geo-tagged flickr photos, that are displayed where they where taken. Requirements:
Watch video on Youtube Flickr™ Photo ExampleThis example application is a tribute to Jeff Han's photo application. It uses MT4j's multi touch keyboard to type, search and download images from Flickr.com. The screen content can be moved and manipulated using multi touch gestures. Requirements:
FlickrApiKey=YourApiKey FlickrSecret=YourSecretKey
Watch video on Youtube Fluid Simulation ExampleRequirements:
Watch video on Youtube ,2nd Video (with MSA Remote for iPhone) Space 3D ExampleThis example shows how to work with 3D objects, animation and 3D transformations in MT4j. Requirements:
Watch video on Youtube Models 3D ExampleThis example shows how to work with 3D objects and 3D transformations in MT4j. Requirements:
Watch video on Youtube Touch Tails ExampleDraw ribbons with your fingers that come to life afterwards! This example shows multi-user multi-touch motion processing in MT4j. Instructions:
Watch video on Youtube Physics Playground ExampleIn the physics playground you can throw shapes around. It shows how easy it is to integrate physics into MT4j now. Watch video on Youtube Air Hockey ExampleA Demo for playing air hockey on a Multi-Touch device. Watch video on Youtube contact |