-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.json
210 lines (209 loc) · 6.93 KB
/
plugin.json
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
{
"name": "Snowstorm",
"description": "DHTML Snowstorm! JavaScript-based snow for web pages. Making it snow on Koken since 2015.",
"version": "1.0.0",
"demo": "http://kokensupport.com/demo/",
"author": {
"name": "Bjarne Varoystrand",
"link": "http://kokensupport.com/"
},
"data": {
"snowStorm_mobile": {
"label": "Exclude on mobile",
"info": "Snow is likely to be bad news for mobile phones CPUs (and batteries.) Enable at your own risk.",
"type": "select",
"options": [
{ "value": "true", "label": "True" },
{ "value": "false", "label": "False" }
],
"value": "true"
},
"snowStorm_flakemax": {
"label": "Max flakes on screen",
"info": "Limit total amount of snow made (falling + sticking)",
"type": "number",
"value": 128
},
"snowStorm_flakemaxactive": {
"label": "Max flakes active",
"info": "Limit amount of snow falling at once (less = lower CPU use)",
"type": "number",
"value": 64
},
"snowStorm_animationinterval": {
"label": "Update interval",
"info": "Theoretical miliseconds per frame measurement. 20 = fast + smooth, but high CPU use. 50 = more conservative, but slower.",
"type": "number",
"value": 33
},
"snowStorm_gpu": {
"label": "Use hardware acceleration",
"info": "Enable transform-based hardware acceleration, reduce CPU load.",
"type": "select",
"options": [
{ "value": "true", "label": "True" },
{ "value": "false", "label": "False" }
],
"value": "true"
},
"snowStorm_flakebottom": {
"label": "Flake bottom",
"info": "Integer for Y axis snow limit, 0 or null for full-screen snow effect",
"type": "string",
"value": "0"
},
"snowStorm_followmouse": {
"label": "Follow mouse",
"info": "Snow movement can respond to the user's mouse",
"type": "select",
"options": [
{ "value": "true", "label": "True" },
{ "value": "false", "label": "False" }
],
"value": "true"
},
"snowStorm_color": {
"label": "Snowflake color",
"info": "Remember: Don't eat (or use?) yellow snow!",
"type": "color",
"value": "#FFFFFF"
},
"snowStorm_char": {
"label": "Flake character",
"info": "Character used for the flake. See http://www.w3schools.com/charsets/ref_utf_dingbats.asp for reference.",
"type": "select",
"options": [
{ "label": "Bullet", "value": "•" },
{ "label": "Sparkles", "value": "✨" },
{ "label": "Open centre asterisk", "value": "✲" },
{ "label": "Eight spoked asterisk", "value": "✳" },
{ "label": "Eight pointed pinwheel star", "value": "✵" },
{ "label": "Teardrop-spoked asterisk", "value": "✻" },
{ "label": "Open centre teardrop-spoked asterisk", "value": "✼" },
{ "label": "Heavy teardrop-spoked asterisk", "value": "✽" },
{ "label": "Six petalled black and white florette", "value": "✾" },
{ "label": "Black florette", "value": "✿" },
{ "label": "White florette", "value": "❀" },
{ "label": "Eight petalled outlined black florette", "value": "❁" },
{ "label": "Heavy teardrop-spoked pinwheel asterisk", "value": "❃" },
{ "label": "Snowflake", "value": "❄" },
{ "label": "Tight trifoliate snowflake", "value": "❅" },
{ "label": "Heavy chevron snowflake", "value": "❆" },
{ "label": "Sparkle", "value": "❇" },
{ "label": "Heavy sparkle", "value": "❈" },
{ "label": "Balloon-spoked asterisk", "value": "❉" },
{ "label": "Eight teardrop-spoked propeller asterisk", "value": "❊" },
{ "label": "Heavy eight teardrop-spoked propeller asterisk", "value": "❋" }
],
"value": "❄"
},
"snowStorm_snowstick": {
"label": "Stick to bottom?",
"info": "Whether or not snow should 'stick' at the bottom. When off, will never collect.",
"type": "select",
"options": [
{ "value": "true", "label": "True" },
{ "value": "false", "label": "False" }
],
"value": "true"
},
"snowStorm_targetelement": {
"label": "Target element",
"info": "Element which snow will be appended to (null = document.body) - can be an element ID eg. 'myDiv', or a DOM node reference",
"type": "string",
"value": "null"
},
"snowStorm_usemelteffect": {
"label": "Melting effect",
"info": "When recycling fallen snow (or rarely, when falling), have it 'melt' and fade out if browser supports it",
"type": "select",
"options": [
{ "value": "true", "label": "True" },
{ "value": "false", "label": "False" }
],
"value": "true"
},
"snowStorm_twinkeleffect": {
"label": "Flicker effect",
"info": "Allow snow to randomly 'flicker' in and out of view while falling",
"type": "select",
"options": [
{ "value": "true", "label": "True" },
{ "value": "false", "label": "False" }
],
"value": "false"
},
"snowStorm_positionfixed": {
"label": "Snow Position",
"info": "true = snow does not shift vertically when scrolling. May increase CPU load, disabled by default - if enabled, used only where supported",
"type": "select",
"options": [
{ "value": "true", "label": "True" },
{ "value": "false", "label": "False" }
],
"value": "false"
},
"snowStorm_pixelposition": {
"label": "Pixel position",
"info": "Whether to use pixel values for snow top/left vs. percentages. Auto-enabled if body is position:relative or targetElement is specified.",
"type": "select",
"options": [
{ "value": "true", "label": "True" },
{ "value": "false", "label": "False" }
],
"value": "false"
},
"snowStorm_freezeonblur": {
"label": "Stop when not in focus",
"info": "Only snow when the window is in focus (foreground.) Saves CPU.",
"type": "select",
"options": [
{ "value": "true", "label": "True" },
{ "value": "false", "label": "False" }
],
"value": "true"
},
"snowStorm_flakeleftoffset": {
"label": "Left margin space",
"info": "Left margin/gutter space on edge of container (eg. browser window.) Bump up these values if seeing horizontal scrollbars.",
"type": "number",
"value": 0
},
"snowStorm_flakerightoffset": {
"label": "Right margin space",
"info": "Right margin/gutter space on edge of container",
"type": "number",
"value": 0
},
"snowStorm_flakewidth": {
"label": "Flake width",
"info": "Max pixel width reserved for snow element",
"type": "number",
"value": 50
},
"snowStorm_flakeheight": {
"label": "Flake height",
"info": "Max pixel height reserved for snow element",
"type": "number",
"value": 50
},
"snowStorm_vmaxx": {
"label": "Maximum X velocity",
"info": "Maximum X velocity range for snow",
"type": "number",
"value": 5
},
"snowStorm_vmaxy": {
"label": "Maximum Y velocity",
"info": "Maximum Y velocity range for snow",
"type": "number",
"value": 4
},
"snowStorm_zindex": {
"label": "Stacking order",
"info": "CSS stacking order (z-index) applied to each snowflake",
"type": "number",
"value": 0
}
}
}