Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTML5 Canvas-based "Polygonal Sine"

Inspired by 1ucasvb's "polygonal sine" gif.

All wave points are calculated and stored into an array before the animation even starts, removing the need for calculations on every frame. No third-party JavaSscript library is utilized.

I've tried to keep the colors, dimensions, and animation speed to that of the original GIF; the frame rate is much higher than the original GIF, producing a far smoother animation.

Live example here

Preview of Polygonal Sine

About

A recreation of 1ucasvb's Polygonal Sine in the HTML5 canvas element.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages