pxon / pxon-schema

the #official repo™ documenting and discussing the schema of pxon
http://jennmoney.biz/pxon
MIT License
31 stars 0 forks source link

size vs scale #1

Closed jennschiffer closed 6 years ago

jennschiffer commented 9 years ago

Right now each pixels object has a size. This should be changed to scale and it will be a scale of a pxif property called size. As such:

"pxif": {
    "size" : 15,
    "pixels"  : [
      {
        "x"  : 0,
        "y"  : 0,
        "color" : "",
        "scale"  : 1
      }
    ],
    "dataURL" : ""
  }     

This is the culmination of a discussion with @brianloveswords and @rwaldron, both good people™.