Skip to content

visualengineers/geformt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gesture Formalization for Multitouch (GeForMT) JavaScript Implementation

Gesture Formalization for Multitouch – or short GeForMT – is a domain specific language, which describes multi-touch gestures. GeForMT proposes a reasonably detailed set of gesture building blocks while hiding as many concrete parameters and implementation details as possible. The design goals are:

  • Concise and clear to read for humans
  • Formal definition for platform-independent use
  • Quick implementation by embedding in code
  • Support of direct manipulation (online gestures) and stroke shortcuts (offline gestures)

Project Website

More information, demos and tutorials are available on geformt.org.

Prerequisites

Install ANT

MacOS:

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew update
$ brew install ant
$ ant -version

If you are getting errors installing Brew, try uninstalling first using the command:

$ rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup

If you have MacPorts installed (https://www.macports.org/), do this:

$ sudo port install apache-ant

Generating The Parser

The parser is generated using a grammar file and PegJS.

$ npm install -g pegjs
$ cd <path_to_repo>/grammar
$ pegjs geformt.pegjs

Building The Library

Using ANT to generate concatenated and minified JavaScript code. Using some dependencies for ANT.

Run:

$ ant compress

About

Gesture Formalization for Multitouch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages