tor-browser

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

perspective-clipping.yaml (637B)


      1 ---
      2 root:
      3  items:
      4    - type: stacking-context
      5      bounds: 0 0 1024 768
      6      items:
      7        - type: rect
      8          bounds: 0 0 1024 768
      9          color: red
     10        - type: stacking-context
     11          bounds: 0 0 1024 768
     12          transform-style: preserve-3d
     13          perspective: 300
     14          perspective-origin: 0 0
     15          items:
     16            - type: stacking-context
     17              bounds: 0 0 1024 768
     18              # translate-Z(-300) scale(2)
     19              transform: 2 0 0 0 0 2 0 0 0 0 2 0 0 0 -300 1
     20              items:
     21                - type: rect
     22                  bounds: 0 0 1024 768
     23                  color: green