File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 4
4
< meta name ="viewport " content ="width=device-width, initial-scale=1.0, maximum-scale=1.0 ">
5
5
< title > blobs - playground</ title >
6
6
< link href ="https://fonts.googleapis.com/css?family=Roboto+Mono:400 " rel ="stylesheet ">
7
- < script src ="https://unpkg.com/blobs@2.0.0-beta.0 "> </ script >
7
+ < script src ="https://unpkg.com/blobs@2.0.0-beta.1 "> </ script >
8
+ < script src ="https://unpkg.com/blobs@2.0.0-beta.1/v2 "> </ script >
8
9
</ head >
9
10
< body >
10
11
< style >
115
116
function refreshMobile ( ) {
116
117
if ( ! mobileElem ) return ;
117
118
118
- mobileElem . innerHTML = blobs ( {
119
- color : "#ec576b" ,
120
- complexity : 0.3 ,
121
- contrast : 0.6 ,
119
+ mobileElem . innerHTML = blobs2 . svg ( {
120
+ seed : Math . random ( ) ,
121
+ extraPoints : 4 ,
122
+ randomness : 8 ,
122
123
size : 300 ,
123
124
} ) ;
124
125
}
You can’t perform that action at this time.
0 commit comments