Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jxmked/canvas-shaped-background

Random shape animation in canvas
https://github.com/jxmked/canvas-shaped-background

animation canvas canvas2d javascript portfolio-include typescript

Last synced: 9 days ago
JSON representation

Random shape animation in canvas

Awesome Lists containing this project

README

        

# canvas-shaped-background
Random shape animation in canvas

Currently, it does not use physics for boudary collision
and does not have object to object collision.

# Current Features

- Random shapes may appear on click event
- Uses 2 canvas. (For background and foreground)
- Where background is blurry and out of focus.
- Where foreground is focused and interact with click event

### Available shapes
- Circle
- Square
- Octagon
- Hexagon
- Cross
- Triangle

# Installation

`npm install`

# Dev Mode

`npm run dev` or `npm start`

# Build

`npm run build`

# Lint

`npm run lint:tsc` or `npm run lint` - to lint all

## Socials

- [Github](https://github.com/jxmked)
- [Facebook](https://www.facebook.com/deguia25)