tor-browser

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

gradient.yaml (1501B)


      1 # Checks the UV interpolation of a preserved 3d stacking context matches
      2 # a flat stacking context. There are four black rectangles that overlap
      3 # the edges of the transformed gradient to minimize fuzz.
      4 ---
      5 root:
      6  items:
      7    - type: "reference-frame"
      8      bounds: [0, 0, 2746, 1408]
      9      transform-style: preserve-3d
     10      perspective: [1, 0, 0, 0, 0, 1, 0, 0, -0.4699999988079071, -0.44999998807907104, 1, -0.0012499999720603228, 176, 160, 0, 1]
     11      items:
     12        - type: "reference-frame"
     13          bounds: [0, 0, 2746, 1408]
     14          transform-style: preserve-3d
     15          transform: rotate-y(-53)
     16          items:
     17            - type: "stacking-context"
     18              transform-style: preserve-3d
     19              items:
     20                - type: "stacking-context"
     21                  transform-style: flat
     22                  items:
     23                    - type: rect
     24                      bounds: [0, 0, 300, 300]
     25                      color: 255 255 255 1.0000
     26                    - type: gradient
     27                      bounds: [0, 0, 300, 150]
     28                      start: [150, 0]
     29                      end: [150, 150]
     30                      stops: [0.0, [255, 0, 0, 1], 1.0, [254, 0, 0, 1]]
     31    - type: rect
     32      bounds: [520, 260, 120, 20]
     33      color: 0 0 0 1.0000
     34    - type: rect
     35      bounds: [520, 336, 120, 3]
     36      color: 0 0 0 1.0000
     37    - type: rect
     38      bounds: [520, 260, 10, 80]
     39      color: 0 0 0 1.0000
     40    - type: rect
     41      bounds: [622, 260, 10, 80]
     42      color: 0 0 0 1.0000