Progressive Web App manifest

mistress
Xenofem 2018-11-24 14:53:56 -05:00
parent 81ad792ffb
commit da1a7e55cd
4 changed files with 45 additions and 0 deletions

BIN
icons/icon-192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

16
icons/icon.asy Normal file
View File

@ -0,0 +1,16 @@
real unit = 0.5inch;
real radius = 6*unit;
real steps = 6;
int degrees = 720;
guide arm;
for (int i = 0; i <= steps; ++i) {
arm = arm..((i*radius/steps)*dir(i*degrees/steps));
}
path circ = circle((0,0), radius);
path arms = buildcycle(circ, arm, rotate(-45)*arm);
fill(circ, black);
fill(arms, red);
fill(rotate(180)*arms, red);

14
icons/icon.svg Normal file
View File

@ -0,0 +1,14 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- This file was generated by dvisvgm 1.15.1 -->
<svg height='433.62pt' version='1.1' viewBox='56.6209 54.0603 433.62 433.62' width='433.62pt' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'>
<g id='page1'>
<g transform='matrix(0.996264 0 0 0.996264 272.409 269.858)'>
<path d='M 216.81 0C 216.81 -119.741 119.741 -216.81 0 -216.81C -119.741 -216.81 -216.81 -119.741 -216.81 -0C -216.81 119.741 -119.741 216.81 0 216.81C 119.741 216.81 216.81 119.741 216.81 0Z' fill='#000000'/>
</g>
<g transform='matrix(0.996264 0 0 0.996264 272.409 269.858)'>
<path d='M 110.438 186.614C 159.55 157.486 196.178 109.523 210.366 52.6761C 177.125 178.108 22.4841 240.422 -90.3375 156.469C -193.264 79.8793 -182.706 -75.0613 -72.27 -125.175C 23.2745 -168.532 126.573 -94.2179 108.405 2.65516e-14C 95.284 68.0428 18.4666 101.421 -36.135 62.5877C -89.4336 24.6807 -58.414 -41.5086 -18.0675 -31.2938C -4.30815 -27.8103 3.86284 -13.6577 6.76059e-11 -3.77951e-11C 12.3889 -6.92603 16.6185 -22.7112 9.35243 -34.9037C -11.9539 -70.656 -80.691 -45.7872 -69.8075 18.7049C -58.6578 84.7736 19.2624 115.489 76.6539 76.6539C 156.123 22.8789 135.627 -102.712 37.4097 -139.615C -76.1164 -182.269 -193.142 -80.1752 -174.519 46.7621C -154.17 185.462 -1.66447 250.774 110.438 186.614Z' fill='#ff0000'/>
</g>
<g transform='matrix(0.996264 0 0 0.996264 272.409 269.858)'>
<path d='M -110.438 -186.614C -159.55 -157.486 -196.178 -109.523 -210.366 -52.6761C -177.125 -178.108 -22.4841 -240.422 90.3375 -156.469C 193.264 -79.8793 182.706 75.0613 72.27 125.175C -23.2745 168.532 -126.573 94.2179 -108.405 -3.98274e-14C -95.284 -68.0428 -18.4666 -101.421 36.135 -62.5877C 89.4336 -24.6807 58.414 41.5086 18.0675 31.2938C 4.30815 27.8103 -3.86284 13.6577 -6.76059e-11 3.77951e-11C -12.3889 6.92603 -16.6185 22.7112 -9.35243 34.9037C 11.9539 70.656 80.691 45.7872 69.8075 -18.7049C 58.6578 -84.7736 -19.2624 -115.489 -76.6539 -76.6539C -156.123 -22.8789 -135.627 102.712 -37.4097 139.615C 76.1164 182.269 193.142 80.1752 174.519 -46.7621C 154.17 -185.462 1.66447 -250.774 -110.438 -186.614Z' fill='#ff0000'/>
</g></g>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

15
manifest.webmanifest Normal file
View File

@ -0,0 +1,15 @@
{
"background_color": "black",
"description": "Hypnosis widgets free for non-evil use",
"display": "fullscreen",
"icons": [
{
"src": "icons/icon.svg",
"sizes": "32x32 48x48 72x72 96x96 128x128 192x192 256x256",
"type": "image/svg"
}
],
"name": "mindjack",
"short_name": "mindjack",
"start_url": "index.html"
}