一个封装了的蜂蜜罐。
意在说明djask基于apiflask开发。
完整代码:
<?xml version="1.0" encoding="utf-8"?> <svg version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 850.4 850.4" enable-background="new 0 0 850.4 850.4" xml:space="preserve"> <g> <g> <path fill="#808080" d="M190.3,206.2c-14.4,21.8-26.1,45.3-34.5,70c-9.3,27.2-13.9,55.6-15.9,84.2c-3.7,52.8-2.9,105.8,4.3,158.3 c7.2,51.8,17.9,102.5,40.6,150c6.4,13.4,13.5,26.4,21.4,39c2.9,4.6,5.8,9.1,8.8,13.6c2.8,4.2,5.7,9.8,9.4,13.2 c3.1,2.9,8.7,4.4,12.5,6.2c4.7,2.1,9.3,4.1,14.1,6.1c11.2,4.6,22.6,8.8,34.1,12.5c97.4,31.2,204.5,27.3,300.1-8.4 c10.5-3.9,20.8-8.2,30.9-12.8c4.2-1.9,10.2-3.6,13.3-7.2c3.5-4.1,6.4-8.9,9.4-13.4c14.9-22.1,27.8-45.5,38.4-70 c15.1-35,25.2-72.2,30.9-109.8c4-25.9,6-52.1,5.3-78.4c-0.7-27.3-3.8-54.5-6.6-81.7c-2.8-27.6-6-55.2-12.5-82.2 c-6.7-27.5-16.8-54.2-29.5-79.5c-4.9-9.8-10.3-19.4-16.1-28.8c-3.4-5.5-11.6-0.6-8.6,5c7.6,14.4,16.4,30.3,18.8,46.7 c0.1,0.4,0.1-0.2,0.1,1.1c0,0.5,0,1,0,1.5c0.2,1.5,0,0.2,0,0.2c0.5-0.8-0.2,0.4-0.3,0.6c-0.6,0.9-1.2,1.7-1.8,2.6 c-3.2,4-6.9,7.7-10.5,11.4c-13.9,14.4-27.2,30.2-45.4,39.3c-15.4,7.7-32.1,13.4-48.6,18.1c-24.1,6.9-48.7,10.7-73.4,14.3 c-18.9,2.7-37.3,4-56.4,3c-21.9-1.2-43.9-2.4-65.7-5.3c-22.7-3-44.9-8.1-66.8-14.8c-13.7-4.2-27-9.5-39.6-16.2 c-10.8-5.8-22.3-11.5-31.6-19.6c-18.6-16.1-23.9-41.4-19.6-64.9c1.1-6.3-8.5-9-9.6-2.7c-4,22.1-1.3,45.9,12.5,64.2 c6.4,8.6,14.8,15.1,23.9,20.7c11.5,7.1,23.6,13.6,35.9,18.9c43.8,18.8,91.8,25.3,138.9,28.3c21.2,1.4,42.3,2.8,63.5,0.3 c24.5-2.8,49.3-6.3,73.3-12c20.1-4.8,39.6-11.3,58.6-19.3c9.2-3.9,18-8.4,25.9-14.6c8.1-6.3,15.1-13.9,22.3-21.3 c5.1-5.2,10.2-10.5,15.2-15.8c2.7-2.9,5.7-6,7.7-9.5c1.4-2.4,1.8-4.7,1.6-7.4c-0.4-5.8-2.2-11.6-4.1-17.1 c-4.3-12.3-10.1-24.1-16.2-35.6c-2.9,1.7-5.8,3.4-8.6,5c27.6,45,44.9,94.7,52.3,146.9c3.9,27.6,6.5,55.6,8.9,83.4 c2.1,23.8,3.1,47.7,1.6,71.5c-2.8,45.6-12.3,91.2-28.5,134c-6.7,17.7-14.8,34.9-24.3,51.9c-5.7,10.3-11.9,20.4-18.4,30.2 c-2.9,4.3-5.8,8.6-8.9,12.8c-2.2,3.1-7.7,4.6-11.8,6.5c-88.6,40.2-190.4,51.9-285.5,30.5c-24.2-5.4-47.9-12.9-70.8-22.3 c-4.3-1.8-8.6-3.6-12.9-5.6c-3.4-1.5-9.4-3.6-11.1-5.5c-3.4-3.6-6.1-8.6-8.9-12.7c-3.4-5-6.6-10.2-9.8-15.4 c-28.3-46.7-44.8-97.8-53.7-151.4c-8-48.1-12.1-96.3-10.6-145.1c0.9-27.8,1.8-55.7,6.9-83c5.2-28.2,14.7-55.4,28-80.8 c4.9-9.3,10.2-18.3,16-27C202.5,205.9,193.8,200.9,190.3,206.2z"/> </g> </g> <path fill="none" stroke="#808080" stroke-miterlimit="10" d="M877,127"/> <path fill="#F7931E" stroke="#808080" stroke-miterlimit="10" d="M172,558c41.2-9.7,76.9-12.6,104-13c28-0.5,85.9-0.9,153,21.5 c55.8,18.6,58.5,33.2,96.4,34.9c44.5,2,81.8-16.4,100.1-25.4c30-14.8,51.6-32.6,65.3-45.7c-0.9,7.9-2.2,18.1-4.6,29.9 c-1.5,7.6-4.2,21.2-9.5,37.5c-2.3,7.2-3.6,10-13.3,33.2c-16.8,40.3-17.2,41.9-20.5,47.9c-5.1,9.3-13.3,22.1-26,36.1 c-21.9,10.3-51.2,22.1-87,31c-52.4,13.1-93.7,13.9-106,14c-15.8,0.1-53.2-0.5-100-11c-36.5-8.2-66.5-19.7-89-30 c-12.5-17.7-21.8-33.6-28.5-46c-6.8-12.6-12.8-23.9-18.5-40c-4.3-12.2-6.5-21.9-8.7-31.3C176.5,589.4,173.8,574.7,172,558z"/> <path fill="#F7931E" stroke="#808080" stroke-miterlimit="10" d="M194.1,247c15,24.4,32.1,38.3,42.8,45.7 c17.6,12.1,33.2,17,58.2,24.8c14.1,4.4,32.7,10.2,57.4,12.5c9,0.8,14.3,0.8,38.6,2.6c23.6,1.8,23,2.1,31.7,2.6 c30,1.7,54.1-1.9,77-5.3c9.3-1.4,21.2-3.2,36.7-6.8c15.5-3.7,30.5-7.2,48.8-15.3c10.8-4.8,25.2-11.3,41.2-24.2 c15.6-12.6,26-25.9,32.4-35.5c29.9,95.7,24.8,124.9,12.8,132.2c-7.4,4.5-21.4,2.8-28.6-4.2c-11.8-11.5,0.5-31.3-14-51 c-2.5-3.4-7.8-10.3-16-11c-7.3-0.6-15.8,4-19,11c-4.5,9.8,5.1,16.6,1,29c-3,9.2-11,13.8-13,15c-0.6,0.4-14.6,8.3-27,2 c-8.2-4.1-11.5-12.6-14-19c-1.7-4.2-2.4-7.9-3-11c-1.4-7.3-1.6-13.6-1.5-18c-12.2,2.3-24.5,4.6-36.7,6.8c0.6,1.2,1.4,3,2.2,5.2 c2.1,5.3,7.2,18.8,5.9,34.1c-0.5,5.6-2.2,25.3-14.6,30c-8.6,3.2-17.6-2.6-18.3-3.1c-10.4-7-11.9-20.7-13.7-36.3 c-1.2-10.7-0.8-19.7-0.2-25.7c-12.8,0.4-25.6,0.8-38.4,1.1c0.4,4.4,0.6,13.7-4.7,22.9c-2.2,3.8-6.3,11-12,11c-6.4,0-12.3-9.2-14-17 c-2.1-9.8,2.7-16.2-1-19.5c-2.5-2.3-6.4-0.8-12.1-0.1c-4.9,0.7-12.1-0.4-26.5-2.5c-33-4.8-57.4-12.5-57.4-12.5 c-16-5-36.2-12.7-58.2-24.8c-17.2,5.8-24,13.8-26.9,20.4c-5.3,12,1.6,21.7-7,35c-2.2,3.3-6.9,11-15,12c-8.4,1-15-5.8-16.1-6.9 c-2.1-2.2-9-10.2-6.9-32.1c0.5-5.1,1.7-16.7,14-44C184.7,264.4,190.1,254.1,194.1,247z"/> <g> <ellipse fill="#A67C52" cx="426.3" cy="231.1" rx="234.9" ry="104"/> <g> <path fill="#808080" d="M655.1,231.1c-0.2,25.3-22.2,44.1-42.1,56.1c-32.7,19.8-71.1,30-108.5,35.9c-46.6,7.4-94.7,7.9-141.5,2.1 c-38.8-4.8-78.7-14.1-113.5-32.5c-21.6-11.4-46.7-28.7-51.5-54.5c-4.5-23.9,13.9-44.3,32-57.1c29.9-21.2,66.5-32.3,102.1-39.3 c45.8-9.1,93.1-10.9,139.5-6.9c40.6,3.5,82.1,11.6,119.4,28.5c23.5,10.6,51.9,26.8,61.3,52.5C654.1,221,655.1,225.9,655.1,231.1 c0.1,7.7,12.1,7.7,12,0c-0.2-28.6-22.5-50.3-45.1-64.7c-33.6-21.3-73.8-32.3-112.7-38.7c-49.3-8.1-100.1-8.9-149.6-2.4 c-40.9,5.3-82.5,15.2-118.9,35.1c-23.8,13-50,33.3-54.6,61.8c-4.4,27.7,13.3,50.7,34.3,66.5c30.7,23.2,69.7,35.3,106.9,42.8 c48.1,9.7,98,11.9,146.9,7.4c43-4,86.5-12.8,125.8-31.3c25.9-12.2,54.3-30.7,64.1-59.1c1.9-5.6,2.9-11.5,2.9-17.5 C667.2,223.4,655.2,223.4,655.1,231.1z"/> </g> </g> <path fill="#F7931E" stroke="#808080" stroke-miterlimit="10" d="M937,540"/> <path fill="#FDD089" stroke="#808080" stroke-miterlimit="10" d="M690.8,530.3c4.6,22.1-71.1,70.7-149.8,73.7 c-58.8,2.2-111.9-19.6-111.9-19.6c-27.4-11.3-38.8-21.8-72.1-29.4c-24.9-5.7-47.1-6.4-68-7c-20.8-0.6-38.6-1.2-62,2 c-34.4,4.7-51.6,13.5-55,8c-3.8-6.1,13.2-23.8,26-35c10.2-8.9,45.2-37.5,111.3-50.4c22.4-4.4,73-13.7,132.6,1.3 c41,10.4,46.8,22.3,90.1,28.1c31.4,4.2,40.3-0.6,78,4C647.3,510.5,687.7,515.4,690.8,530.3z"/> <path fill="#FDD089" stroke="#808080" stroke-miterlimit="10" d="M271,238"/> <g> <g> <path fill="#808080" d="M351.7,128.4c-15.9,15.9-31.8,31.8-47.7,47.7c-25.3,25.3-50.7,50.7-76,76c-5.8,5.8-11.7,11.7-17.5,17.5 c-4.6,4.6,2.5,11.6,7.1,7.1c15.9-15.9,31.8-31.8,47.7-47.7c25.3-25.3,50.7-50.7,76-76c5.8-5.8,11.7-11.7,17.5-17.5 C363.4,130.9,356.3,123.8,351.7,128.4L351.7,128.4z"/> </g> </g> <g> <g> <path fill="#808080" d="M442.4,123.9c-20.2,20.2-40.5,40.5-60.7,60.7c-32.3,32.3-64.5,64.5-96.8,96.8 c-7.4,7.4-14.8,14.8-22.3,22.3c-4.6,4.6,2.5,11.6,7.1,7.1c20.2-20.2,40.5-40.5,60.7-60.7c32.3-32.3,64.5-64.5,96.8-96.8 c7.4-7.4,14.8-14.8,22.3-22.3C454,126.4,447,119.4,442.4,123.9L442.4,123.9z"/> </g> </g> <g> <g> <path fill="#808080" d="M517.8,131.5c-21.2,21.2-42.4,42.4-63.6,63.6c-33.8,33.8-67.6,67.6-101.5,101.5 c-7.8,7.8-15.6,15.6-23.3,23.3c-4.6,4.6,2.5,11.6,7.1,7.1c21.2-21.2,42.4-42.4,63.6-63.6c33.8-33.8,67.6-67.6,101.5-101.5 c7.8-7.8,15.6-15.6,23.3-23.3C529.4,134,522.3,127,517.8,131.5L517.8,131.5z"/> </g> </g> <g> <g> <path fill="#808080" d="M580,155c-19.9,19.9-39.9,39.9-59.8,59.8c-31.6,31.6-63.3,63.3-94.9,94.9c-7.3,7.3-14.6,14.6-21.9,21.9 c-4.6,4.6,2.5,11.6,7.1,7.1c19.9-19.9,39.9-39.9,59.8-59.8c31.6-31.6,63.3-63.3,94.9-94.9c7.3-7.3,14.6-14.6,21.9-21.9 C591.6,157.5,584.5,150.4,580,155L580,155z"/> </g> </g> <g> <g> <path fill="#808080" d="M638.8,186.2c-16,15.8-32.1,31.5-48.1,47.3c-25.6,25.2-51.2,50.3-76.7,75.5c-5.9,5.8-11.8,11.6-17.7,17.4 c-4.6,4.5,2.5,11.6,7.1,7.1c16-15.8,32.1-31.5,48.1-47.3c25.6-25.2,51.2-50.3,76.7-75.5c5.9-5.8,11.8-11.6,17.7-17.4 C650.4,188.7,643.4,181.6,638.8,186.2L638.8,186.2z"/> </g> </g> </svg>
效果:
@RSGC2-18 请给我500个圆圆的东西。嘿嘿嘿。
另:我200,hydro拿300个
This post belongs to Column 「不算法专栏」 , and Column 「算法不专栏」 .
rice0208
Admin Author 2021-10-29T11:39:46Z这个svg可真的是比brainfuck还变态
Deleted Flog User
2021-10-29T11:41:36Z能不能提个小要求:蜂蜜罐盖子能不能稍微“立体”一点
rice0208
Admin Author 2021-10-29T11:43:09Z能不能提个小要求:蜂蜜罐盖子能不能稍微“立体”一点
我试试