Join the DZone community and get the full member experience.Join For Free
Learn how error monitoring with Sentry closes the gap between the product team and your customers. With Sentry, you can focus on what you do best: building and scaling software that makes your users’ lives better.
The author, Jason Brown, achieves this effect using a standard drawImage with offsets. He uses a background image and a foreground image in columns offset in the y direction.
He created a canvas element in memory in which to draw the images, defined the height of the columns and set a fallSpeed transition for the columns.
You can read the original blog post here for a more detailed description including code snippets, and you can check out the codepen here.
Also, if you're interested in seeing how the original Doom developers implemented the screen-wipe effect, you can check out the relevant source code on GitHub.
Opinions expressed by DZone contributors are their own.