Files

83 lines
6.4 KiB
PHP
Raw Permalink Normal View History

<?php
return array(
'name' => 'glass',
'meta' => array(
'title' => 'Glass',
'creator' => 'DiceBear',
'source' => 'https://www.dicebear.com',
'license_name' => 'CC0 1.0',
'license_url' => 'https://creativecommons.org/publicdomain/zero/1.0/',
),
'view_box' => '0 0 100 100',
'clip_default' => true,
'has_pre_create' => false,
'has_post_create' => false,
'is_initials' => false,
'attr_pairs' => array(
array('viewBox', '0 0 100 100'),
array('fill', 'none'),
array('shape-rendering', 'auto'),
),
'bg_colors' => array('eb4747', 'eb6247', 'eb7e47', 'eb9947', 'ebb447', 'ebd047', 'ebeb47', 'd0eb47', 'b4eb47', '99eb47', '7eeb47', '62eb47', '47eb47', '47eb62', '47eb7e', '47eb99', '47ebb4', '47ebd0', '47ebeb', '47d0eb', '47b4eb', '4799eb', '477eeb', '4762eb', '4747eb', '6247eb', '7e47eb', '9947eb', 'b447eb', 'd047eb', 'eb47eb', 'eb47d0', 'eb4799', 'eb477e', 'eb4762'),
'bg_type' => array('solid'),
'bg_rotation' => array('0', '360'),
'body_template' => '<g style="mix-blend-mode:screen" opacity="0.6" filter="url(#dicebearGlass-a)"><g transform="translate(-25 -25)">@@k:shape2@@</g></g><g style="mix-blend-mode:screen" opacity="0.6" filter="url(#dicebearGlass-b)"><g transform="translate(-25 -25)">@@k:shape1@@</g></g><defs><filter id="dicebearGlass-a" x="-57" y="-57" width="214" height="214" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur stdDeviation="16" result="effect1_foregroundBlur_25_7"/></filter><filter id="dicebearGlass-b" x="-57" y="-57" width="214" height="214" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur stdDeviation="16" result="effect1_foregroundBlur_25_7"/></filter></defs>',
'pick_order' => array('shape2', 'shape1'),
'bool_order' => array(),
'color_order' => array(
),
'pc_has_ints' => true,
'pc_meta' => array(
array(
'group' => 'shape2',
'values_opt' => 'shape2',
'width' => 150,
'height' => 150,
'rotation' => array('opt' => 'shape2Rotation', 'fallback' => array('0')),
'offsetX' => array('opt' => 'shape2OffsetX', 'fallback' => array('0')),
'offsetY' => array('opt' => 'shape2OffsetY', 'fallback' => array('0')),
),
array(
'group' => 'shape1',
'values_opt' => 'shape1',
'width' => 150,
'height' => 150,
'rotation' => array('opt' => 'shape1Rotation', 'fallback' => array('0')),
'offsetX' => array('opt' => 'shape1OffsetX', 'fallback' => array('0')),
'offsetY' => array('opt' => 'shape1OffsetY', 'fallback' => array('0')),
),
),
'defaults' => array(
'backgroundColor' => array('eb4747', 'eb6247', 'eb7e47', 'eb9947', 'ebb447', 'ebd047', 'ebeb47', 'd0eb47', 'b4eb47', '99eb47', '7eeb47', '62eb47', '47eb47', '47eb62', '47eb7e', '47eb99', '47ebb4', '47ebd0', '47ebeb', '47d0eb', '47b4eb', '4799eb', '477eeb', '4762eb', '4747eb', '6247eb', '7e47eb', '9947eb', 'b447eb', 'd047eb', 'eb47eb', 'eb47d0', 'eb4799', 'eb477e', 'eb4762'),
'shape1' => array('g', 'r', 'a', 'd', 'i', 'e', 'n', 't'),
'shape1OffsetX' => array('-80', '80'),
'shape1OffsetY' => array('-80', '80'),
'shape1Rotation' => array('-180', '180'),
'shape2' => array('g', 'r', 'a', 'd', 'i', 'e', 'n', 't'),
'shape2OffsetX' => array('-80', '80'),
'shape2OffsetY' => array('-80', '80'),
'shape2Rotation' => array('-160', '160'),
),
'groups' => array(
'shape2' => array(
'g' => '<path d="M101.6 51.2a20 20 0 0 0-14.7-14.5q-3.9-1-8.5-1-10 0-17 4.7A30 30 0 0 0 50.9 54q-3.6 9-3.6 21.6 0 12.8 3.5 21.8 3.4 9 10.3 14a29 29 0 0 0 17.2 4.8q9 0 15-2.6 6-2.7 9-7.5t3-11.4l6.8.7H78.7v-28h64.5v20q0 20-8.4 34.1a56 56 0 0 1-23.2 21.6Q97 150.7 78 150.7q-21.3 0-37.3-9t-25-25.8q-9-16.5-9-39.7a87 87 0 0 1 5.4-32 67 67 0 0 1 38-38q12.9-5 27.6-5 12.9 0 24 3.7 11.1 3.6 19.7 10.4a50 50 0 0 1 20.2 36z" fill="white"/>',
'r' => '<path d="M17.6 148.7V3.2h62.8q16.2 0 28.3 6 12 5.8 18.9 16.9a50 50 0 0 1 6.7 26.6q0 15.6-7 26.3A43 43 0 0 1 108 95.2q-12.5 5.5-29 5.5H41.3V70H71q7 0 11.8-1.7a15 15 0 0 0 7.6-5.6 17 17 0 0 0 2.7-10q0-6.3-2.7-10.2a15 15 0 0 0-7.6-5.8q-4.9-2-11.8-2H57v114zm85.2-66.8 36.4 66.8h-43L60.9 81.9z" fill="white"/>',
'a' => '<path d="M42.6 148.7H0L48 3.2h54l48 145.5h-42.7L75.5 43.3h-1.1zm-8-57.4h80.1v29.5h-80z" fill="white"/>',
'd' => '<path d="M67 148.7H11V3.2h55.4q22.5 0 38.8 8.8a60 60 0 0 1 25.3 25q9 16.2 9 39 0 22.6-9 39a61 61 0 0 1-25 25 81 81 0 0 1-38.5 8.7m-16.5-33.5h15a44 44 0 0 0 18.5-3.5q7.6-3.5 11.6-12t4-23.8q0-15-4-23.7a24 24 0 0 0-12-12 47 47 0 0 0-19.2-3.5H50.5z" fill="white"/>',
'i' => '<path d="M94.8 3.2v145.5H55.3V3.2z" fill="white"/>',
'e' => '<path d="M22.2 148.7V3.2H127V35H61.7v25h59.9v32h-60v25h65.1v31.8z" fill="white"/>',
'n' => '<path d="M138 3.2v145.5h-33L52.5 72.3h-1v76.4H12.2V3.2h33.5l51.7 76.2h1.2V3.2z" fill="white"/>',
't' => '<path d="M11.7 35V3.2h126.5V35H94.4v113.7h-39V35z" fill="white"/>',
),
'shape1' => array(
'g' => '<path d="M101.6 51.1a20 20 0 0 0-14.7-14.5q-3.9-1-8.5-1.1-10 0-17 4.8A30 30 0 0 0 50.9 54q-3.6 9-3.6 21.6 0 12.8 3.5 21.8 3.4 9 10.3 14a29 29 0 0 0 17.2 4.8q9 0 15-2.6 6-2.7 9-7.5t3-11.4l6.8.7H78.7v-28h64.5v20q0 20-8.4 34.1a56 56 0 0 1-23.2 21.6Q97 150.6 78 150.6q-21.3 0-37.3-9t-25-25.8-9-39.7a87 87 0 0 1 5.4-32 67 67 0 0 1 38-38Q63 1 77.6 1q12.9 0 24 3.7 11.1 3.6 19.7 10.4a50 50 0 0 1 20.2 36z" fill="white"/>',
'r' => '<path d="M17.6 148.6V3h62.8q16.2 0 28.3 6 12 5.8 18.9 16.9a50 50 0 0 1 6.7 26.5q0 15.7-7 26.4A43 43 0 0 1 108 95q-12.5 5.5-29 5.5H41.3V69.9H71q7 0 11.8-1.7a15 15 0 0 0 7.6-5.6 17 17 0 0 0 2.7-10q0-6.3-2.7-10.2a15 15 0 0 0-7.6-5.8q-4.9-2-11.8-2H57v114zm85.2-66.8 36.4 66.8h-43L60.9 81.8z" fill="white"/>',
'a' => '<path d="M42.6 148.6H0L48 3h54l48 145.5h-42.7L75.5 43.2h-1.1zm-8-57.4h80.1v29.5h-80z" fill="white"/>',
'd' => '<path d="M67 148.6H11V3h55.4q22.5 0 38.8 8.7a60 60 0 0 1 25.3 25q9 16.4 9 39 0 22.8-9 39.1a61 61 0 0 1-25 25 81 81 0 0 1-38.5 8.7M50.5 115h15a44 44 0 0 0 18.5-3.4q7.6-3.6 11.6-12t4-23.8q0-15-4-23.7a24 24 0 0 0-12-12 47 47 0 0 0-19.2-3.5H50.5z" fill="white"/>',
'i' => '<path d="M94.8 3.1v145.5H55.3V3z" fill="white"/>',
'e' => '<path d="M22.2 148.6V3H127v32H61.7v25h59.9v31.8h-60v25h65.1v31.9z" fill="white"/>',
'n' => '<path d="M138 3.1v145.5h-33L52.5 72h-1v76.5H12.2V3h33.5l51.7 76.1h1.2v-76z" fill="white"/>',
't' => '<path d="M11.7 35V3h126.5v32H94.4v113.7h-39V34.9z" fill="white"/>',
),
),
);