Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/maurerkrisztian/canvasshapesbackground

Animated circles with Canvas
https://github.com/maurerkrisztian/canvasshapesbackground

animation htmlcanvas

Last synced: 7 days ago
JSON representation

Animated circles with Canvas

Awesome Lists containing this project

README

        

# canvas-shapes-background.
### Animated shapes with Canvas

## Live demo: https://canvas-shapes-background.netlify.app/

## Example usage:

```html


Title

createShapeCanvas("myCanvas", {
modelNumbers: 11,
colors: ['blue', 'red', 'green', 'yellow'],
backgroundColor: 'black', //'none',
enabledModels: ['Triangle', 'Circle', 'Rect'],
minSpeed: 11,
maxSpeed: 11,
lineWidth: 3,
sizeMultiplier: 2,
startPosition: 'random', // 'middle' | 'random',
isFullScreen: true,
})

```

blog post: https://dev.to/maurerkrisztian/bouncing-shapes-background-with-canvas-30pf