Animations

Animations

StickDraw uses JSON as the data structure for the animation.
There are two types of animations: Private and Public

Data Structures

StickDraw uses JSON as the data structure for the animation.

  • _id A unique id. Every animation is assigned a unique id by the system
    as an identifier
  • localId A unique id per platform. This unique id is created by the platform (i.e: This web site or Android app) that creates the animation.
  • name The user-friendly name of the animation. This can be changed anytime.
  • author The author of this animation. This is usually taken from your username. However, a default user preference can override this value.
  • description An optional descriptive sentences that describe the animation
  • width The width of the animation in pixels
  • height The height of the animation in pixels
  • isPublic A flag to tell the system to differentiate private vs public

Private Animations

Private animations can only be viewed, play and shared by the owner.
Since this type of animation is only available to you, the commenting service will not be available.

As the owner of this animation, you can make change a private animation to be a public by changing the isPublic flag.
Doing this will allow the animation to be accessible by everyone else.

Public Animations

Public animations can be viewed, play and shared by anyone accessing the system. By marking an animation public, you (as an author of that animation) are granting everyone else a view access to your animation.