Before you can create any motions, you need to create an MotionCorporation App. An App is essentially a container for motions.
Using the Web interface at dev.mcorp.no you can create new Apps and manage them. App management mainly involves creating named motions and managing access to your motions.
The MCorp JavaScript library also provides an App object in the browser. This simplifies initialisation of motions and hides complexities associated with access control.
Go to dev.mcorp.no. Click the Apps link. You will be asked to identify by logging in with your Google Account. Please note that Google only provides Motion Corporation with a unique user ID, so that we can figure out which applications are yours whenever you log in. Other login schemes will be supported.
Supply a name for your App and click the "New App" button. This will create an App and take you to its info page. You are the App owner, and you will be the owner of all motions created within this App.
Apps are identified with an APPID. When you are want your web page to load your motions, you will need this APPID. Although the APPID is digits only, it should always be represented as a string to avoid rounding errors for large numbers in JavaScript.
Currently, Apps distinguish two types of motions. global motions and user motions.
Global motions are instantiated once per App. Such motions can be shared between all users of your App.
User motions are instantiated once per User. Such motions can be shared among the devices of a single User.
Within the info page for your App, click the Add button to create new motions.
Give it a sensible name depending on its purpose in your application, e.g., "videocontrol".
Motions can be range-less (infinite) or be restricted by a range, e.g., [0,172.2]
Make sure the read/write access credentials ar ok, for you, for groups and the rest.
Congratulations, you have made a motion. The next step is to bring it into your web application. See Motion Hello