Commit 5a2f159e authored by Evan Hahn's avatar Evan Hahn

More byte shaving, black background

parent 4a54c52f
......@@ -25,18 +25,14 @@
// Initial setup
r = Math.min(a.width, a.height) / 30
c.textAlign = 'center'
c.textBaseline = 'middle'
c.font = b.style.font = 'bold 3vh sans-serif'
// Stats
c.font = b.style.font = '3vh sans-serif'
y = [
['#fd0', '$', 0, 1, 0],
['#8fd', '>', r / 2, r / 5, 0],
['#8fd', '>', (r = Math.min(a.width, a.height) / 30) / 4, r / 5, 0],
['#f64', '+', 1, r / 100, 0],
['#8f0', '↺', 5, 0.1, 0],
['#8f0', '↺', 3, 0.5, 0],
['#ccc', '⧖', 60, 5, 60]
]
......@@ -138,7 +134,8 @@ requestAnimationFrame(q = (currentTime) => {
))
}
c.clearRect(0, 0, a.width, a.height)
c.fillStyle = '#000'
c.fillRect(0, 0, a.width, a.height)
e.map(entity => entity())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment