mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
fix: set default svg output to fill color (#1115)
This commit is contained in:
parent
d7ae4ae567
commit
1b9987ce89
@ -41,6 +41,7 @@ export class SvgWaves {
|
||||
* meaning low character count.
|
||||
* - width & height: default is 2 digits max (99)
|
||||
* - color pink is selected per default
|
||||
* - set coloring to fill or stroke (fill is selected per default)
|
||||
* - randomly decide if fill or stroke coloring should be used
|
||||
* - create 4 layers with 4 - 5 points per layers
|
||||
* -> results in random looking, yet small enough svgs
|
||||
@ -53,7 +54,7 @@ export class SvgWaves {
|
||||
width: 99,
|
||||
height: 99,
|
||||
color: WaveColors.Pink,
|
||||
fill: Math.random() < 0.5, // random true or false
|
||||
fill: true,
|
||||
layerCount: 4,
|
||||
pointsPerLayer: randomIntFromInterval(3, 4),
|
||||
variance: Math.random() * 0.2 + 0.5, // 0.5 - 0.7
|
||||
|
Loading…
Reference in New Issue
Block a user