$ 1 32 0.002 0 5 50 Auto 2112 2112 true 315 448 320 448 384 4096 %2F%2F%20Three%20streams%20per%20column.%20Each%20slot%20stores%20a%2010-bit%20start%20frame%20and%205-bit%20row.%0A%2F%2F%20One%20is%20added%20to%20the%20packed%20value%20so%20zero%20can%20mark%20a%20free%20slot.%0Aint%20streamState%5B120%5D%3B%0Aint%20streamStyle%5B120%5D%3B%0Aint%20streamSeed%5B120%5D%3B%0Aint%20rainFrame%20%3D%200%3B%0Aint%20sweepSlot%20%3D%200%3B%0Aint%20randomState%20%3D%2017317%3B%0Aunsigned%20long%20frameTime%20%3D%200%3B%0Aint%20nextColumn%20%3D%200%3B%0Aint%20spawnCredit%20%3D%200%3B%0Aint%20effectFrame%20%3D%200%3B%0Aint%20effectSeed%20%3D%200%3B%0A%0A%2F%2F%20Each%20rectangle%20packs%20glyph%20x%2C%20y%2C%20width%20minus%20one%20and%20height%20minus%20one.%0Aint%20glyphStart%5B33%5D%20%3D%20%7B%0A%20%200%2C%207%2C%2011%2C%2018%2C%2024%2C%2030%2C%2035%2C%2041%2C%2046%2C%2053%2C%2059%2C%2063%2C%2068%2C%2072%2C%0A%20%2075%2C%2078%2C%2083%2C%2091%2C%2093%2C%2098%2C%20103%2C%20107%2C%20114%2C%20119%2C%20122%2C%20125%2C%20134%2C%20139%2C%0A%20%20146%2C%20149%2C%20154%2C%20156%2C%20165%0A%7D%3B%0Aint%20glyphRects%5B165%5D%20%3D%20%7B%0A%20%202056%2C%202060%2C%20129%2C%20177%2C%2019%2C%2026%2C%2033%2C%203074%2C%209%2C%2049%2C%2051%2C%20304%2C%20129%2C%20524%2C%0A%20%208%2C%2027%2C%2034%2C%2041%2C%20192%2C%20240%2C%20524%2C%2090%2C%20548%2C%2040%2C%203075%2C%20160%2C%2010%2C%2017%2C%0A%20%2024%2C%2036%2C%20256%2C%20216%2C%20240%2C%20520%2C%20548%2C%201552%2C%20153%2C%20177%2C%2066%2C%20548%2C%209%2C%20256%2C%0A%20%201057%2C%2012%2C%2019%2C%2026%2C%20129%2C%20153%2C%20177%2C%20520%2C%20524%2C%20544%2C%20548%2C%201548%2C%20129%2C%20153%2C%0A%20%20520%2C%20113%2C%2043%2C%202568%2C%202572%2C%20129%2C%20153%2C%202056%2C%20129%2C%20177%2C%2012%2C%2044%2C%203072%2C%20193%2C%0A%20%20241%2C%20153%2C%203072%2C%20193%2C%20153%2C%203072%2C%203076%2C%20153%2C%203074%2C%201%2C%203%2C%2049%2C%2051%2C%203072%2C%0A%20%204%2C%2011%2C%2018%2C%2025%2C%2034%2C%2043%2C%2052%2C%203072%2C%20241%2C%203072%2C%203076%2C%20530%2C%209%2C%2011%2C%0A%20%203072%2C%203076%2C%20521%2C%20547%2C%2026%2C%203072%2C%20129%2C%20153%2C%20524%2C%203072%2C%20129%2C%20153%2C%20524%2C%2034%2C%0A%20%2043%2C%2052%2C%20193%2C%20240%2C%20153%2C%20520%2C%20548%2C%203074%2C%2064%2C%2067%2C%202560%2C%202564%2C%20177%2C%20512%2C%0A%20%20516%2C%20552%2C%20556%2C%2017%2C%2019%2C%2026%2C%2033%2C%2035%2C%201562%2C%20512%2C%20516%2C%2017%2C%2019%2C%20256%2C%0A%20%20304%2C%2012%2C%2019%2C%2026%2C%2033%2C%2040%2C%202058%2C%2088%2C%2091%2C%20516%2C%20552%2C%2019%2C%2026%2C%2033%2C%0A%20%20272%2C%20288%2C%201169%2C%208%2C%2010%2C%2012%2C%2024%2C%2028%2C%2040%2C%2042%2C%2044%0A%7D%3B%0A%0A%0Aint%20fontBits%5B96%5D%20%3D%20%7B%0A%20%2020014%2C%2018229%2C%2014%2C%204484%2C%204228%2C%2014%2C%201582%2C%208322%2C%2031%2C%201086%2C%2017446%2C%2030%2C%0A%20%2010434%2C%203058%2C%202%2C%2016927%2C%201086%2C%2030%2C%2016646%2C%2017982%2C%2014%2C%202111%2C%208452%2C%208%2C%0A%20%2017966%2C%2017966%2C%2014%2C%2017966%2C%202095%2C%2012%2C%2017966%2C%2017983%2C%2017%2C%2016942%2C%2017936%2C%2014%2C%0A%20%2016927%2C%2016926%2C%2031%2C%2016927%2C%2016926%2C%2016%2C%2017969%2C%2017983%2C%2017%2C%204238%2C%204228%2C%2014%2C%0A%20%2021073%2C%2019096%2C%2017%2C%2016912%2C%2016912%2C%2031%2C%2022385%2C%2017973%2C%2017%2C%2026417%2C%2020085%2C%2017%2C%0A%20%2017982%2C%2016926%2C%2016%2C%2017982%2C%2019102%2C%2017%2C%2016911%2C%201070%2C%2030%2C%204255%2C%204228%2C%204%2C%0A%20%2017969%2C%2017969%2C%2014%2C%2010801%2C%2017732%2C%2017%2C%2010801%2C%204228%2C%204%2C%202111%2C%2016644%2C%2031%2C%0A%20%204224%2C%204255%2C%200%2C%202081%2C%2016644%2C%2016%2C%2031744%2C%20992%2C%200%2C%2015008%2C%2021983%2C%200%0A%7D%3B%0A%0A%0Aint%20nextRandom%28%29%20%7B%0A%20%20int%20feedback%20%3D%20%28randomState%20%5E%20%28randomState%20%3E%3E%201%29%29%20%26%201%3B%0A%20%20randomState%20%3D%20%28randomState%20%3E%3E%201%29%20%7C%20%28feedback%20%3C%3C%2014%29%3B%0A%20%20return%20randomState%3B%0A%7D%0A%0Aint%20persistence%28int%20style%29%20%7B%0A%20%20return%2048%20%2B%206%20%2A%20%28style%20%3E%3E%2011%29%3B%0A%7D%0A%0Aint%20stateAt%28int%20i%29%20%7B%0A%20%20int%20tag%20%3D%20streamState%5Bi%5D%3B%0A%20%20if%20%28tag%20%3D%3D%200%29%20return%200%3B%0A%20%20tag--%3B%0A%20%20int%20age%20%3D%20%281024%20%2B%20rainFrame%20-%20%28tag%20%3E%3E%205%29%29%20%26%201023%3B%0A%20%20int%20firstRow%20%3D%20tag%20%26%2031%3B%0A%20%20int%20style%20%3D%20streamStyle%5Bi%5D%3B%0A%20%20int%20interval%20%3D%20style%20%26%2015%3B%0A%20%20int%20stride%20%3D%20%28style%20%3E%3E%204%29%20%26%203%3B%0A%20%20int%20falling%20%3D%20%28%2823%20-%20firstRow%20%2B%20stride%20-%201%29%20%2F%20stride%20%2B%201%29%20%2A%20interval%3B%0A%20%20if%20%28age%20%3E%3D%20falling%29%20%7B%0A%20%20%20%20int%20fade%20%3D%20age%20-%20falling%3B%0A%20%20%20%20if%20%28fade%20%3E%3D%20persistence%28style%29%29%20return%200%3B%0A%20%20%20%20return%20-1%20-%20fade%3B%0A%20%20%7D%0A%20%20int%20row%20%3D%20firstRow%20%2B%20%28age%20%2F%20interval%29%20%2A%20stride%3B%0A%20%20if%20%28row%20%3E%2023%29%20row%20%3D%2023%3B%0A%20%20return%2032%20%2A%20%28interval%20-%20age%20%25%20interval%29%20%2B%20row%3B%0A%7D%0A%0Abool%20spawnDrop%28int%20row%29%20%7B%0A%20%20int%20column%20%3D%20%28nextColumn%20%2B%20nextRandom%28%29%20%25%205%29%20%25%2040%3B%0A%20%20for%20%28int%20attempt%20%3D%200%3B%20attempt%20%3C%2040%3B%20attempt%2B%2B%29%20%7B%0A%20%20%20%20int%20start%20%3D%203%20%2A%20column%3B%0A%20%20%20%20for%20%28int%20i%20%3D%20start%3B%20i%20%3C%20start%20%2B%203%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20%20%20if%20%28stateAt%28i%29%20%3D%3D%200%29%20%7B%0A%20%20%20%20%20%20%20%20int%20kind%20%3D%20nextRandom%28%29%20%25%2010%3B%0A%20%20%20%20%20%20%20%20int%20stride%20%3D%201%3B%0A%20%20%20%20%20%20%20%20int%20interval%20%3D%201%3B%0A%20%20%20%20%20%20%20%20if%20%28kind%20%3C%205%29%20stride%20%3D%202%20%2B%20%28nextRandom%28%29%20%26%201%29%3B%0A%20%20%20%20%20%20%20%20else%20if%20%28kind%20%3C%209%29%20interval%20%3D%202%20%2B%20nextRandom%28%29%20%25%204%3B%0A%20%20%20%20%20%20%20%20else%20interval%20%3D%207%20%2B%20nextRandom%28%29%20%25%208%3B%0A%20%20%20%20%20%20%20%20int%20group%20%3D%20nextRandom%28%29%20%26%20127%3B%0A%20%20%20%20%20%20%20%20int%20length%20%3D%202%3B%0A%20%20%20%20%20%20%20%20if%20%28group%20%3C%20100%29%20length%20%3D%202%20%2B%20nextRandom%28%29%20%25%203%3B%0A%20%20%20%20%20%20%20%20else%20if%20%28group%20%3C%20119%29%20length%20%3D%205%20%2B%20nextRandom%28%29%20%25%206%3B%0A%20%20%20%20%20%20%20%20else%20if%20%28group%20%3C%20127%29%20length%20%3D%2011%20%2B%20nextRandom%28%29%20%25%2013%3B%0A%20%20%20%20%20%20%20%20else%20length%20%3D%2024%3B%0A%20%20%20%20%20%20%20%20streamStyle%5Bi%5D%20%3D%20%28%28nextRandom%28%29%20%25%209%29%20%3C%3C%2011%29%20%7C%20%28length%20%3C%3C%206%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7C%20%28stride%20%3C%3C%204%29%20%7C%20interval%3B%0A%20%20%20%20%20%20%20%20streamSeed%5Bi%5D%20%3D%20nextRandom%28%29%20%26%208191%3B%0A%20%20%20%20%20%20%20%20streamState%5Bi%5D%20%3D%2032%20%2A%20rainFrame%20%2B%20row%20%2B%201%3B%0A%20%20%20%20%20%20%20%20nextColumn%20%3D%20column%20%2B%201%3B%0A%20%20%20%20%20%20%20%20return%20true%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20column%2B%2B%3B%0A%20%20%20%20if%20%28column%20%3D%3D%2040%29%20column%20%3D%200%3B%0A%20%20%7D%0A%20%20return%20false%3B%0A%7D%0A%0Avoid%20setup%28%29%20%7B%0A%20%20chipName%28%22Green%20Phosphor%20Monitor%22%29%3B%0A%20%20logicFamily%28CMOS%29%3B%0A%20%20pin%2819%2C%20%22GND%22%2C%20GROUND%29%3B%0A%20%20pin%2820%2C%20%225V%22%2C%20POWER%29%3B%0A%20%20for%20%28int%20i%20%3D%200%3B%20i%20%3C%2012%3B%20i%2B%2B%29%20spawnDrop%28nextRandom%28%29%20%25%2024%29%3B%0A%20%20effectSeed%20%3D%20nextRandom%28%29%20%26%208191%3B%0A%20%20frameTime%20%3D%20micros%28%29%3B%0A%7D%0A%0Avoid%20loop%28%29%20%7B%0A%20%20unsigned%20long%20now%20%3D%20micros%28%29%3B%0A%20%20unsigned%20long%20elapsed%20%3D%20now%20-%20frameTime%3B%0A%20%20if%20%28elapsed%20%3C%2016667UL%29%20return%3B%0A%20%20frameTime%20%3D%20frameTime%20%2B%2016667UL%3B%0A%20%20if%20%28elapsed%20%3E%3D%2033334UL%29%20frameTime%20%3D%20now%3B%0A%0A%20%20effectFrame%20%3D%20%28effectFrame%20%2B%201%29%20%26%20127%3B%0A%20%20if%20%28effectFrame%20%3D%3D%200%29%20effectSeed%20%3D%20nextRandom%28%29%20%26%208191%3B%0A%20%20rainFrame%20%3D%20%28rainFrame%20%2B%201%29%20%26%201023%3B%0A%20%20%2F%2F%20A%20drop%20lasts%20at%20most%20432%20ticks.%20Check%20all%20slots%20over%20the%20next%20120%0A%20%20%2F%2F%20ticks%20so%20no%20stale%20drop%20survives%20the%201024-tick%20clock%20wrap.%0A%20%20if%20%28stateAt%28sweepSlot%29%20%3D%3D%200%29%20streamState%5BsweepSlot%5D%20%3D%200%3B%0A%20%20sweepSlot%2B%2B%3B%0A%20%20if%20%28sweepSlot%20%3D%3D%20120%29%20sweepSlot%20%3D%200%3B%0A%20%20spawnCredit%20%3D%20spawnCredit%20%2B%2071%3B%0A%20%20if%20%28spawnCredit%20%3E%3D%20120%29%20%7B%0A%20%20%20%20if%20%28spawnDrop%280%29%29%20spawnCredit%20%3D%20spawnCredit%20-%20120%3B%0A%20%20%20%20else%20spawnCredit%20%3D%20120%3B%0A%20%20%7D%0A%7D%0A%0Aint%20dotY%5B8%5D%20%3D%20%7B0%2C%203%2C%206%2C%209%2C%2013%2C%2016%2C%2019%2C%2022%7D%3B%0Aint%20tableFirst%5B4%5D%20%3D%20%7B0%2C%2010%2C%2020%2C%2028%7D%3B%0Aint%20tableLength%5B4%5D%20%3D%20%7B10%2C%2010%2C%208%2C%204%7D%3B%0Aint%20bandLight%5B4%5D%20%3D%20%7B9%2C%205%2C%203%2C%201%7D%3B%0Aint%20layerGlyph%5B3%5D%3B%0Aint%20layerLight%5B3%5D%3B%0Aint%20currentLight%20%3D%20-1%3B%0A%0Avoid%20selectLight%28int%20light%29%20%7B%0A%20%20if%20%28light%20%3E%2012%29%20light%20%3D%2012%3B%0A%20%20if%20%28light%20%3D%3D%20currentLight%29%20return%3B%0A%20%20setColor%284%20%2B%2010%20%2A%20light%2C%2017%20%2B%2019%20%2A%20light%2C%208%20%2B%2010%20%2A%20light%29%3B%0A%20%20currentLight%20%3D%20light%3B%0A%7D%0A%0Avoid%20paintGlyph%28int%20x%2C%20int%20top%2C%20int%20code%29%20%7B%0A%20%20for%20%28int%20i%20%3D%20glyphStart%5Bcode%5D%3B%20i%20%3C%20glyphStart%5Bcode%20%2B%201%5D%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20int%20rect%20%3D%20glyphRects%5Bi%5D%3B%0A%20%20%20%20int%20a%20%3D%20%28rect%20%3E%3E%203%29%20%26%207%3B%0A%20%20%20%20int%20b%20%3D%20a%20%2B%201%20%2B%20%28rect%20%3E%3E%209%29%3B%0A%20%20%20%20fillRect%28x%20%2B%203%20%2A%20%28rect%20%26%207%29%2C%20top%20%2B%20dotY%5Ba%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%203%20%2A%20%281%20%2B%20%28%28rect%20%3E%3E%206%29%20%26%207%29%29%2C%20dotY%5Bb%5D%20-%20dotY%5Ba%5D%20-%201%29%3B%0A%20%20%7D%0A%7D%0A%0Aint%20layerFor%28int%20i%2C%20int%20row%2C%20int%20age%2C%20int%20depth%2C%20int%20scale%2C%20int%20layers%2C%20int%20state%29%20%7B%0A%20%20int%20bits%20%3D%20streamSeed%5Bi%5D%20%2B%20977%20%2A%20row%3B%0A%20%20int%20code%20%3D%20%28bits%20%5E%20%28bits%20%3E%3E%205%29%20%5E%20%28bits%20%3E%3E%209%29%29%20%26%2031%3B%0A%20%20int%20band%20%3D%20depth%3B%0A%20%20if%20%28age%20%3E%204%20%2A%20scale%29%20band%20%3D%20band%20%2B%203%3B%0A%20%20else%20if%20%28age%20%3E%202%20%2A%20scale%29%20band%20%3D%20band%20%2B%202%3B%0A%20%20else%20if%20%28age%20%3E%200%29%20band%2B%2B%3B%0A%20%20if%20%28band%20%3E%203%29%20band%20%3D%203%3B%0A%20%20int%20light%20%3D%20bandLight%5Bband%5D%3B%0A%0A%20%20%2F%2F%20Stationary%20afterimages%20cycle%20at%20staggered%20intervals%20as%20they%20fade.%0A%20%20if%20%28state%20%3C%200%20%26%26%20%28streamSeed%5Bi%5D%20%26%203%29%20%3D%3D%200%29%20%7B%0A%20%20%20%20int%20cycle%20%3D%20%28-state%20-%201%20%2B%20%28bits%20%26%2015%29%29%20%2F%2012%3B%0A%20%20%20%20code%20%3D%20%28code%20%2B%205%20%2A%20cycle%29%20%26%2031%3B%0A%20%20%7D%0A%20%20if%20%28band%20%21%3D%200%29%20%7B%0A%20%20%20%20int%20flicker%20%3D%20bits%20%5E%20effectSeed%3B%0A%20%20%20%20int%20phase%20%3D%20%28effectFrame%20%2B%20%28%28flicker%20%5E%20%28flicker%20%3E%3E%204%29%29%20%26%20127%29%29%20%26%20127%3B%0A%20%20%20%20if%20%28phase%20%3C%2012%29%20%7B%0A%20%20%20%20%20%20int%20table%20%3D%20%28%28flicker%20%3E%3E%208%29%20%2B%20phase%20%2F%203%29%20%26%203%3B%0A%20%20%20%20%20%20code%20%3D%20tableFirst%5Btable%5D%20%2B%20%28%28flicker%20%26%2031%29%20%2B%20phase%29%20%25%20tableLength%5Btable%5D%3B%0A%20%20%20%20%20%20light%20%3D%20light%20%2B%203%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20%2F%2F%20Matching%20glyphs%20add%20as%20one%20shape%2C%20without%20composing%20the%20dots%20again.%0A%20%20for%20%28int%20j%20%3D%200%3B%20j%20%3C%20layers%3B%20j%2B%2B%29%20%7B%0A%20%20%20%20if%20%28layerGlyph%5Bj%5D%20%3D%3D%20code%29%20%7B%0A%20%20%20%20%20%20layerLight%5Bj%5D%20%3D%20layerLight%5Bj%5D%20%2B%20light%3B%0A%20%20%20%20%20%20return%20layers%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20layerGlyph%5Blayers%5D%20%3D%20code%3B%0A%20%20layerLight%5Blayers%5D%20%3D%20light%3B%0A%20%20return%20layers%20%2B%201%3B%0A%7D%0A%0Aint%20mixedDots%5B35%5D%3B%0A%0Avoid%20paintMixed%28int%20x%2C%20int%20top%2C%20int%20layers%29%20%7B%0A%20%20for%20%28int%20y%20%3D%200%3B%20y%20%3C%207%3B%20y%2B%2B%29%20%7B%0A%20%20%20%20int%20group%20%3D%20y%20%2F%203%3B%0A%20%20%20%20int%20shift%20%3D%205%20%2A%20%28y%20%25%203%29%3B%0A%20%20%20%20int%20a%20%3D%20%28fontBits%5B3%20%2A%20layerGlyph%5B0%5D%20%2B%20group%5D%20%3E%3E%20shift%29%20%26%2031%3B%0A%20%20%20%20int%20b%20%3D%20%28fontBits%5B3%20%2A%20layerGlyph%5B1%5D%20%2B%20group%5D%20%3E%3E%20shift%29%20%26%2031%3B%0A%20%20%20%20int%20c%20%3D%200%3B%0A%20%20%20%20if%20%28layers%20%3D%3D%203%29%20c%20%3D%20%28fontBits%5B3%20%2A%20layerGlyph%5B2%5D%20%2B%20group%5D%20%3E%3E%20shift%29%20%26%2031%3B%0A%20%20%20%20for%20%28int%20dot%20%3D%200%3B%20dot%20%3C%205%3B%20dot%2B%2B%29%20%7B%0A%20%20%20%20%20%20int%20bit%20%3D%2016%20%3E%3E%20dot%3B%0A%20%20%20%20%20%20int%20light%20%3D%200%3B%0A%20%20%20%20%20%20if%20%28%28a%20%26%20bit%29%20%21%3D%200%29%20light%20%3D%20light%20%2B%20layerLight%5B0%5D%3B%0A%20%20%20%20%20%20if%20%28%28b%20%26%20bit%29%20%21%3D%200%29%20light%20%3D%20light%20%2B%20layerLight%5B1%5D%3B%0A%20%20%20%20%20%20if%20%28%28c%20%26%20bit%29%20%21%3D%200%29%20light%20%3D%20light%20%2B%20layerLight%5B2%5D%3B%0A%20%20%20%20%20%20if%20%28light%20%3E%2012%29%20light%20%3D%2012%3B%0A%20%20%20%20%20%20mixedDots%5B5%20%2A%20y%20%2B%20dot%5D%20%3D%20light%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20%2F%2F%20Merge%20equal-intensity%20pixels%20before%20drawing%20an%20overlapping%20glyph.%0A%20%20for%20%28int%20y%20%3D%200%3B%20y%20%3C%207%3B%20y%2B%2B%29%20%7B%0A%20%20%20%20int%20start%20%3D%205%20%2A%20y%3B%0A%20%20%20%20for%20%28int%20dot%20%3D%200%3B%20dot%20%3C%205%3B%20dot%2B%2B%29%20%7B%0A%20%20%20%20%20%20int%20light%20%3D%20mixedDots%5Bstart%20%2B%20dot%5D%3B%0A%20%20%20%20%20%20if%20%28light%20%21%3D%200%29%20%7B%0A%20%20%20%20%20%20%20%20int%20right%20%3D%20dot%20%2B%201%3B%0A%20%20%20%20%20%20%20%20while%20%28right%20%3C%205%20%26%26%20mixedDots%5Bstart%20%2B%20right%5D%20%3D%3D%20light%29%20right%2B%2B%3B%0A%20%20%20%20%20%20%20%20int%20bottom%20%3D%20y%20%2B%201%3B%0A%20%20%20%20%20%20%20%20int%20checked%20%3D%20right%3B%0A%20%20%20%20%20%20%20%20while%20%28bottom%20%3C%207%20%26%26%20checked%20%3D%3D%20right%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20checked%20%3D%20dot%3B%0A%20%20%20%20%20%20%20%20%20%20int%20next%20%3D%205%20%2A%20bottom%3B%0A%20%20%20%20%20%20%20%20%20%20while%20%28checked%20%3C%20right%20%26%26%20mixedDots%5Bnext%20%2B%20checked%5D%20%3D%3D%20light%29%20checked%2B%2B%3B%0A%20%20%20%20%20%20%20%20%20%20if%20%28checked%20%3D%3D%20right%29%20bottom%2B%2B%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20for%20%28int%20row%20%3D%20y%20%2B%201%3B%20row%20%3C%20bottom%3B%20row%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20int%20next%20%3D%205%20%2A%20row%3B%0A%20%20%20%20%20%20%20%20%20%20for%20%28int%20i%20%3D%20dot%3B%20i%20%3C%20right%3B%20i%2B%2B%29%20mixedDots%5Bnext%20%2B%20i%5D%20%3D%200%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20selectLight%28light%29%3B%0A%20%20%20%20%20%20%20%20fillRect%28x%20%2B%203%20%2A%20dot%2C%20top%20%2B%20dotY%5By%5D%2C%203%20%2A%20%28right%20-%20dot%29%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20dotY%5Bbottom%5D%20-%20dotY%5By%5D%20-%201%29%3B%0A%20%20%20%20%20%20%20%20dot%20%3D%20right%20-%201%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A%0Aint%20columnHead%5B3%5D%3B%0Aint%20columnState%5B3%5D%3B%0Aint%20columnShift%5B3%5D%3B%0Aint%20columnStart%5B3%5D%3B%0Aint%20columnFade%5B3%5D%3B%0Aint%20columnScale%5B3%5D%3B%0A%0Avoid%20paintRain%28int%20left%2C%20int%20top%29%20%7B%0A%20%20currentLight%20%3D%20-1%3B%0A%20%20for%20%28int%20col%20%3D%200%3B%20col%20%3C%2040%3B%20col%2B%2B%29%20%7B%0A%20%20%20%20int%20first%20%3D%2024%3B%0A%20%20%20%20int%20last%20%3D%20-1%3B%0A%20%20%20%20int%20slot%20%3D%203%20%2A%20col%3B%0A%20%20%20%20for%20%28int%20j%20%3D%200%3B%20j%20%3C%203%3B%20j%2B%2B%29%20%7B%0A%20%20%20%20%20%20int%20state%20%3D%20stateAt%28slot%20%2B%20j%29%3B%0A%20%20%20%20%20%20columnState%5Bj%5D%20%3D%20state%3B%0A%20%20%20%20%20%20columnHead%5Bj%5D%20%3D%20-1%3B%0A%20%20%20%20%20%20if%20%28state%20%21%3D%200%29%20%7B%0A%20%20%20%20%20%20%20%20int%20style%20%3D%20streamStyle%5Bslot%20%2B%20j%5D%3B%0A%20%20%20%20%20%20%20%20int%20length%20%3D%20%28style%20%3E%3E%206%29%20%26%2031%3B%0A%20%20%20%20%20%20%20%20int%20row%20%3D%20state%20%26%2031%3B%0A%20%20%20%20%20%20%20%20int%20fade%20%3D%200%3B%0A%20%20%20%20%20%20%20%20int%20shift%20%3D%200%3B%0A%20%20%20%20%20%20%20%20int%20retired%20%3D%200%3B%0A%20%20%20%20%20%20%20%20if%20%28state%20%3C%200%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20int%20age%20%3D%20-state%20-%201%3B%0A%20%20%20%20%20%20%20%20%20%20int%20duration%20%3D%20persistence%28style%29%3B%0A%20%20%20%20%20%20%20%20%20%20row%20%3D%2023%3B%0A%20%20%20%20%20%20%20%20%20%20fade%20%3D%201%20%2B%20age%20%2A%203%20%2F%20duration%3B%0A%20%20%20%20%20%20%20%20%20%20if%20%28%28streamSeed%5Bslot%20%2B%20j%5D%20%26%203%29%20%21%3D%200%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20Slide%20below%20the%20glass%2C%20leaving%20one%20faint%20glyph%20for%20the%20tail%20end.%0A%20%20%20%20%20%20%20%20%20%20%20%20shift%20%3D%202%20%2A%20age%20%2A%20%28length%20-%201%29%20%2F%20duration%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20%28shift%20%3E%3D%20length%29%20shift%20%3D%20length%20-%201%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20row%20%3D%20row%20%2B%20shift%3B%0A%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20Retire%20the%20oldest%20stationary%20glyphs%20during%20their%20fade.%0A%20%20%20%20%20%20%20%20%20%20%20%20retired%20%3D%20age%20%2A%20%28length%20-%201%29%20%2F%20duration%3B%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20int%20start%20%3D%20row%20-%20length%20%2B%201%20%2B%20retired%3B%0A%20%20%20%20%20%20%20%20if%20%28start%20%3C%200%29%20start%20%3D%200%3B%0A%20%20%20%20%20%20%20%20columnHead%5Bj%5D%20%3D%20row%3B%0A%20%20%20%20%20%20%20%20columnStart%5Bj%5D%20%3D%20start%3B%0A%20%20%20%20%20%20%20%20columnShift%5Bj%5D%20%3D%20shift%3B%0A%20%20%20%20%20%20%20%20columnFade%5Bj%5D%20%3D%20fade%3B%0A%20%20%20%20%20%20%20%20columnScale%5Bj%5D%20%3D%201%20%2B%20%28length%20-%201%29%20%2F%208%3B%0A%20%20%20%20%20%20%20%20if%20%28start%20%3C%20first%29%20first%20%3D%20start%3B%0A%20%20%20%20%20%20%20%20if%20%28row%20%3E%20last%29%20last%20%3D%20row%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20if%20%28last%20%3E%2023%29%20last%20%3D%2023%3B%0A%20%20%20%20int%20x%20%3D%20left%20%2B%2021%20%2A%20col%20%2B%203%3B%0A%20%20%20%20for%20%28int%20row%20%3D%20first%3B%20row%20%3C%3D%20last%3B%20row%2B%2B%29%20%7B%0A%20%20%20%20%20%20int%20layers%20%3D%200%3B%0A%20%20%20%20%20%20for%20%28int%20j%20%3D%200%3B%20j%20%3C%203%3B%20j%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20int%20head%20%3D%20columnHead%5Bj%5D%3B%0A%20%20%20%20%20%20%20%20if%20%28row%20%3C%3D%20head%20%26%26%20row%20%3E%3D%20columnStart%5Bj%5D%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20layers%20%3D%20layerFor%28slot%20%2B%20j%2C%20row%20-%20columnShift%5Bj%5D%2C%20head%20-%20row%2C%20columnFade%5Bj%5D%2C%20columnScale%5Bj%5D%2C%20layers%2C%20columnState%5Bj%5D%29%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20int%20y%20%3D%20top%20%2B%2026%20%2A%20row%20%2B%20row%20%2F%204%3B%0A%20%20%20%20%20%20if%20%28layers%20%3D%3D%201%29%20%7B%0A%20%20%20%20%20%20%20%20selectLight%28layerLight%5B0%5D%29%3B%0A%20%20%20%20%20%20%20%20paintGlyph%28x%2C%20y%2C%20layerGlyph%5B0%5D%29%3B%0A%20%20%20%20%20%20%7D%20else%20if%20%28layers%20%3E%201%29%20%7B%0A%20%20%20%20%20%20%20%20paintMixed%28x%2C%20y%2C%20layers%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A%0Avoid%20draw%28%29%20%7B%0A%20%20int%20width%20%3D%20chipWidth%28%29%3B%0A%20%20int%20height%20%3D%20chipHeight%28%29%3B%0A%20%20if%20%28width%20%3C%201008%20%7C%7C%20height%20%3C%20824%29%20return%3B%0A%20%20int%20x%20%3D%20%28width%20-%201008%29%20%2F%202%3B%0A%20%20int%20y%20%3D%20%28height%20-%20824%29%20%2F%202%3B%0A%0A%20%20%2F%2F%20Warm%20molded%20case%2C%20recessed%20tinted%20glass%2C%20and%20power%20indicator.%0A%20%20setColor%28107%2C%2097%2C%2079%29%3B%0A%20%20fillRect%28x%20%2B%2012%2C%20y%2C%20984%2C%20824%29%3B%0A%20%20fillRect%28x%2C%20y%20%2B%2012%2C%201008%2C%20800%29%3B%0A%20%20setColor%28187%2C%20173%2C%20146%29%3B%0A%20%20fillRect%28x%20%2B%2011%2C%20y%20%2B%208%2C%20986%2C%20799%29%3B%0A%20%20setColor%28209%2C%20196%2C%20169%29%3B%0A%20%20fillRect%28x%20%2B%2011%2C%20y%20%2B%208%2C%20986%2C%2015%29%3B%0A%20%20fillRect%28x%20%2B%2011%2C%20y%20%2B%2023%2C%2012%2C%20784%29%3B%0A%20%20setColor%28133%2C%20122%2C%20101%29%3B%0A%20%20fillRect%28x%20%2B%2023%2C%20y%20%2B%20783%2C%20974%2C%2024%29%3B%0A%0A%20%20setColor%2896%2C%2089%2C%2074%29%3B%0A%20%20fillRect%28x%20%2B%2038%2C%20y%20%2B%2031%2C%20932%2C%20710%29%3B%0A%20%20setColor%2840%2C%2041%2C%2032%29%3B%0A%20%20fillRect%28x%20%2B%2048%2C%20y%20%2B%2038%2C%20912%2C%20694%29%3B%0A%20%20setColor%2810%2C%2022%2C%2013%29%3B%0A%20%20fillRect%28x%20%2B%2060%2C%20y%20%2B%2049%2C%20888%2C%20666%29%3B%0A%20%20setColor%287%2C%2017%2C%2010%29%3B%0A%20%20fillRect%28x%20%2B%2076%2C%20y%20%2B%2059%2C%20856%2C%20646%29%3B%0A%0A%20%20setColor%2860%2C%2055%2C%2045%29%3B%0A%20%20fillRect%28x%20%2B%20875%2C%20y%20%2B%20753%2C%2027%2C%2013%29%3B%0A%20%20fillRect%28x%20%2B%20913%2C%20y%20%2B%20753%2C%2027%2C%2013%29%3B%0A%20%20setColor%2894%2C%2082%2C%2060%29%3B%0A%20%20fillRect%28x%20%2B%2063%2C%20y%20%2B%20753%2C%2040%2C%2013%29%3B%0A%20%20setColor%28126%2C%20222%2C%2065%29%3B%0A%20%20fillRect%28x%20%2B%2069%2C%20y%20%2B%20756%2C%2028%2C%207%29%3B%0A%0A%20%20paintRain%28x%20%2B%2084%2C%20y%20%2B%2067%29%3B%0A%20%20setDefaultColor%28%29%3B%0A%7D%0A 20 customSize 34 34 R 1568 320 1664 320 0 0 1 5 0 0 0.5 g 1568 352 1664 352 0