-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstripes.config.js
More file actions
42 lines (38 loc) · 880 Bytes
/
stripes.config.js
File metadata and controls
42 lines (38 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
const config = {
out: './out/example.svg', // the pass to the output file
width: 300, // SVG width
height: 300, // SVG height
bgColor: '#fff', // SVG background color
lineRotation: 45, // stripes rotation angle in degrees
// optional animation -----------
animationType: 4, // linear animation - see types list below
animationDuration: 30, // seconds
// the list of stripes ----------
stripes: [
{
color: '#505050',
size: 20,
},
{
color: '#92CBFA',
size: 10,
},
{
color: '#AB3C83',
size: 20,
},
{
color: '#ffffff',
size: 10,
}
]
};
/*
animationType:
--------------
NoAnimation = 1,
RotateClockWise = 2,
RotationCounterClockwise = 3,
Linear = 4,
*/
export default config;