tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

transform.yaml (500B)


      1 ---
      2 root:
      3  items:
      4    # 45 degrees result in middle -+ 14.142, rounded to 14
      5    - type: stacking-context
      6      bounds: [0, 0, 60, 60]
      7      transform: rotate-y(45)
      8      items:
      9        - type: rect
     10          bounds: [ 10, 10, 40, 40 ]
     11          color: blue
     12    # 50 degrees result in middle -+ 12.856, rounded to 13
     13    - type: stacking-context
     14      bounds: [50, 0, 60, 60]
     15      transform: rotate-x(50)
     16      items:
     17        - type: rect
     18          bounds: [ 10, 10, 40, 40 ]
     19          color: blue