scripty2 multitouch demos & tests

This alpha version of scripty2 supports multitouch events that normalize the multitouch APIs of various vendors.

Currently, there are compatibility modes for Nokia's Starlight Touch API, Apple's iPhone touch API and a fallback mode for desktop browsers (panning with mouse dragging, scaling/rotation with held down shift key).

For the implementation details, please see the API documentation, and the basic demo of manpulate:update (3 lines of code!).

These demos are optimized for the Starlight browser, iPhone Safari 3+, Desktop Safari 4+ and Firefox 3.5+. Support for IE is incomplete at this time.

The scripty2 multitouch support is not final, it's a alpha-stage implementation. This means there's several restrictions and known bugs that prevents it from being used in a production environment. Patches are welcome! Please fork and submit patches on Github.

Photo fun

Pinch, expand and pan around photos on a desk, and use rotation with two fingers to change the background color (about 50 lines of JavaScript code).

This demo works best on mobile devices and desktop computers.

Flickr Touchshow

Search for photos on Flickr, and move, scale and rotate them (about 60 lines of JavaScript code).

This demo works best on high-resolution mobile devices and desktop computers.

Pinchariffic

Pinch the falling color boxes to advance to the next level (150 lines of JavaScript code).

This demo works best on mobile devices and desktop computers.

Flickariffic

Flick away the falling color boxes to advance to the next level (200 lines of JavaScript code, including a custom effect).

This demo works best on desktop computers.

Use the following tests to check out the low-level Starlight APIs on the Starlight browser.

The Starlight browser currently requires Windows 7 and a single- or multitouch screen (detailed requirements).

Touchspector

Examine all data available in the low-level events of the Starlight Touch and Manipulate APIs, like pan speed and directions, touch bounding boxes, scaling and rotation, and tracking individual fingers.

This demo works only on the Starlight browser.

Testbed

A series of manually executable tasks to test your touchscreen and drivers with the Starlight browser. Examine the source for various useful techniques.

This demo works only on the Starlight browser.

Multitouch, test pages and demos have been developed
in cooperation with Nokia.