antwarjs / antwar

A static site generator built with React and Webpack.
https://antwar.js.org/
MIT License
460 stars 35 forks source link

Add Static Effect to TV #120

Closed webdesserts closed 7 years ago

webdesserts commented 7 years ago

This pull request adds a "static effect" to the Antwar TV to make it appear that the tv is flickering on and off as if it has a bad signal

antwar-tv-static-final

It is made in pure svg by generating a box of randomly sized lines. The box is then quickly shaken about the screen to try to bring the appearance of static being generated without actually having to randomly generate new noise for each frame. The animation is done entirely with css animations, and should fall back to the "title screen" when css animations aren't available.

bebraw commented 7 years ago

Poke me when you want a review. 👍

webdesserts commented 7 years ago

@bebraw It should be ready for review now!

bebraw commented 7 years ago

Great work. 👍