An open API service indexing awesome lists of open source software.

https://github.com/ninjasort/ninja-canvas


https://github.com/ninjasort/ninja-canvas

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Ninja Canvas

https://devdocs.io/dom/canvas_api

- arrow
- an arrow that follows mouse position using the angle determined from Math.atan2
- galaxy
- an animation of circles rendered on two layers
- the first layer positions circles using Math.sin and Math.cos with a random value scaled by the division of (Math.PI \* 2)/numObjects
- the second layer positions a circle using Math.sin and Math.cos based on an increasing angle value
- lines
- a random rendering of lines that scale the width and height of the canvas element