Skip to content

alagiz/relaxator

Repository files navigation

relaxator

relax yourself by looking at colorful abstractions => http://artem-alagizov.com/relaxator

relaxator is based on particalizor-3000

build status coverage status codacy quality status license

usage

api

setting parameters

parameters can be passed in using url query params:

http://artem-alagizov.com/relaxator?particleTraceWidth=40&vortexNumber=6

NOTE: parameters can be played with here (particle vortex) => particalizor-3000-showcase

supported parameters

the following parameters are supported:

property type required default acceptable values description
particleNumber number no 30 > 0 number of particles
particleTraceWidth number no 600 > 0 width of a particle trace, essentially canvas lineWidth
particleLifeTime number no 1100 > 0 lifetime of a particle
vortexNumber number no 3 > 0 number of vortexes
backgroundColor string no "#33344c" valid color string background color, for hex color codes "#" needs to be replaced with "%23", valid examples => "red", "%23333", "%23333333"

license

MIT License