Skip to content

Instantly share code, notes, and snippets.

@dalitstein

dalitstein/5 Secret

Created March 12, 2021 00:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dalitstein/d652e4b21bb2f070444a615eccc72c1c to your computer and use it in GitHub Desktop.
Save dalitstein/d652e4b21bb2f070444a615eccc72c1c to your computer and use it in GitHub Desktop.
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Requirement already satisfied: flat in /Users/dalitstein/opt/anaconda3/lib/python3.8/site-packages (0.3.2)\r\n"
]
}
],
"source": [
"!pip install flat"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"from flat import document, shape, rgba, rgb , group"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"from IPython.display import SVG, display\n",
"def show(page):\n",
" display(SVG(page.svg()))"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Collecting https://github.com/aparrish/bezmerizing/archive/master.zip\n",
" Using cached https://github.com/aparrish/bezmerizing/archive/master.zip\n",
"Requirement already satisfied (use --upgrade to upgrade): bezmerizing==0.1.0 from https://github.com/aparrish/bezmerizing/archive/master.zip in /Users/dalitstein/opt/anaconda3/lib/python3.8/site-packages\n",
"Requirement already satisfied: flat>=0.0.3 in /Users/dalitstein/opt/anaconda3/lib/python3.8/site-packages (from bezmerizing==0.1.0) (0.3.2)\n",
"Requirement already satisfied: scipy>=1.1.0 in /Users/dalitstein/opt/anaconda3/lib/python3.8/site-packages (from bezmerizing==0.1.0) (1.5.2)\n",
"Requirement already satisfied: numpy>=1.14.5 in /Users/dalitstein/opt/anaconda3/lib/python3.8/site-packages (from scipy>=1.1.0->bezmerizing==0.1.0) (1.19.2)\n",
"Building wheels for collected packages: bezmerizing\n",
" Building wheel for bezmerizing (setup.py) ... \u001b[?25ldone\n",
"\u001b[?25h Created wheel for bezmerizing: filename=bezmerizing-0.1.0-py3-none-any.whl size=15814 sha256=112ceb04a5ff52f55f17344e3c4f1c6d2aa887f066f1d32785b8b6a346a2fdd9\n",
" Stored in directory: /private/var/folders/hc/h5gqmtw53sn2rcs7vth699h00000gn/T/pip-ephem-wheel-cache-ec1u9utb/wheels/74/5a/7d/4a62c2490b6c6061916e41ae070caaed12664893aef1a56d7c\n",
"Successfully built bezmerizing\n"
]
}
],
"source": [
"!pip install https://github.com/aparrish/bezmerizing/archive/master.zip"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
"from bezmerizing import Polyline"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
"import numpy as np"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
"from numpy.random import uniform, normal, choice"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" width=\"396.8504pt\" height=\"283.4646pt\" viewBox=\"0 0 396.8504 283.4646\">\n",
"<title>Untitled</title>\n",
"\n",
"</svg>"
],
"text/plain": [
"<IPython.core.display.SVG object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"d = document(140, 100, 'mm') # create a document 100mm x 100mm (can replace 'mm' with 'pt')\n",
"page = d.addpage() # add a page\n",
"show(page) # show the page"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {},
"outputs": [],
"source": [
"from bezmerizing import Polyline"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"outputs": [],
"source": [
"pline = Polyline([[1,1],[80, 80], [10, 40], [20, 60], [70, 70]])"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 149,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" width=\"283.4646pt\" height=\"283.4646pt\" viewBox=\"0 0 283.4646 283.4646\">\n",
"<title>Untitled</title>\n",
"<g transform=\"matrix(1, 0, 0, 1, 0, 0)\"><line x1=\"19.8425\" y1=\"14.1732\" x2=\"19.8425\" y2=\"79.3701\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"28.3465\" y1=\"25.5118\" x2=\"34.0157\" y2=\"25.5118\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 0, 0)\"><line x1=\"14.1732\" y1=\"14.1732\" x2=\"14.1732\" y2=\"79.3701\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"19.8425\" y1=\"19.8425\" x2=\"19.8425\" y2=\"79.3701\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"25.5118\" y1=\"25.5118\" x2=\"25.5118\" y2=\"79.3701\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"14.1732\" x2=\"28.3465\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"19.8425\" y1=\"19.8425\" x2=\"31.1811\" y2=\"19.8425\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"19.8425\" y1=\"19.8425\" x2=\"31.1811\" y2=\"19.8425\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"31.1811\" y1=\"25.5118\" x2=\"25.5118\" y2=\"25.5118\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"</svg>"
],
"text/plain": [
"<IPython.core.display.SVG object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"d = document(100, 100, 'mm')\n",
"page = d.addpage()\n",
"\n",
"line = group()\n",
"lineshadow = group()\n",
"\n",
"brush = shape().stroke(rgb(255, 68, 0)).width(1)\n",
"line_obj = brush.line(5, 5, 5, 28)\n",
"line.place(line_obj)\n",
"\n",
"\n",
"line_obj = brush.line(7, 7, 7, 28)\n",
"line.place(line_obj)\n",
"\n",
"\n",
"\n",
"line_obj = brush.line(9, 9, 9, 28)\n",
"line.place(line_obj)\n",
"\n",
"\n",
"line_obj = brush.line(5, 5, 10, 5)\n",
"line.place(line_obj)\n",
"\n",
"line_obj = brush.line(7, 7, 11,7)\n",
"line.place(line_obj)\n",
"\n",
"\n",
"line_obj = brush.line(7, 7, 11,7)\n",
"line.place(line_obj)\n",
"\n",
"\n",
"line_obj = brush.line(11, 9, 9 ,9)\n",
"line.place(line_obj)\n",
"\n",
"\n",
"############\n",
"brushshadow = shape().stroke(rgb(255, 162, 218)).width(20)\n",
"lineshadow_obj = brushshadow.line(7, 5, 7, 28)\n",
"lineshadow.place(lineshadow_obj)\n",
"\n",
"\n",
"lineshadow_obj = brushshadow.line(10, 9, 12 ,9)\n",
"lineshadow.place(lineshadow_obj)\n",
"\n",
"\n",
"page.place(lineshadow)\n",
"page.place(line)\n",
"\n",
"\n",
"\n",
"show(page) \n"
]
},
{
"cell_type": "code",
"execution_count": 150,
"metadata": {},
"outputs": [],
"source": [
"import random"
]
},
{
"cell_type": "code",
"execution_count": 225,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" width=\"283.4646pt\" height=\"283.4646pt\" viewBox=\"0 0 283.4646 283.4646\">\n",
"<title>Untitled</title>\n",
"<g transform=\"matrix(1, 0, 0, 1, 28.3465, 28.3465)\"><line x1=\"2.8346\" y1=\"53.8583\" x2=\"22.6772\" y2=\"25.5118\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"51.0236\" x2=\"34.0157\" y2=\"36.8504\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.252\" y1=\"55.8425\" x2=\"24.6614\" y2=\"27.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"53.8583\" x2=\"22.6772\" y2=\"25.5118\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"51.0236\" x2=\"19.8425\" y2=\"22.6772\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 28.3465, 85.0394)\"><line x1=\"19.8425\" y1=\"2.8346\" x2=\"42.5197\" y2=\"36.8504\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"19.8425\" y1=\"0\" x2=\"53.8583\" y2=\"48.189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"21.2598\" y1=\"4.8189\" x2=\"44.5039\" y2=\"38.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"19.8425\" y1=\"2.8346\" x2=\"42.5197\" y2=\"36.8504\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"17.0079\" y1=\"0\" x2=\"39.685\" y2=\"34.0157\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 28.3465, 141.7323)\"><line x1=\"51.0236\" y1=\"25.5118\" x2=\"19.8425\" y2=\"42.5197\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"51.0236\" y1=\"22.6772\" x2=\"31.1811\" y2=\"53.8583\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"52.4409\" y1=\"27.4961\" x2=\"21.8268\" y2=\"44.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"51.0236\" y1=\"25.5118\" x2=\"19.8425\" y2=\"42.5197\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"48.189\" y1=\"22.6772\" x2=\"17.0079\" y2=\"39.685\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 28.3465, 198.4252)\"><line x1=\"19.8425\" y1=\"45.3543\" x2=\"34.0157\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"19.8425\" y1=\"42.5197\" x2=\"45.3543\" y2=\"25.5118\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"21.2598\" y1=\"47.3386\" x2=\"36\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"19.8425\" y1=\"45.3543\" x2=\"34.0157\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"17.0079\" y1=\"42.5197\" x2=\"31.1811\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 28.3465, 255.1181)\"><line x1=\"53.8583\" y1=\"56.6929\" x2=\"25.5118\" y2=\"39.685\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"53.8583\" y1=\"53.8583\" x2=\"36.8504\" y2=\"51.0236\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"55.2756\" y1=\"58.6772\" x2=\"27.4961\" y2=\"41.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"53.8583\" y1=\"56.6929\" x2=\"25.5118\" y2=\"39.685\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"51.0236\" y1=\"53.8583\" x2=\"22.6772\" y2=\"36.8504\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 85.0394, 28.3465)\"><line x1=\"34.0157\" y1=\"53.8583\" x2=\"14.1732\" y2=\"39.685\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"34.0157\" y1=\"51.0236\" x2=\"25.5118\" y2=\"51.0236\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"35.4331\" y1=\"55.8425\" x2=\"16.1575\" y2=\"41.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"34.0157\" y1=\"53.8583\" x2=\"14.1732\" y2=\"39.685\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"31.1811\" y1=\"51.0236\" x2=\"11.3386\" y2=\"36.8504\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 85.0394, 85.0394)\"><line x1=\"25.5118\" y1=\"14.1732\" x2=\"31.1811\" y2=\"39.685\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"25.5118\" y1=\"11.3386\" x2=\"42.5197\" y2=\"51.0236\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"26.9291\" y1=\"16.1575\" x2=\"33.1654\" y2=\"41.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"25.5118\" y1=\"14.1732\" x2=\"31.1811\" y2=\"39.685\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"22.6772\" y1=\"11.3386\" x2=\"28.3465\" y2=\"36.8504\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 85.0394, 141.7323)\"><line x1=\"42.5197\" y1=\"45.3543\" x2=\"11.3386\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"42.5197\" y1=\"42.5197\" x2=\"22.6772\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"43.937\" y1=\"47.3386\" x2=\"13.3228\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"42.5197\" y1=\"45.3543\" x2=\"11.3386\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"39.685\" y1=\"42.5197\" x2=\"8.5039\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 85.0394, 198.4252)\"><line x1=\"19.8425\" y1=\"45.3543\" x2=\"5.6693\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"19.8425\" y1=\"42.5197\" x2=\"17.0079\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"21.2598\" y1=\"47.3386\" x2=\"7.6535\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"19.8425\" y1=\"45.3543\" x2=\"5.6693\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"17.0079\" y1=\"42.5197\" x2=\"2.8346\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 85.0394, 255.1181)\"><line x1=\"31.1811\" y1=\"14.1732\" x2=\"48.189\" y2=\"36.8504\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"31.1811\" y1=\"11.3386\" x2=\"59.5276\" y2=\"48.189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"32.5984\" y1=\"16.1575\" x2=\"50.1732\" y2=\"38.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"31.1811\" y1=\"14.1732\" x2=\"48.189\" y2=\"36.8504\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"28.3465\" y1=\"11.3386\" x2=\"45.3543\" y2=\"34.0157\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 28.3465)\"><line x1=\"31.1811\" y1=\"28.3465\" x2=\"39.685\" y2=\"53.8583\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"31.1811\" y1=\"25.5118\" x2=\"51.0236\" y2=\"65.1969\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"32.5984\" y1=\"30.3307\" x2=\"41.6693\" y2=\"55.8425\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"31.1811\" y1=\"28.3465\" x2=\"39.685\" y2=\"53.8583\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"28.3465\" y1=\"25.5118\" x2=\"36.8504\" y2=\"51.0236\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 85.0394)\"><line x1=\"14.1732\" y1=\"28.3465\" x2=\"56.6929\" y2=\"42.5197\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"25.5118\" x2=\"68.0315\" y2=\"53.8583\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"15.5906\" y1=\"30.3307\" x2=\"58.6772\" y2=\"44.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"28.3465\" x2=\"56.6929\" y2=\"42.5197\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"25.5118\" x2=\"53.8583\" y2=\"39.685\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 141.7323)\"><line x1=\"8.5039\" y1=\"36.8504\" x2=\"17.0079\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"34.0157\" x2=\"28.3465\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"9.9213\" y1=\"38.8346\" x2=\"18.9921\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"36.8504\" x2=\"17.0079\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"34.0157\" x2=\"14.1732\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 198.4252)\"><line x1=\"34.0157\" y1=\"2.8346\" x2=\"19.8425\" y2=\"36.8504\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"34.0157\" y1=\"0\" x2=\"31.1811\" y2=\"48.189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"35.4331\" y1=\"4.8189\" x2=\"21.8268\" y2=\"38.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"34.0157\" y1=\"2.8346\" x2=\"19.8425\" y2=\"36.8504\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"31.1811\" y1=\"0\" x2=\"17.0079\" y2=\"34.0157\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 255.1181)\"><line x1=\"28.3465\" y1=\"39.685\" x2=\"2.8346\" y2=\"51.0236\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"28.3465\" y1=\"36.8504\" x2=\"14.1732\" y2=\"62.3622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"29.7638\" y1=\"41.6693\" x2=\"4.8189\" y2=\"53.0079\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"28.3465\" y1=\"39.685\" x2=\"2.8346\" y2=\"51.0236\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"25.5118\" y1=\"36.8504\" x2=\"0\" y2=\"48.189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 198.4252, 28.3465)\"><line x1=\"39.685\" y1=\"25.5118\" x2=\"22.6772\" y2=\"31.1811\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"39.685\" y1=\"22.6772\" x2=\"34.0157\" y2=\"42.5197\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"41.1024\" y1=\"27.4961\" x2=\"24.6614\" y2=\"33.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"39.685\" y1=\"25.5118\" x2=\"22.6772\" y2=\"31.1811\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"36.8504\" y1=\"22.6772\" x2=\"19.8425\" y2=\"28.3465\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 198.4252, 85.0394)\"><line x1=\"17.0079\" y1=\"39.685\" x2=\"42.5197\" y2=\"56.6929\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"17.0079\" y1=\"36.8504\" x2=\"53.8583\" y2=\"68.0315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"18.4252\" y1=\"41.6693\" x2=\"44.5039\" y2=\"58.6772\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"17.0079\" y1=\"39.685\" x2=\"42.5197\" y2=\"56.6929\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"36.8504\" x2=\"39.685\" y2=\"53.8583\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 198.4252, 141.7323)\"><line x1=\"2.8346\" y1=\"25.5118\" x2=\"8.5039\" y2=\"31.1811\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"22.6772\" x2=\"19.8425\" y2=\"42.5197\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.252\" y1=\"27.4961\" x2=\"10.4882\" y2=\"33.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"25.5118\" x2=\"8.5039\" y2=\"31.1811\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"22.6772\" x2=\"5.6693\" y2=\"28.3465\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 198.4252, 198.4252)\"><line x1=\"36.8504\" y1=\"5.6693\" x2=\"39.685\" y2=\"36.8504\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"36.8504\" y1=\"2.8346\" x2=\"51.0236\" y2=\"48.189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"38.2677\" y1=\"7.6535\" x2=\"41.6693\" y2=\"38.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"36.8504\" y1=\"5.6693\" x2=\"39.685\" y2=\"36.8504\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"34.0157\" y1=\"2.8346\" x2=\"36.8504\" y2=\"34.0157\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 198.4252, 255.1181)\"><line x1=\"14.1732\" y1=\"31.1811\" x2=\"53.8583\" y2=\"42.5197\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"28.3465\" x2=\"65.1969\" y2=\"53.8583\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"15.5906\" y1=\"33.1654\" x2=\"55.8425\" y2=\"44.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"31.1811\" x2=\"53.8583\" y2=\"42.5197\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"28.3465\" x2=\"51.0236\" y2=\"39.685\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 255.1181, 28.3465)\"><line x1=\"5.6693\" y1=\"53.8583\" x2=\"25.5118\" y2=\"42.5197\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"51.0236\" x2=\"36.8504\" y2=\"53.8583\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"7.0866\" y1=\"55.8425\" x2=\"27.4961\" y2=\"44.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"53.8583\" x2=\"25.5118\" y2=\"42.5197\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"51.0236\" x2=\"22.6772\" y2=\"39.685\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 255.1181, 85.0394)\"><line x1=\"39.685\" y1=\"36.8504\" x2=\"51.0236\" y2=\"48.189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"39.685\" y1=\"34.0157\" x2=\"62.3622\" y2=\"59.5276\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"41.1024\" y1=\"38.8346\" x2=\"53.0079\" y2=\"50.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"39.685\" y1=\"36.8504\" x2=\"51.0236\" y2=\"48.189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"36.8504\" y1=\"34.0157\" x2=\"48.189\" y2=\"45.3543\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 255.1181, 141.7323)\"><line x1=\"39.685\" y1=\"45.3543\" x2=\"19.8425\" y2=\"51.0236\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"39.685\" y1=\"42.5197\" x2=\"31.1811\" y2=\"62.3622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"41.1024\" y1=\"47.3386\" x2=\"21.8268\" y2=\"53.0079\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"39.685\" y1=\"45.3543\" x2=\"19.8425\" y2=\"51.0236\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"36.8504\" y1=\"42.5197\" x2=\"17.0079\" y2=\"48.189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 255.1181, 198.4252)\"><line x1=\"19.8425\" y1=\"39.685\" x2=\"36.8504\" y2=\"28.3465\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"19.8425\" y1=\"36.8504\" x2=\"48.189\" y2=\"39.685\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"21.2598\" y1=\"41.6693\" x2=\"38.8346\" y2=\"30.3307\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"19.8425\" y1=\"39.685\" x2=\"36.8504\" y2=\"28.3465\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"17.0079\" y1=\"36.8504\" x2=\"34.0157\" y2=\"25.5118\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 255.1181, 255.1181)\"><line x1=\"25.5118\" y1=\"34.0157\" x2=\"22.6772\" y2=\"31.1811\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"25.5118\" y1=\"31.1811\" x2=\"34.0157\" y2=\"42.5197\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"26.9291\" y1=\"36\" x2=\"24.6614\" y2=\"33.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"25.5118\" y1=\"34.0157\" x2=\"22.6772\" y2=\"31.1811\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"22.6772\" y1=\"31.1811\" x2=\"19.8425\" y2=\"28.3465\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"</svg>"
],
"text/plain": [
"<IPython.core.display.SVG object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"width = 100\n",
"height = 100\n",
"d = document(width, height, 'mm')\n",
"page = d.addpage()\n",
"\n",
"brush = shape().stroke(rgb(255, 68, 0)).width(1)\n",
"shadowbrush = shape().stroke(rgb(255, 162, 218)).width(10)\n",
"grid_size = 5\n",
"# size of a single rectangle in the grid\n",
"cell_size_x = width / grid_size\n",
"cell_size_y = height / grid_size\n",
"for i in range(grid_size):\n",
" for j in range(grid_size):\n",
" scale_val = (width / grid_size) *0.5\n",
" x = i * cell_size_x + (cell_size_x * 0.5) # add 1/2 cell size to offset glyph center\n",
" y = j * cell_size_y + (cell_size_y * 0.5)\n",
" glyph = group()\n",
" x1 = random.randrange(20)\n",
" y1 = random.randrange(20)\n",
" x2 = random.randrange(20)\n",
" y2 = random.randrange(20)\n",
" line_obj = brush.line(x1, y1, x2, y2)\n",
" line1_obj = brush.line(x1+ 1, y1 +1, x2 + 1, y2+1)\n",
" line2_obj = brush.line(x1+ 1.5, y1 +1.7, x2 + 1.7, y2+1.7)\n",
" line3_obj = brush.line(x1 +1, y1 , x2 + 5 , y2 + 5)\n",
" lineshadow_obj = shadowbrush.line(x1 + 1 , y1 +1, x2 +1, y2+1)\n",
" glyph.place(lineshadow_obj)\n",
" glyph.place(line3_obj)\n",
" glyph.place(line2_obj)\n",
" glyph.place(line1_obj) \n",
" glyph.place(line_obj) \n",
" page.place(glyph).position(x,y)\n",
"show(page)"
]
},
{
"cell_type": "code",
"execution_count": 202,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" width=\"283.4646pt\" height=\"283.4646pt\" viewBox=\"0 0 283.4646 283.4646\">\n",
"<title>Untitled</title>\n",
"<g transform=\"matrix(1, 0, 0, 1, 20.2475, 20.2475)\"><line x1=\"16.1575\" y1=\"4.8189\" x2=\"13.3228\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"4.8189\" x2=\"13.3228\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"2.8346\" x2=\"11.3386\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"0\" x2=\"8.5039\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 20.2475, 60.7424)\"><line x1=\"13.3228\" y1=\"10.4882\" x2=\"7.6535\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"10.4882\" x2=\"7.6535\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"8.5039\" x2=\"5.6693\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"5.6693\" x2=\"2.8346\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 20.2475, 101.2373)\"><line x1=\"16.1575\" y1=\"16.1575\" x2=\"13.3228\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"16.1575\" x2=\"13.3228\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"14.1732\" x2=\"11.3386\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"11.3386\" x2=\"8.5039\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 20.2475, 141.7323)\"><line x1=\"16.1575\" y1=\"13.3228\" x2=\"10.4882\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"13.3228\" x2=\"10.4882\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"11.3386\" x2=\"8.5039\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"8.5039\" x2=\"5.6693\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 20.2475, 182.2272)\"><line x1=\"13.3228\" y1=\"7.6535\" x2=\"10.4882\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"7.6535\" x2=\"10.4882\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"5.6693\" x2=\"8.5039\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"2.8346\" x2=\"5.6693\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 20.2475, 222.7222)\"><line x1=\"10.4882\" y1=\"4.8189\" x2=\"4.8189\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"10.4882\" y1=\"4.8189\" x2=\"4.8189\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"2.8346\" x2=\"2.8346\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"0\" x2=\"0\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 20.2475, 263.2171)\"><line x1=\"10.4882\" y1=\"16.1575\" x2=\"4.8189\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"10.4882\" y1=\"16.1575\" x2=\"4.8189\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"14.1732\" x2=\"2.8346\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"11.3386\" x2=\"0\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 60.7424, 20.2475)\"><line x1=\"13.3228\" y1=\"16.1575\" x2=\"10.4882\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"16.1575\" x2=\"10.4882\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"14.1732\" x2=\"8.5039\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"11.3386\" x2=\"5.6693\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 60.7424, 60.7424)\"><line x1=\"4.8189\" y1=\"16.1575\" x2=\"13.3228\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"16.1575\" x2=\"13.3228\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"14.1732\" x2=\"11.3386\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"11.3386\" x2=\"8.5039\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 60.7424, 101.2373)\"><line x1=\"10.4882\" y1=\"16.1575\" x2=\"10.4882\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"10.4882\" y1=\"16.1575\" x2=\"10.4882\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"14.1732\" x2=\"8.5039\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"11.3386\" x2=\"5.6693\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 60.7424, 141.7323)\"><line x1=\"7.6535\" y1=\"7.6535\" x2=\"16.1575\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"7.6535\" y1=\"7.6535\" x2=\"16.1575\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"5.6693\" x2=\"14.1732\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"2.8346\" x2=\"11.3386\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 60.7424, 182.2272)\"><line x1=\"4.8189\" y1=\"4.8189\" x2=\"7.6535\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"4.8189\" x2=\"7.6535\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"2.8346\" x2=\"5.6693\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"0\" x2=\"2.8346\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 60.7424, 222.7222)\"><line x1=\"13.3228\" y1=\"10.4882\" x2=\"7.6535\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"10.4882\" x2=\"7.6535\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"8.5039\" x2=\"5.6693\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"5.6693\" x2=\"2.8346\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 60.7424, 263.2171)\"><line x1=\"7.6535\" y1=\"10.4882\" x2=\"10.4882\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"7.6535\" y1=\"10.4882\" x2=\"10.4882\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"8.5039\" x2=\"8.5039\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"5.6693\" x2=\"5.6693\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 101.2373, 20.2475)\"><line x1=\"13.3228\" y1=\"10.4882\" x2=\"4.8189\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"10.4882\" x2=\"4.8189\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"8.5039\" x2=\"2.8346\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"5.6693\" x2=\"0\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 101.2373, 60.7424)\"><line x1=\"7.6535\" y1=\"10.4882\" x2=\"16.1575\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"7.6535\" y1=\"10.4882\" x2=\"16.1575\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"8.5039\" x2=\"14.1732\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"5.6693\" x2=\"11.3386\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 101.2373, 101.2373)\"><line x1=\"10.4882\" y1=\"10.4882\" x2=\"4.8189\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"10.4882\" y1=\"10.4882\" x2=\"4.8189\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"8.5039\" x2=\"2.8346\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"5.6693\" x2=\"0\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 101.2373, 141.7323)\"><line x1=\"16.1575\" y1=\"16.1575\" x2=\"7.6535\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"16.1575\" x2=\"7.6535\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"14.1732\" x2=\"5.6693\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"11.3386\" x2=\"2.8346\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 101.2373, 182.2272)\"><line x1=\"13.3228\" y1=\"4.8189\" x2=\"10.4882\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"4.8189\" x2=\"10.4882\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"2.8346\" x2=\"8.5039\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"0\" x2=\"5.6693\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 101.2373, 222.7222)\"><line x1=\"10.4882\" y1=\"13.3228\" x2=\"7.6535\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"10.4882\" y1=\"13.3228\" x2=\"7.6535\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"11.3386\" x2=\"5.6693\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"8.5039\" x2=\"2.8346\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 101.2373, 263.2171)\"><line x1=\"10.4882\" y1=\"16.1575\" x2=\"16.1575\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"10.4882\" y1=\"16.1575\" x2=\"16.1575\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"14.1732\" x2=\"14.1732\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"11.3386\" x2=\"11.3386\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 20.2475)\"><line x1=\"16.1575\" y1=\"4.8189\" x2=\"16.1575\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"4.8189\" x2=\"16.1575\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"2.8346\" x2=\"14.1732\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"0\" x2=\"11.3386\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 60.7424)\"><line x1=\"4.8189\" y1=\"13.3228\" x2=\"16.1575\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"13.3228\" x2=\"16.1575\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"11.3386\" x2=\"14.1732\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"8.5039\" x2=\"11.3386\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 101.2373)\"><line x1=\"10.4882\" y1=\"4.8189\" x2=\"7.6535\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"10.4882\" y1=\"4.8189\" x2=\"7.6535\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"2.8346\" x2=\"5.6693\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"0\" x2=\"2.8346\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 141.7323)\"><line x1=\"7.6535\" y1=\"16.1575\" x2=\"10.4882\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"7.6535\" y1=\"16.1575\" x2=\"10.4882\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"14.1732\" x2=\"8.5039\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"11.3386\" x2=\"5.6693\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 182.2272)\"><line x1=\"4.8189\" y1=\"16.1575\" x2=\"4.8189\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"16.1575\" x2=\"4.8189\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"14.1732\" x2=\"2.8346\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"11.3386\" x2=\"0\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 222.7222)\"><line x1=\"13.3228\" y1=\"4.8189\" x2=\"16.1575\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"4.8189\" x2=\"16.1575\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"2.8346\" x2=\"14.1732\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"0\" x2=\"11.3386\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 263.2171)\"><line x1=\"16.1575\" y1=\"13.3228\" x2=\"4.8189\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"13.3228\" x2=\"4.8189\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"11.3386\" x2=\"2.8346\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"8.5039\" x2=\"0\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 182.2272, 20.2475)\"><line x1=\"13.3228\" y1=\"16.1575\" x2=\"7.6535\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"16.1575\" x2=\"7.6535\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"14.1732\" x2=\"5.6693\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"11.3386\" x2=\"2.8346\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 182.2272, 60.7424)\"><line x1=\"10.4882\" y1=\"13.3228\" x2=\"7.6535\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"10.4882\" y1=\"13.3228\" x2=\"7.6535\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"11.3386\" x2=\"5.6693\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"8.5039\" x2=\"2.8346\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 182.2272, 101.2373)\"><line x1=\"4.8189\" y1=\"7.6535\" x2=\"4.8189\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"7.6535\" x2=\"4.8189\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"5.6693\" x2=\"2.8346\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"2.8346\" x2=\"0\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 182.2272, 141.7323)\"><line x1=\"4.8189\" y1=\"4.8189\" x2=\"16.1575\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"4.8189\" x2=\"16.1575\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"2.8346\" x2=\"14.1732\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"0\" x2=\"11.3386\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 182.2272, 182.2272)\"><line x1=\"7.6535\" y1=\"4.8189\" x2=\"16.1575\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"7.6535\" y1=\"4.8189\" x2=\"16.1575\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"2.8346\" x2=\"14.1732\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"0\" x2=\"11.3386\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 182.2272, 222.7222)\"><line x1=\"16.1575\" y1=\"10.4882\" x2=\"16.1575\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"10.4882\" x2=\"16.1575\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"8.5039\" x2=\"14.1732\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"5.6693\" x2=\"11.3386\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 182.2272, 263.2171)\"><line x1=\"4.8189\" y1=\"10.4882\" x2=\"4.8189\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"10.4882\" x2=\"4.8189\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"8.5039\" x2=\"2.8346\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"5.6693\" x2=\"0\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 222.7222, 20.2475)\"><line x1=\"16.1575\" y1=\"7.6535\" x2=\"16.1575\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"7.6535\" x2=\"16.1575\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"5.6693\" x2=\"14.1732\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"2.8346\" x2=\"11.3386\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 222.7222, 60.7424)\"><line x1=\"10.4882\" y1=\"7.6535\" x2=\"7.6535\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"10.4882\" y1=\"7.6535\" x2=\"7.6535\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"5.6693\" x2=\"5.6693\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"2.8346\" x2=\"2.8346\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 222.7222, 101.2373)\"><line x1=\"13.3228\" y1=\"13.3228\" x2=\"13.3228\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"13.3228\" x2=\"13.3228\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"11.3386\" x2=\"11.3386\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"8.5039\" x2=\"8.5039\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 222.7222, 141.7323)\"><line x1=\"4.8189\" y1=\"13.3228\" x2=\"13.3228\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"13.3228\" x2=\"13.3228\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"11.3386\" x2=\"11.3386\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"8.5039\" x2=\"8.5039\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 222.7222, 182.2272)\"><line x1=\"4.8189\" y1=\"10.4882\" x2=\"16.1575\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"10.4882\" x2=\"16.1575\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"8.5039\" x2=\"14.1732\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"5.6693\" x2=\"11.3386\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 222.7222, 222.7222)\"><line x1=\"16.1575\" y1=\"10.4882\" x2=\"13.3228\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"10.4882\" x2=\"13.3228\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"8.5039\" x2=\"11.3386\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"5.6693\" x2=\"8.5039\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 222.7222, 263.2171)\"><line x1=\"4.8189\" y1=\"16.1575\" x2=\"13.3228\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"16.1575\" x2=\"13.3228\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"14.1732\" x2=\"11.3386\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"11.3386\" x2=\"8.5039\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 263.2171, 20.2475)\"><line x1=\"7.6535\" y1=\"16.1575\" x2=\"13.3228\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"7.6535\" y1=\"16.1575\" x2=\"13.3228\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"14.1732\" x2=\"11.3386\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"11.3386\" x2=\"8.5039\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 263.2171, 60.7424)\"><line x1=\"10.4882\" y1=\"16.1575\" x2=\"13.3228\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"10.4882\" y1=\"16.1575\" x2=\"13.3228\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"14.1732\" x2=\"11.3386\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"11.3386\" x2=\"8.5039\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 263.2171, 101.2373)\"><line x1=\"13.3228\" y1=\"7.6535\" x2=\"10.4882\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"7.6535\" x2=\"10.4882\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"5.6693\" x2=\"8.5039\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"2.8346\" x2=\"5.6693\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 263.2171, 141.7323)\"><line x1=\"7.6535\" y1=\"4.8189\" x2=\"10.4882\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"7.6535\" y1=\"4.8189\" x2=\"10.4882\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"2.8346\" x2=\"8.5039\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"0\" x2=\"5.6693\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 263.2171, 182.2272)\"><line x1=\"16.1575\" y1=\"7.6535\" x2=\"13.3228\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"7.6535\" x2=\"13.3228\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"5.6693\" x2=\"11.3386\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"2.8346\" x2=\"8.5039\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 263.2171, 222.7222)\"><line x1=\"16.1575\" y1=\"16.1575\" x2=\"16.1575\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"16.1575\" x2=\"16.1575\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"14.1732\" x2=\"14.1732\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"11.3386\" x2=\"11.3386\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 263.2171, 263.2171)\"><line x1=\"4.8189\" y1=\"7.6535\" x2=\"10.4882\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"7.6535\" x2=\"10.4882\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"5.6693\" x2=\"8.5039\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"2.8346\" x2=\"5.6693\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"</svg>"
],
"text/plain": [
"<IPython.core.display.SVG object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"width = 100\n",
"height = 100\n",
"d = document(width, height, 'mm')\n",
"page = d.addpage()\n",
"\n",
"brush = shape().stroke(rgb(255, 68, 0)).width(1)\n",
"shadowbrush = shape().stroke(rgb(255, 162, 218)).width(20)\n",
"grid_size = 7\n",
"# size of a single rectangle in the grid\n",
"cell_size_x = width / grid_size\n",
"cell_size_y = height / grid_size\n",
"for i in range(grid_size):\n",
" for j in range(grid_size):\n",
" scale_val = (width / grid_size) *0.5\n",
" x = i * cell_size_x + (cell_size_x * 0.5) # add 1/2 cell size to offset glyph center\n",
" y = j * cell_size_y + (cell_size_y * 0.5)\n",
" glyph = group()\n",
" x1 = random.randrange(5)\n",
" y1 = random.randrange(5)\n",
" x2 = random.randrange(5)\n",
" y2 = random.randrange(5)\n",
" line_obj = brush.line(x1, y1, x2, y2)\n",
" line1_obj = brush.line(x1+ 1, y1 +1, x2 + 1, y2+1)\n",
" line2_obj = brush.line(x1+ 1.7, y1 +1.7, x2 + 1.7, y2+1.7)\n",
" lineshadow_obj = shadowbrush.line(x1 + 1.7 , y1 +1.7, x2 +1.7, y2+1.7)\n",
" #glyph.place(circle).position(random.randrange(1, 10),random.randrange(1, 10))\n",
" glyph.place(lineshadow_obj)\n",
" glyph.place(line2_obj)\n",
" glyph.place(line1_obj) \n",
" glyph.place(line_obj) \n",
" page.place(glyph).position(x,y)\n",
"show(page)"
]
},
{
"cell_type": "code",
"execution_count": 209,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" width=\"283.4646pt\" height=\"283.4646pt\" viewBox=\"0 0 283.4646 283.4646\">\n",
"<title>Untitled</title>\n",
"<g transform=\"matrix(1, 0, 0, 1, 20.2475, 20.2475)\"><line x1=\"7.6535\" y1=\"13.3228\" x2=\"13.3228\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"7.6535\" y1=\"13.3228\" x2=\"13.3228\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"11.3386\" x2=\"11.3386\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"8.5039\" x2=\"8.5039\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 20.2475, 60.7424)\"><line x1=\"4.8189\" y1=\"7.6535\" x2=\"4.8189\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"7.6535\" x2=\"4.8189\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"5.6693\" x2=\"2.8346\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"2.8346\" x2=\"0\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 20.2475, 101.2373)\"><line x1=\"16.1575\" y1=\"16.1575\" x2=\"7.6535\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"16.1575\" x2=\"7.6535\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"14.1732\" x2=\"5.6693\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"11.3386\" x2=\"2.8346\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 20.2475, 141.7323)\"><line x1=\"4.8189\" y1=\"4.8189\" x2=\"13.3228\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"4.8189\" x2=\"13.3228\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"2.8346\" x2=\"11.3386\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"0\" x2=\"8.5039\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 20.2475, 182.2272)\"><line x1=\"7.6535\" y1=\"10.4882\" x2=\"7.6535\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"7.6535\" y1=\"10.4882\" x2=\"7.6535\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"8.5039\" x2=\"5.6693\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"5.6693\" x2=\"2.8346\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 20.2475, 222.7222)\"><line x1=\"10.4882\" y1=\"10.4882\" x2=\"4.8189\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"10.4882\" y1=\"10.4882\" x2=\"4.8189\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"8.5039\" x2=\"2.8346\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"5.6693\" x2=\"0\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 20.2475, 263.2171)\"><line x1=\"10.4882\" y1=\"10.4882\" x2=\"7.6535\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"10.4882\" y1=\"10.4882\" x2=\"7.6535\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"8.5039\" x2=\"5.6693\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"5.6693\" x2=\"2.8346\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 60.7424, 20.2475)\"><line x1=\"10.4882\" y1=\"4.8189\" x2=\"4.8189\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"10.4882\" y1=\"4.8189\" x2=\"4.8189\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"2.8346\" x2=\"2.8346\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"0\" x2=\"0\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 60.7424, 60.7424)\"><line x1=\"4.8189\" y1=\"13.3228\" x2=\"4.8189\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"13.3228\" x2=\"4.8189\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"11.3386\" x2=\"2.8346\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"8.5039\" x2=\"0\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 60.7424, 101.2373)\"><line x1=\"10.4882\" y1=\"13.3228\" x2=\"7.6535\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"10.4882\" y1=\"13.3228\" x2=\"7.6535\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"11.3386\" x2=\"5.6693\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"8.5039\" x2=\"2.8346\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 60.7424, 141.7323)\"><line x1=\"7.6535\" y1=\"13.3228\" x2=\"13.3228\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"7.6535\" y1=\"13.3228\" x2=\"13.3228\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"11.3386\" x2=\"11.3386\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"8.5039\" x2=\"8.5039\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 60.7424, 182.2272)\"><line x1=\"16.1575\" y1=\"13.3228\" x2=\"4.8189\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"13.3228\" x2=\"4.8189\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"11.3386\" x2=\"2.8346\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"8.5039\" x2=\"0\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 60.7424, 222.7222)\"><line x1=\"16.1575\" y1=\"16.1575\" x2=\"7.6535\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"16.1575\" x2=\"7.6535\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"14.1732\" x2=\"5.6693\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"11.3386\" x2=\"2.8346\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 60.7424, 263.2171)\"><line x1=\"10.4882\" y1=\"10.4882\" x2=\"10.4882\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"10.4882\" y1=\"10.4882\" x2=\"10.4882\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"8.5039\" x2=\"8.5039\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"5.6693\" x2=\"5.6693\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 101.2373, 20.2475)\"><line x1=\"13.3228\" y1=\"16.1575\" x2=\"10.4882\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"16.1575\" x2=\"10.4882\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"14.1732\" x2=\"8.5039\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"11.3386\" x2=\"5.6693\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 101.2373, 60.7424)\"><line x1=\"10.4882\" y1=\"4.8189\" x2=\"7.6535\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"10.4882\" y1=\"4.8189\" x2=\"7.6535\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"2.8346\" x2=\"5.6693\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"0\" x2=\"2.8346\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 101.2373, 101.2373)\"><line x1=\"13.3228\" y1=\"16.1575\" x2=\"13.3228\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"16.1575\" x2=\"13.3228\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"14.1732\" x2=\"11.3386\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"11.3386\" x2=\"8.5039\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 101.2373, 141.7323)\"><line x1=\"4.8189\" y1=\"16.1575\" x2=\"13.3228\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"16.1575\" x2=\"13.3228\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"14.1732\" x2=\"11.3386\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"11.3386\" x2=\"8.5039\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 101.2373, 182.2272)\"><line x1=\"7.6535\" y1=\"7.6535\" x2=\"4.8189\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"7.6535\" y1=\"7.6535\" x2=\"4.8189\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"5.6693\" x2=\"2.8346\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"2.8346\" x2=\"0\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 101.2373, 222.7222)\"><line x1=\"7.6535\" y1=\"7.6535\" x2=\"13.3228\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"7.6535\" y1=\"7.6535\" x2=\"13.3228\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"5.6693\" x2=\"11.3386\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"2.8346\" x2=\"8.5039\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 101.2373, 263.2171)\"><line x1=\"4.8189\" y1=\"4.8189\" x2=\"4.8189\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"4.8189\" x2=\"4.8189\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"2.8346\" x2=\"2.8346\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 20.2475)\"><line x1=\"13.3228\" y1=\"10.4882\" x2=\"4.8189\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"10.4882\" x2=\"4.8189\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"8.5039\" x2=\"2.8346\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"5.6693\" x2=\"0\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 60.7424)\"><line x1=\"16.1575\" y1=\"7.6535\" x2=\"16.1575\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"7.6535\" x2=\"16.1575\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"5.6693\" x2=\"14.1732\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"2.8346\" x2=\"11.3386\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 101.2373)\"><line x1=\"16.1575\" y1=\"16.1575\" x2=\"7.6535\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"16.1575\" x2=\"7.6535\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"14.1732\" x2=\"5.6693\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"11.3386\" x2=\"2.8346\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 141.7323)\"><line x1=\"7.6535\" y1=\"10.4882\" x2=\"4.8189\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"7.6535\" y1=\"10.4882\" x2=\"4.8189\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"8.5039\" x2=\"2.8346\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"5.6693\" x2=\"0\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 182.2272)\"><line x1=\"16.1575\" y1=\"10.4882\" x2=\"4.8189\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"10.4882\" x2=\"4.8189\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"8.5039\" x2=\"2.8346\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"5.6693\" x2=\"0\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 222.7222)\"><line x1=\"10.4882\" y1=\"16.1575\" x2=\"16.1575\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"10.4882\" y1=\"16.1575\" x2=\"16.1575\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"14.1732\" x2=\"14.1732\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"11.3386\" x2=\"11.3386\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 263.2171)\"><line x1=\"4.8189\" y1=\"4.8189\" x2=\"10.4882\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"4.8189\" x2=\"10.4882\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"2.8346\" x2=\"8.5039\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"0\" x2=\"5.6693\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 182.2272, 20.2475)\"><line x1=\"13.3228\" y1=\"16.1575\" x2=\"7.6535\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"16.1575\" x2=\"7.6535\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"14.1732\" x2=\"5.6693\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"11.3386\" x2=\"2.8346\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 182.2272, 60.7424)\"><line x1=\"16.1575\" y1=\"7.6535\" x2=\"16.1575\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"7.6535\" x2=\"16.1575\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"5.6693\" x2=\"14.1732\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"2.8346\" x2=\"11.3386\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 182.2272, 101.2373)\"><line x1=\"4.8189\" y1=\"10.4882\" x2=\"4.8189\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"10.4882\" x2=\"4.8189\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"8.5039\" x2=\"2.8346\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"5.6693\" x2=\"0\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 182.2272, 141.7323)\"><line x1=\"13.3228\" y1=\"4.8189\" x2=\"16.1575\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"4.8189\" x2=\"16.1575\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"2.8346\" x2=\"14.1732\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"0\" x2=\"11.3386\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 182.2272, 182.2272)\"><line x1=\"4.8189\" y1=\"4.8189\" x2=\"7.6535\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"4.8189\" x2=\"7.6535\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"2.8346\" x2=\"5.6693\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"0\" x2=\"2.8346\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 182.2272, 222.7222)\"><line x1=\"16.1575\" y1=\"7.6535\" x2=\"16.1575\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"7.6535\" x2=\"16.1575\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"5.6693\" x2=\"14.1732\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"2.8346\" x2=\"11.3386\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 182.2272, 263.2171)\"><line x1=\"7.6535\" y1=\"7.6535\" x2=\"16.1575\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"7.6535\" y1=\"7.6535\" x2=\"16.1575\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"5.6693\" x2=\"14.1732\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"2.8346\" x2=\"11.3386\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 222.7222, 20.2475)\"><line x1=\"4.8189\" y1=\"16.1575\" x2=\"16.1575\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"16.1575\" x2=\"16.1575\" y2=\"4.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"14.1732\" x2=\"14.1732\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"11.3386\" x2=\"11.3386\" y2=\"0\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 222.7222, 60.7424)\"><line x1=\"7.6535\" y1=\"16.1575\" x2=\"7.6535\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"7.6535\" y1=\"16.1575\" x2=\"7.6535\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"14.1732\" x2=\"5.6693\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"11.3386\" x2=\"2.8346\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 222.7222, 101.2373)\"><line x1=\"4.8189\" y1=\"16.1575\" x2=\"4.8189\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"4.8189\" y1=\"16.1575\" x2=\"4.8189\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"14.1732\" x2=\"2.8346\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"0\" y1=\"11.3386\" x2=\"0\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 222.7222, 141.7323)\"><line x1=\"13.3228\" y1=\"7.6535\" x2=\"13.3228\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"7.6535\" x2=\"13.3228\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"5.6693\" x2=\"11.3386\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"2.8346\" x2=\"8.5039\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 222.7222, 182.2272)\"><line x1=\"7.6535\" y1=\"4.8189\" x2=\"13.3228\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"7.6535\" y1=\"4.8189\" x2=\"13.3228\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"2.8346\" x2=\"11.3386\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"0\" x2=\"8.5039\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 222.7222, 222.7222)\"><line x1=\"7.6535\" y1=\"7.6535\" x2=\"16.1575\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"7.6535\" y1=\"7.6535\" x2=\"16.1575\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"5.6693\" x2=\"14.1732\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"2.8346\" x2=\"11.3386\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 222.7222, 263.2171)\"><line x1=\"13.3228\" y1=\"4.8189\" x2=\"16.1575\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"4.8189\" x2=\"16.1575\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"2.8346\" x2=\"14.1732\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"0\" x2=\"11.3386\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 263.2171, 20.2475)\"><line x1=\"16.1575\" y1=\"4.8189\" x2=\"7.6535\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"4.8189\" x2=\"7.6535\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"2.8346\" x2=\"5.6693\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"0\" x2=\"2.8346\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 263.2171, 60.7424)\"><line x1=\"16.1575\" y1=\"7.6535\" x2=\"7.6535\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"16.1575\" y1=\"7.6535\" x2=\"7.6535\" y2=\"7.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"5.6693\" x2=\"5.6693\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"2.8346\" x2=\"2.8346\" y2=\"2.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 263.2171, 101.2373)\"><line x1=\"13.3228\" y1=\"16.1575\" x2=\"13.3228\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"16.1575\" x2=\"13.3228\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"14.1732\" x2=\"11.3386\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"11.3386\" x2=\"8.5039\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 263.2171, 141.7323)\"><line x1=\"10.4882\" y1=\"4.8189\" x2=\"7.6535\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"10.4882\" y1=\"4.8189\" x2=\"7.6535\" y2=\"13.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"2.8346\" x2=\"5.6693\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"0\" x2=\"2.8346\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 263.2171, 182.2272)\"><line x1=\"13.3228\" y1=\"10.4882\" x2=\"10.4882\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"10.4882\" x2=\"10.4882\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"8.5039\" x2=\"8.5039\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"5.6693\" x2=\"5.6693\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 263.2171, 222.7222)\"><line x1=\"13.3228\" y1=\"13.3228\" x2=\"4.8189\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"13.3228\" y1=\"13.3228\" x2=\"4.8189\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"11.3386\" y1=\"11.3386\" x2=\"2.8346\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"8.5039\" x2=\"0\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 263.2171, 263.2171)\"><line x1=\"7.6535\" y1=\"13.3228\" x2=\"7.6535\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"20\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"7.6535\" y1=\"13.3228\" x2=\"7.6535\" y2=\"10.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"11.3386\" x2=\"5.6693\" y2=\"8.5039\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"2.8346\" y1=\"8.5039\" x2=\"2.8346\" y2=\"5.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/></g>\n",
"</svg>"
],
"text/plain": [
"<IPython.core.display.SVG object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"width = 100\n",
"height = 100\n",
"d = document(width, height, 'mm')\n",
"page = d.addpage()\n",
"\n",
"brush = shape().stroke(rgb(255, 68, 0)).width(1)\n",
"shadowbrush = shape().stroke(rgb(255, 162, 218)).width(20)\n",
"grid_size = 7\n",
"# size of a single rectangle in the grid\n",
"cell_size_x = width / grid_size\n",
"cell_size_y = height / grid_size\n",
"for i in range(grid_size):\n",
" for j in range(grid_size):\n",
" scale_val = (width / grid_size) *0.5\n",
" x = i * cell_size_x + (cell_size_x * 0.5) # add 1/2 cell size to offset glyph center\n",
" y = j * cell_size_y + (cell_size_y * 0.5)\n",
" glyph = group()\n",
" x1 = random.randrange(5)\n",
" y1 = random.randrange(5)\n",
" x2 = random.randrange(5)\n",
" y2 = random.randrange(5)\n",
" line_obj = brush.line(x1, y1, x2, y2)\n",
" line1_obj = brush.line(x1+ 1, y1 +1, x2 + 1, y2+1)\n",
" line2_obj = brush.line(x1+ 1.7, y1 +1.7, x2 + 1.7, y2+1.7)\n",
" lineshadow_obj = shadowbrush.line(x1 + 1.7 , y1 +1.7, x2 +1.7, y2+1.7)\n",
" #glyph.place(circle).position(random.randrange(1, 10),random.randrange(1, 10))\n",
" glyph.place(lineshadow_obj)\n",
" glyph.place(line2_obj)\n",
" glyph.place(line1_obj) \n",
" glyph.place(line_obj) \n",
" page.place(glyph).position(x,y)\n",
"show(page)"
]
},
{
"cell_type": "code",
"execution_count": 383,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<flat.shape.shape at 0x7fb4abcd4e20>"
]
},
"execution_count": 383,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"figure = shape()\n",
"figure.fill(rgb(255, 162, 218))\n",
"figure.nostroke()"
]
},
{
"cell_type": "code",
"execution_count": 384,
"metadata": {},
"outputs": [],
"source": [
"rect = figure.rectangle(5, 5, 90, 90)"
]
},
{
"cell_type": "code",
"execution_count": 385,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" width=\"226.7717pt\" height=\"85.0394pt\" viewBox=\"0 0 226.7717 85.0394\">\n",
"<title>Untitled</title>\n",
"<rect x=\"14.1732\" y=\"14.1732\" width=\"255.1181\" height=\"255.1181\" fill=\"rgb(255,162,218)\"/>\n",
"<g transform=\"matrix(1, 0, 0, 1, 56.6929, 36.1417)\"><line x1=\"22.6772\" y1=\"11.3386\" x2=\"39.685\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"40\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"25.5118\" y1=\"31.1811\" x2=\"34.0157\" y2=\"42.5197\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"24.0945\" y1=\"13.3228\" x2=\"41.6693\" y2=\"16.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"22.6772\" y1=\"11.3386\" x2=\"39.685\" y2=\"14.1732\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"19.8425\" y1=\"8.5039\" x2=\"36.8504\" y2=\"11.3386\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 85.0394, 36.1417)\"><line x1=\"17.0079\" y1=\"25.5118\" x2=\"17.0079\" y2=\"34.0157\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"40\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"25.5118\" y1=\"31.1811\" x2=\"34.0157\" y2=\"42.5197\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"18.4252\" y1=\"27.4961\" x2=\"18.9921\" y2=\"36\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"17.0079\" y1=\"25.5118\" x2=\"17.0079\" y2=\"34.0157\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"14.1732\" y1=\"22.6772\" x2=\"14.1732\" y2=\"31.1811\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 113.3858, 36.1417)\"><line x1=\"28.3465\" y1=\"22.6772\" x2=\"28.3465\" y2=\"34.0157\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"40\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"25.5118\" y1=\"31.1811\" x2=\"34.0157\" y2=\"42.5197\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"29.7638\" y1=\"24.6614\" x2=\"30.3307\" y2=\"36\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"28.3465\" y1=\"22.6772\" x2=\"28.3465\" y2=\"34.0157\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"25.5118\" y1=\"19.8425\" x2=\"25.5118\" y2=\"31.1811\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/></g>\n",
"<g transform=\"matrix(1, 0, 0, 1, 141.7323, 36.1417)\"><line x1=\"8.5039\" y1=\"2.8346\" x2=\"22.6772\" y2=\"34.0157\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"40\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"25.5118\" y1=\"31.1811\" x2=\"34.0157\" y2=\"42.5197\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"9.9213\" y1=\"4.8189\" x2=\"24.6614\" y2=\"36\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"8.5039\" y1=\"2.8346\" x2=\"22.6772\" y2=\"34.0157\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<line x1=\"5.6693\" y1=\"0\" x2=\"19.8425\" y2=\"31.1811\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/></g>\n",
"</svg>"
],
"text/plain": [
"<IPython.core.display.SVG object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"width = 80\n",
"height = 30\n",
"d = document(width, height, 'mm')\n",
"page = d.addpage()\n",
"page.place(rect) \n",
"grid_size = 4\n",
"# size of a single rectangle in the grid\n",
"cell_size_x = width / grid_size -10\n",
"cell_size_y = height / grid_size \n",
"for i in range(grid_size):\n",
" for j in range(1):\n",
" scale_val = (width / grid_size) *1\n",
" x = i * cell_size_x + (cell_size_x * 2) # add 1/2 cell size to offset glyph center\n",
" y = j * cell_size_y + (cell_size_y * 1.7)\n",
" glyph = group()\n",
" x1 = random.randrange(15)\n",
" y1 = random.randrange(15)\n",
" x2 = random.randrange(15)\n",
" y2 = random.randrange(15)\n",
" line_obj = brush.line(x1, y1, x2, y2)\n",
" line_obj = brush.line(x1, y1, x2, y2)\n",
" line1_obj = brush.line(x1+ 1, y1 +1, x2 + 1, y2+1)\n",
" line2_obj = brush.line(x1+ 1.5, y1 +1.7, x2 + 1.7, y2+1.7)\n",
" lineshadow_obj = shadowbrush.line(x1 + 1 , y1 +1, x2 +1, y2+1)\n",
" glyph.place(lineshadow_obj)\n",
" glyph.place(line3_obj)\n",
" glyph.place(line2_obj)\n",
" glyph.place(line1_obj) \n",
" glyph.place(line_obj) \n",
" page.place(glyph).position(x,y)\n",
"show(page)"
]
},
{
"cell_type": "code",
"execution_count": 386,
"metadata": {},
"outputs": [],
"source": [
"from bezmerizing import Polyline"
]
},
{
"cell_type": "code",
"execution_count": 387,
"metadata": {},
"outputs": [],
"source": [
"pline = Polyline([[3, 2], [3, 10], [5, 13],[5, 2], [7, 2],[7, 12],[9, 12]])"
]
},
{
"cell_type": "code",
"execution_count": 388,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" width=\"226.7717pt\" height=\"226.7717pt\" viewBox=\"0 0 226.7717 226.7717\">\n",
"<title>Untitled</title>\n",
"<line x1=\"2.8346\" y1=\"11.3386\" x2=\"2.8346\" y2=\"28.3465\" fill=\"none\" stroke=\"rgb(255,162,218)\" stroke-width=\"10\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"8.5039 5.6693 8.5039 28.3465 14.1732 36.8504 14.1732 5.6693 19.8425 5.6693 19.8425 34.0157 25.5118 34.0157\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"</svg>"
],
"text/plain": [
"<IPython.core.display.SVG object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"d = document(80, 80, 'mm')\n",
"page = d.addpage()\n",
"brush = shape().stroke(rgb(255, 68, 0)).width(2)\n",
"shadowbrush = shape().stroke(rgb(255, 162, 218)).width(10)\n",
"lineshadow_obj = shadowbrush.line(1 , 4, 1, 10)\n",
"pline_obj = brush.polyline(pline)\n",
"page.place(lineshadow_obj)\n",
"page.place(pline_obj)\n",
"\n",
"\n",
"show(page)"
]
},
{
"cell_type": "code",
"execution_count": 389,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Polyline([[3.0000, 2.0000], [3.0000, 10.0000], [5.0000, 13.0000], [5.0000, 2.0000], [7.0000, 2.0000], [7.0000, 12.0000], [9.0000, 12.0000]])\n",
"Polyline([[-0.0620, 3.6050], [-6.7938, 7.9274], [-8.2376, 11.2313], [1.0186, 5.2880], [2.0992, 6.9709], [-6.3155, 12.3739], [-5.2349, 14.0569]])\n"
]
}
],
"source": [
"print(pline)\n",
"print(pline.rotate(-1))"
]
},
{
"cell_type": "code",
"execution_count": 390,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" width=\"510.2362pt\" height=\"368.5039pt\" viewBox=\"0 0 510.2362 368.5039\">\n",
"<title>Untitled</title>\n",
"<polyline points=\"-1.4173 26.2205 -1.4173 3.5433 -7.0866 -4.9606 -7.0866 26.2205 -12.7559 26.2205 -12.7559 -2.126 -18.4252 -2.126\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 101.3386 15.5906 124.0157 21.2598 132.5197 21.2598 101.3386 26.9291 101.3386 26.9291 129.685 32.5984 129.685\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"-1.4173 153.7795 -1.4173 131.1024 -7.0866 122.5984 -7.0866 153.7795 -12.7559 153.7795 -12.7559 125.4331 -18.4252 125.4331\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"-1.4173 217.5591 -1.4173 194.8819 -7.0866 186.378 -7.0866 217.5591 -12.7559 217.5591 -12.7559 189.2126 -18.4252 189.2126\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"-1.4173 281.3386 -1.4173 258.6614 -7.0866 250.1575 -7.0866 281.3386 -12.7559 281.3386 -12.7559 252.9921 -18.4252 252.9921\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 356.4567 15.5906 379.1339 21.2598 387.6378 21.2598 356.4567 26.9291 356.4567 26.9291 384.8031 32.5984 384.8031\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 420.2362 15.5906 442.9134 21.2598 451.4173 21.2598 420.2362 26.9291 420.2362 26.9291 448.5827 32.5984 448.5827\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 484.0157 15.5906 506.6929 21.2598 515.1969 21.2598 484.0157 26.9291 484.0157 26.9291 512.3622 32.5984 512.3622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"-1.4173 536.4567 -1.4173 513.7795 -7.0866 505.2756 -7.0866 536.4567 -12.7559 536.4567 -12.7559 508.1102 -18.4252 508.1102\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"-1.4173 600.2362 -1.4173 577.5591 -7.0866 569.0551 -7.0866 600.2362 -12.7559 600.2362 -12.7559 571.8898 -18.4252 571.8898\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"-1.4173 664.0157 -1.4173 641.3386 -7.0866 632.8346 -7.0866 664.0157 -12.7559 664.0157 -12.7559 635.6693 -18.4252 635.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"-1.4173 727.7953 -1.4173 705.1181 -7.0866 696.6142 -7.0866 727.7953 -12.7559 727.7953 -12.7559 699.4488 -18.4252 699.4488\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"-1.4173 791.5748 -1.4173 768.8976 -7.0866 760.3937 -7.0866 791.5748 -12.7559 791.5748 -12.7559 763.2283 -18.4252 763.2283\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 866.6929 15.5906 889.3701 21.2598 897.874 21.2598 866.6929 26.9291 866.6929 26.9291 895.0394 32.5984 895.0394\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 930.4724 15.5906 953.1496 21.2598 961.6535 21.2598 930.4724 26.9291 930.4724 26.9291 958.8189 32.5984 958.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 994.252 15.5906 1016.9291 21.2598 1025.4331 21.2598 994.252 26.9291 994.252 26.9291 1022.5984 32.5984 1022.5984\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"-1.4173 1046.6929 -1.4173 1024.0157 -7.0866 1015.5118 -7.0866 1046.6929 -12.7559 1046.6929 -12.7559 1018.3465 -18.4252 1018.3465\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 1121.811 15.5906 1144.4882 21.2598 1152.9921 21.2598 1121.811 26.9291 1121.811 26.9291 1150.1575 32.5984 1150.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"-1.4173 1174.252 -1.4173 1151.5748 -7.0866 1143.0709 -7.0866 1174.252 -12.7559 1174.252 -12.7559 1145.9055 -18.4252 1145.9055\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 1249.3701 15.5906 1272.0472 21.2598 1280.5512 21.2598 1249.3701 26.9291 1249.3701 26.9291 1277.7165 32.5984 1277.7165\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 37.5591 29.7638 60.2362 35.4331 68.7402 35.4331 37.5591 41.1024 37.5591 41.1024 65.9055 46.7717 65.9055\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 90 12.7559 67.3228 7.0866 58.8189 7.0866 90 1.4173 90 1.4173 61.6535 -4.252 61.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 165.1181 29.7638 187.7953 35.4331 196.2992 35.4331 165.1181 41.1024 165.1181 41.1024 193.4646 46.7717 193.4646\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 228.8976 29.7638 251.5748 35.4331 260.0787 35.4331 228.8976 41.1024 228.8976 41.1024 257.2441 46.7717 257.2441\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 292.6772 29.7638 315.3543 35.4331 323.8583 35.4331 292.6772 41.1024 292.6772 41.1024 321.0236 46.7717 321.0236\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 356.4567 29.7638 379.1339 35.4331 387.6378 35.4331 356.4567 41.1024 356.4567 41.1024 384.8031 46.7717 384.8031\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 408.8976 12.7559 386.2205 7.0866 377.7165 7.0866 408.8976 1.4173 408.8976 1.4173 380.5512 -4.252 380.5512\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 484.0157 29.7638 506.6929 35.4331 515.1969 35.4331 484.0157 41.1024 484.0157 41.1024 512.3622 46.7717 512.3622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 536.4567 12.7559 513.7795 7.0866 505.2756 7.0866 536.4567 1.4173 536.4567 1.4173 508.1102 -4.252 508.1102\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 600.2362 12.7559 577.5591 7.0866 569.0551 7.0866 600.2362 1.4173 600.2362 1.4173 571.8898 -4.252 571.8898\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 675.3543 29.7638 698.0315 35.4331 706.5354 35.4331 675.3543 41.1024 675.3543 41.1024 703.7008 46.7717 703.7008\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 727.7953 12.7559 705.1181 7.0866 696.6142 7.0866 727.7953 1.4173 727.7953 1.4173 699.4488 -4.252 699.4488\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 802.9134 29.7638 825.5906 35.4331 834.0945 35.4331 802.9134 41.1024 802.9134 41.1024 831.2598 46.7717 831.2598\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 866.6929 29.7638 889.3701 35.4331 897.874 35.4331 866.6929 41.1024 866.6929 41.1024 895.0394 46.7717 895.0394\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 919.1339 12.7559 896.4567 7.0866 887.9528 7.0866 919.1339 1.4173 919.1339 1.4173 890.7874 -4.252 890.7874\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 994.252 29.7638 1016.9291 35.4331 1025.4331 35.4331 994.252 41.1024 994.252 41.1024 1022.5984 46.7717 1022.5984\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 1046.6929 12.7559 1024.0157 7.0866 1015.5118 7.0866 1046.6929 1.4173 1046.6929 1.4173 1018.3465 -4.252 1018.3465\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 1121.811 29.7638 1144.4882 35.4331 1152.9921 35.4331 1121.811 41.1024 1121.811 41.1024 1150.1575 46.7717 1150.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 1174.252 12.7559 1151.5748 7.0866 1143.0709 7.0866 1174.252 1.4173 1174.252 1.4173 1145.9055 -4.252 1145.9055\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 1238.0315 12.7559 1215.3543 7.0866 1206.8504 7.0866 1238.0315 1.4173 1238.0315 1.4173 1209.685 -4.252 1209.685\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 26.2205 26.9291 3.5433 21.2598 -4.9606 21.2598 26.2205 15.5906 26.2205 15.5906 -2.126 9.9213 -2.126\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 90 26.9291 67.3228 21.2598 58.8189 21.2598 90 15.5906 90 15.5906 61.6535 9.9213 61.6535\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 153.7795 26.9291 131.1024 21.2598 122.5984 21.2598 153.7795 15.5906 153.7795 15.5906 125.4331 9.9213 125.4331\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 228.8976 43.937 251.5748 49.6063 260.0787 49.6063 228.8976 55.2756 228.8976 55.2756 257.2441 60.9449 257.2441\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 292.6772 43.937 315.3543 49.6063 323.8583 49.6063 292.6772 55.2756 292.6772 55.2756 321.0236 60.9449 321.0236\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 356.4567 43.937 379.1339 49.6063 387.6378 49.6063 356.4567 55.2756 356.4567 55.2756 384.8031 60.9449 384.8031\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 420.2362 43.937 442.9134 49.6063 451.4173 49.6063 420.2362 55.2756 420.2362 55.2756 448.5827 60.9449 448.5827\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 472.6772 26.9291 450 21.2598 441.4961 21.2598 472.6772 15.5906 472.6772 15.5906 444.3307 9.9213 444.3307\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 536.4567 26.9291 513.7795 21.2598 505.2756 21.2598 536.4567 15.5906 536.4567 15.5906 508.1102 9.9213 508.1102\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 600.2362 26.9291 577.5591 21.2598 569.0551 21.2598 600.2362 15.5906 600.2362 15.5906 571.8898 9.9213 571.8898\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 675.3543 43.937 698.0315 49.6063 706.5354 49.6063 675.3543 55.2756 675.3543 55.2756 703.7008 60.9449 703.7008\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 739.1339 43.937 761.811 49.6063 770.315 49.6063 739.1339 55.2756 739.1339 55.2756 767.4803 60.9449 767.4803\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 802.9134 43.937 825.5906 49.6063 834.0945 49.6063 802.9134 55.2756 802.9134 55.2756 831.2598 60.9449 831.2598\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 866.6929 43.937 889.3701 49.6063 897.874 49.6063 866.6929 55.2756 866.6929 55.2756 895.0394 60.9449 895.0394\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 930.4724 43.937 953.1496 49.6063 961.6535 49.6063 930.4724 55.2756 930.4724 55.2756 958.8189 60.9449 958.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 982.9134 26.9291 960.2362 21.2598 951.7323 21.2598 982.9134 15.5906 982.9134 15.5906 954.5669 9.9213 954.5669\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 1046.6929 26.9291 1024.0157 21.2598 1015.5118 21.2598 1046.6929 15.5906 1046.6929 15.5906 1018.3465 9.9213 1018.3465\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 1121.811 43.937 1144.4882 49.6063 1152.9921 49.6063 1121.811 55.2756 1121.811 55.2756 1150.1575 60.9449 1150.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 1174.252 26.9291 1151.5748 21.2598 1143.0709 21.2598 1174.252 15.5906 1174.252 15.5906 1145.9055 9.9213 1145.9055\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 1238.0315 26.9291 1215.3543 21.2598 1206.8504 21.2598 1238.0315 15.5906 1238.0315 15.5906 1209.685 9.9213 1209.685\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 37.5591 58.1102 60.2362 63.7795 68.7402 63.7795 37.5591 69.4488 37.5591 69.4488 65.9055 75.1181 65.9055\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 101.3386 58.1102 124.0157 63.7795 132.5197 63.7795 101.3386 69.4488 101.3386 69.4488 129.685 75.1181 129.685\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 165.1181 58.1102 187.7953 63.7795 196.2992 63.7795 165.1181 69.4488 165.1181 69.4488 193.4646 75.1181 193.4646\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 217.5591 41.1024 194.8819 35.4331 186.378 35.4331 217.5591 29.7638 217.5591 29.7638 189.2126 24.0945 189.2126\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 292.6772 58.1102 315.3543 63.7795 323.8583 63.7795 292.6772 69.4488 292.6772 69.4488 321.0236 75.1181 321.0236\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 356.4567 58.1102 379.1339 63.7795 387.6378 63.7795 356.4567 69.4488 356.4567 69.4488 384.8031 75.1181 384.8031\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 420.2362 58.1102 442.9134 63.7795 451.4173 63.7795 420.2362 69.4488 420.2362 69.4488 448.5827 75.1181 448.5827\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 484.0157 58.1102 506.6929 63.7795 515.1969 63.7795 484.0157 69.4488 484.0157 69.4488 512.3622 75.1181 512.3622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 536.4567 41.1024 513.7795 35.4331 505.2756 35.4331 536.4567 29.7638 536.4567 29.7638 508.1102 24.0945 508.1102\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 600.2362 41.1024 577.5591 35.4331 569.0551 35.4331 600.2362 29.7638 600.2362 29.7638 571.8898 24.0945 571.8898\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 664.0157 41.1024 641.3386 35.4331 632.8346 35.4331 664.0157 29.7638 664.0157 29.7638 635.6693 24.0945 635.6693\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 727.7953 41.1024 705.1181 35.4331 696.6142 35.4331 727.7953 29.7638 727.7953 29.7638 699.4488 24.0945 699.4488\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 791.5748 41.1024 768.8976 35.4331 760.3937 35.4331 791.5748 29.7638 791.5748 29.7638 763.2283 24.0945 763.2283\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 866.6929 58.1102 889.3701 63.7795 897.874 63.7795 866.6929 69.4488 866.6929 69.4488 895.0394 75.1181 895.0394\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 930.4724 58.1102 953.1496 63.7795 961.6535 63.7795 930.4724 69.4488 930.4724 69.4488 958.8189 75.1181 958.8189\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 994.252 58.1102 1016.9291 63.7795 1025.4331 63.7795 994.252 69.4488 994.252 69.4488 1022.5984 75.1181 1022.5984\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 1046.6929 41.1024 1024.0157 35.4331 1015.5118 35.4331 1046.6929 29.7638 1046.6929 29.7638 1018.3465 24.0945 1018.3465\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 1121.811 58.1102 1144.4882 63.7795 1152.9921 63.7795 1121.811 69.4488 1121.811 69.4488 1150.1575 75.1181 1150.1575\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 1185.5906 58.1102 1208.2677 63.7795 1216.7717 63.7795 1185.5906 69.4488 1185.5906 69.4488 1213.937 75.1181 1213.937\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 1249.3701 58.1102 1272.0472 63.7795 1280.5512 63.7795 1249.3701 69.4488 1249.3701 69.4488 1277.7165 75.1181 1277.7165\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"</svg>"
],
"text/plain": [
"<IPython.core.display.SVG object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"width = 180\n",
"height = 130\n",
"d = document(width, height, 'mm')\n",
"page = d.addpage() \n",
"grid_size = 4\n",
"brush = shape().stroke(rgb(255, 68, 0)).width(2)\n",
"shadowbrush = shape().stroke(rgb(255, 162, 218)).width(40)\n",
"lineshadow_obj = shadowbrush.line(1 , 10, 1, 40)\n",
"\n",
"# size of a single rectangle in the grid\n",
"\n",
"cell_size_x = width / grid_size -40\n",
"cell_size_y = height / grid_size-10 \n",
"for i in range(grid_size):\n",
" for j in range(20):\n",
" scale_val = (width / grid_size) *1\n",
" x = i * cell_size_x + (cell_size_x * 0.5) # add 1/2 cell size to offset glyph center\n",
" y = j * cell_size_y + (cell_size_y * 0.5)\n",
" page.place(brush.polyline(pline.rotate(np.pi * random.randrange(15)))).position(x,y)\n",
" #page.place(lineshadow_obj).position(x,y)\n",
" #page.place(pline_obj).position(x,y)\n",
"show(page)"
]
},
{
"cell_type": "code",
"execution_count": 406,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" width=\"510.2362pt\" height=\"368.5039pt\" viewBox=\"0 0 510.2362 368.5039\">\n",
"<title>Untitled</title>\n",
"<polyline points=\"15.5906 23.3858 15.5906 46.063 21.2598 54.5669 21.2598 23.3858 26.9291 23.3858 26.9291 51.7323 32.5984 51.7323\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 23.3858 15.5906 46.063 21.2598 54.5669 21.2598 23.3858 26.9291 23.3858 26.9291 51.7323 32.5984 51.7323\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 58.8189 15.5906 81.4961 21.2598 90 21.2598 58.8189 26.9291 58.8189 26.9291 87.1654 32.5984 87.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 58.8189 15.5906 81.4961 21.2598 90 21.2598 58.8189 26.9291 58.8189 26.9291 87.1654 32.5984 87.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 94.252 15.5906 116.9291 21.2598 125.4331 21.2598 94.252 26.9291 94.252 26.9291 122.5984 32.5984 122.5984\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 94.252 15.5906 116.9291 21.2598 125.4331 21.2598 94.252 26.9291 94.252 26.9291 122.5984 32.5984 122.5984\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 129.685 15.5906 152.3622 21.2598 160.8661 21.2598 129.685 26.9291 129.685 26.9291 158.0315 32.5984 158.0315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 129.685 15.5906 152.3622 21.2598 160.8661 21.2598 129.685 26.9291 129.685 26.9291 158.0315 32.5984 158.0315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 165.1181 15.5906 187.7953 21.2598 196.2992 21.2598 165.1181 26.9291 165.1181 26.9291 193.4646 32.5984 193.4646\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 165.1181 15.5906 187.7953 21.2598 196.2992 21.2598 165.1181 26.9291 165.1181 26.9291 193.4646 32.5984 193.4646\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 200.5512 15.5906 223.2283 21.2598 231.7323 21.2598 200.5512 26.9291 200.5512 26.9291 228.8976 32.5984 228.8976\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 200.5512 15.5906 223.2283 21.2598 231.7323 21.2598 200.5512 26.9291 200.5512 26.9291 228.8976 32.5984 228.8976\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 235.9843 15.5906 258.6614 21.2598 267.1654 21.2598 235.9843 26.9291 235.9843 26.9291 264.3307 32.5984 264.3307\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 235.9843 15.5906 258.6614 21.2598 267.1654 21.2598 235.9843 26.9291 235.9843 26.9291 264.3307 32.5984 264.3307\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"-1.4173 260.0787 -1.4173 237.4016 -7.0866 228.8976 -7.0866 260.0787 -12.7559 260.0787 -12.7559 231.7323 -18.4252 231.7323\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 271.4173 15.5906 294.0945 21.2598 302.5984 21.2598 271.4173 26.9291 271.4173 26.9291 299.7638 32.5984 299.7638\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"-1.4173 295.5118 -1.4173 272.8346 -7.0866 264.3307 -7.0866 295.5118 -12.7559 295.5118 -12.7559 267.1654 -18.4252 267.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 306.8504 15.5906 329.5276 21.2598 338.0315 21.2598 306.8504 26.9291 306.8504 26.9291 335.1969 32.5984 335.1969\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"-1.4173 330.9449 -1.4173 308.2677 -7.0866 299.7638 -7.0866 330.9449 -12.7559 330.9449 -12.7559 302.5984 -18.4252 302.5984\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 342.2835 15.5906 364.9606 21.2598 373.4646 21.2598 342.2835 26.9291 342.2835 26.9291 370.6299 32.5984 370.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"-1.4173 366.378 -1.4173 343.7008 -7.0866 335.1969 -7.0866 366.378 -12.7559 366.378 -12.7559 338.0315 -18.4252 338.0315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 377.7165 15.5906 400.3937 21.2598 408.8976 21.2598 377.7165 26.9291 377.7165 26.9291 406.063 32.5984 406.063\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 413.1496 15.5906 435.8268 21.2598 444.3307 21.2598 413.1496 26.9291 413.1496 26.9291 441.4961 32.5984 441.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 413.1496 15.5906 435.8268 21.2598 444.3307 21.2598 413.1496 26.9291 413.1496 26.9291 441.4961 32.5984 441.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"-1.4173 437.2441 -1.4173 414.5669 -7.0866 406.063 -7.0866 437.2441 -12.7559 437.2441 -12.7559 408.8976 -18.4252 408.8976\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 448.5827 15.5906 471.2598 21.2598 479.7638 21.2598 448.5827 26.9291 448.5827 26.9291 476.9291 32.5984 476.9291\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 484.0157 15.5906 506.6929 21.2598 515.1969 21.2598 484.0157 26.9291 484.0157 26.9291 512.3622 32.5984 512.3622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 484.0157 15.5906 506.6929 21.2598 515.1969 21.2598 484.0157 26.9291 484.0157 26.9291 512.3622 32.5984 512.3622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 519.4488 15.5906 542.126 21.2598 550.6299 21.2598 519.4488 26.9291 519.4488 26.9291 547.7953 32.5984 547.7953\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 519.4488 15.5906 542.126 21.2598 550.6299 21.2598 519.4488 26.9291 519.4488 26.9291 547.7953 32.5984 547.7953\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"-1.4173 543.5433 -1.4173 520.8661 -7.0866 512.3622 -7.0866 543.5433 -12.7559 543.5433 -12.7559 515.1969 -18.4252 515.1969\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 554.8819 15.5906 577.5591 21.2598 586.063 21.2598 554.8819 26.9291 554.8819 26.9291 583.2283 32.5984 583.2283\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"-1.4173 578.9764 -1.4173 556.2992 -7.0866 547.7953 -7.0866 578.9764 -12.7559 578.9764 -12.7559 550.6299 -18.4252 550.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 590.315 15.5906 612.9921 21.2598 621.4961 21.2598 590.315 26.9291 590.315 26.9291 618.6614 32.5984 618.6614\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 625.748 15.5906 648.4252 21.2598 656.9291 21.2598 625.748 26.9291 625.748 26.9291 654.0945 32.5984 654.0945\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 625.748 15.5906 648.4252 21.2598 656.9291 21.2598 625.748 26.9291 625.748 26.9291 654.0945 32.5984 654.0945\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"-1.4173 649.8425 -1.4173 627.1654 -7.0866 618.6614 -7.0866 649.8425 -12.7559 649.8425 -12.7559 621.4961 -18.4252 621.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 661.1811 15.5906 683.8583 21.2598 692.3622 21.2598 661.1811 26.9291 661.1811 26.9291 689.5276 32.5984 689.5276\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 696.6142 15.5906 719.2913 21.2598 727.7953 21.2598 696.6142 26.9291 696.6142 26.9291 724.9606 32.5984 724.9606\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"15.5906 696.6142 15.5906 719.2913 21.2598 727.7953 21.2598 696.6142 26.9291 696.6142 26.9291 724.9606 32.5984 724.9606\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 23.3858 29.7638 46.063 35.4331 54.5669 35.4331 23.3858 41.1024 23.3858 41.1024 51.7323 46.7717 51.7323\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 23.3858 29.7638 46.063 35.4331 54.5669 35.4331 23.3858 41.1024 23.3858 41.1024 51.7323 46.7717 51.7323\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 47.4803 12.7559 24.8031 7.0866 16.2992 7.0866 47.4803 1.4173 47.4803 1.4173 19.1339 -4.252 19.1339\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 58.8189 29.7638 81.4961 35.4331 90 35.4331 58.8189 41.1024 58.8189 41.1024 87.1654 46.7717 87.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 94.252 29.7638 116.9291 35.4331 125.4331 35.4331 94.252 41.1024 94.252 41.1024 122.5984 46.7717 122.5984\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 94.252 29.7638 116.9291 35.4331 125.4331 35.4331 94.252 41.1024 94.252 41.1024 122.5984 46.7717 122.5984\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 129.685 29.7638 152.3622 35.4331 160.8661 35.4331 129.685 41.1024 129.685 41.1024 158.0315 46.7717 158.0315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 129.685 29.7638 152.3622 35.4331 160.8661 35.4331 129.685 41.1024 129.685 41.1024 158.0315 46.7717 158.0315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 153.7795 12.7559 131.1024 7.0866 122.5984 7.0866 153.7795 1.4173 153.7795 1.4173 125.4331 -4.252 125.4331\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 165.1181 29.7638 187.7953 35.4331 196.2992 35.4331 165.1181 41.1024 165.1181 41.1024 193.4646 46.7717 193.4646\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 200.5512 29.7638 223.2283 35.4331 231.7323 35.4331 200.5512 41.1024 200.5512 41.1024 228.8976 46.7717 228.8976\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 200.5512 29.7638 223.2283 35.4331 231.7323 35.4331 200.5512 41.1024 200.5512 41.1024 228.8976 46.7717 228.8976\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 224.6457 12.7559 201.9685 7.0866 193.4646 7.0866 224.6457 1.4173 224.6457 1.4173 196.2992 -4.252 196.2992\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 235.9843 29.7638 258.6614 35.4331 267.1654 35.4331 235.9843 41.1024 235.9843 41.1024 264.3307 46.7717 264.3307\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 271.4173 29.7638 294.0945 35.4331 302.5984 35.4331 271.4173 41.1024 271.4173 41.1024 299.7638 46.7717 299.7638\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 271.4173 29.7638 294.0945 35.4331 302.5984 35.4331 271.4173 41.1024 271.4173 41.1024 299.7638 46.7717 299.7638\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 295.5118 12.7559 272.8346 7.0866 264.3307 7.0866 295.5118 1.4173 295.5118 1.4173 267.1654 -4.252 267.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 306.8504 29.7638 329.5276 35.4331 338.0315 35.4331 306.8504 41.1024 306.8504 41.1024 335.1969 46.7717 335.1969\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 330.9449 12.7559 308.2677 7.0866 299.7638 7.0866 330.9449 1.4173 330.9449 1.4173 302.5984 -4.252 302.5984\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 342.2835 29.7638 364.9606 35.4331 373.4646 35.4331 342.2835 41.1024 342.2835 41.1024 370.6299 46.7717 370.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 366.378 12.7559 343.7008 7.0866 335.1969 7.0866 366.378 1.4173 366.378 1.4173 338.0315 -4.252 338.0315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 377.7165 29.7638 400.3937 35.4331 408.8976 35.4331 377.7165 41.1024 377.7165 41.1024 406.063 46.7717 406.063\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 413.1496 29.7638 435.8268 35.4331 444.3307 35.4331 413.1496 41.1024 413.1496 41.1024 441.4961 46.7717 441.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 413.1496 29.7638 435.8268 35.4331 444.3307 35.4331 413.1496 41.1024 413.1496 41.1024 441.4961 46.7717 441.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 437.2441 12.7559 414.5669 7.0866 406.063 7.0866 437.2441 1.4173 437.2441 1.4173 408.8976 -4.252 408.8976\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 448.5827 29.7638 471.2598 35.4331 479.7638 35.4331 448.5827 41.1024 448.5827 41.1024 476.9291 46.7717 476.9291\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 484.0157 29.7638 506.6929 35.4331 515.1969 35.4331 484.0157 41.1024 484.0157 41.1024 512.3622 46.7717 512.3622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 484.0157 29.7638 506.6929 35.4331 515.1969 35.4331 484.0157 41.1024 484.0157 41.1024 512.3622 46.7717 512.3622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 519.4488 29.7638 542.126 35.4331 550.6299 35.4331 519.4488 41.1024 519.4488 41.1024 547.7953 46.7717 547.7953\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 519.4488 29.7638 542.126 35.4331 550.6299 35.4331 519.4488 41.1024 519.4488 41.1024 547.7953 46.7717 547.7953\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 554.8819 29.7638 577.5591 35.4331 586.063 35.4331 554.8819 41.1024 554.8819 41.1024 583.2283 46.7717 583.2283\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 554.8819 29.7638 577.5591 35.4331 586.063 35.4331 554.8819 41.1024 554.8819 41.1024 583.2283 46.7717 583.2283\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 590.315 29.7638 612.9921 35.4331 621.4961 35.4331 590.315 41.1024 590.315 41.1024 618.6614 46.7717 618.6614\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 590.315 29.7638 612.9921 35.4331 621.4961 35.4331 590.315 41.1024 590.315 41.1024 618.6614 46.7717 618.6614\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 625.748 29.7638 648.4252 35.4331 656.9291 35.4331 625.748 41.1024 625.748 41.1024 654.0945 46.7717 654.0945\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 625.748 29.7638 648.4252 35.4331 656.9291 35.4331 625.748 41.1024 625.748 41.1024 654.0945 46.7717 654.0945\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 649.8425 12.7559 627.1654 7.0866 618.6614 7.0866 649.8425 1.4173 649.8425 1.4173 621.4961 -4.252 621.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 661.1811 29.7638 683.8583 35.4331 692.3622 35.4331 661.1811 41.1024 661.1811 41.1024 689.5276 46.7717 689.5276\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 685.2756 12.7559 662.5984 7.0866 654.0945 7.0866 685.2756 1.4173 685.2756 1.4173 656.9291 -4.252 656.9291\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 696.6142 29.7638 719.2913 35.4331 727.7953 35.4331 696.6142 41.1024 696.6142 41.1024 724.9606 46.7717 724.9606\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 12.0472 26.9291 -10.6299 21.2598 -19.1339 21.2598 12.0472 15.5906 12.0472 15.5906 -16.2992 9.9213 -16.2992\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 23.3858 43.937 46.063 49.6063 54.5669 49.6063 23.3858 55.2756 23.3858 55.2756 51.7323 60.9449 51.7323\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 58.8189 43.937 81.4961 49.6063 90 49.6063 58.8189 55.2756 58.8189 55.2756 87.1654 60.9449 87.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 58.8189 43.937 81.4961 49.6063 90 49.6063 58.8189 55.2756 58.8189 55.2756 87.1654 60.9449 87.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 82.9134 26.9291 60.2362 21.2598 51.7323 21.2598 82.9134 15.5906 82.9134 15.5906 54.5669 9.9213 54.5669\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 94.252 43.937 116.9291 49.6063 125.4331 49.6063 94.252 55.2756 94.252 55.2756 122.5984 60.9449 122.5984\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 129.685 43.937 152.3622 49.6063 160.8661 49.6063 129.685 55.2756 129.685 55.2756 158.0315 60.9449 158.0315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 129.685 43.937 152.3622 49.6063 160.8661 49.6063 129.685 55.2756 129.685 55.2756 158.0315 60.9449 158.0315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 165.1181 43.937 187.7953 49.6063 196.2992 49.6063 165.1181 55.2756 165.1181 55.2756 193.4646 60.9449 193.4646\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 165.1181 43.937 187.7953 49.6063 196.2992 49.6063 165.1181 55.2756 165.1181 55.2756 193.4646 60.9449 193.4646\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 189.2126 26.9291 166.5354 21.2598 158.0315 21.2598 189.2126 15.5906 189.2126 15.5906 160.8661 9.9213 160.8661\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 200.5512 43.937 223.2283 49.6063 231.7323 49.6063 200.5512 55.2756 200.5512 55.2756 228.8976 60.9449 228.8976\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 235.9843 43.937 258.6614 49.6063 267.1654 49.6063 235.9843 55.2756 235.9843 55.2756 264.3307 60.9449 264.3307\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 235.9843 43.937 258.6614 49.6063 267.1654 49.6063 235.9843 55.2756 235.9843 55.2756 264.3307 60.9449 264.3307\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 271.4173 43.937 294.0945 49.6063 302.5984 49.6063 271.4173 55.2756 271.4173 55.2756 299.7638 60.9449 299.7638\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 271.4173 43.937 294.0945 49.6063 302.5984 49.6063 271.4173 55.2756 271.4173 55.2756 299.7638 60.9449 299.7638\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 295.5118 26.9291 272.8346 21.2598 264.3307 21.2598 295.5118 15.5906 295.5118 15.5906 267.1654 9.9213 267.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 306.8504 43.937 329.5276 49.6063 338.0315 49.6063 306.8504 55.2756 306.8504 55.2756 335.1969 60.9449 335.1969\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 342.2835 43.937 364.9606 49.6063 373.4646 49.6063 342.2835 55.2756 342.2835 55.2756 370.6299 60.9449 370.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 342.2835 43.937 364.9606 49.6063 373.4646 49.6063 342.2835 55.2756 342.2835 55.2756 370.6299 60.9449 370.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 377.7165 43.937 400.3937 49.6063 408.8976 49.6063 377.7165 55.2756 377.7165 55.2756 406.063 60.9449 406.063\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 377.7165 43.937 400.3937 49.6063 408.8976 49.6063 377.7165 55.2756 377.7165 55.2756 406.063 60.9449 406.063\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 413.1496 43.937 435.8268 49.6063 444.3307 49.6063 413.1496 55.2756 413.1496 55.2756 441.4961 60.9449 441.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 413.1496 43.937 435.8268 49.6063 444.3307 49.6063 413.1496 55.2756 413.1496 55.2756 441.4961 60.9449 441.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 437.2441 26.9291 414.5669 21.2598 406.063 21.2598 437.2441 15.5906 437.2441 15.5906 408.8976 9.9213 408.8976\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 448.5827 43.937 471.2598 49.6063 479.7638 49.6063 448.5827 55.2756 448.5827 55.2756 476.9291 60.9449 476.9291\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 472.6772 26.9291 450 21.2598 441.4961 21.2598 472.6772 15.5906 472.6772 15.5906 444.3307 9.9213 444.3307\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 484.0157 43.937 506.6929 49.6063 515.1969 49.6063 484.0157 55.2756 484.0157 55.2756 512.3622 60.9449 512.3622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 508.1102 26.9291 485.4331 21.2598 476.9291 21.2598 508.1102 15.5906 508.1102 15.5906 479.7638 9.9213 479.7638\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 519.4488 43.937 542.126 49.6063 550.6299 49.6063 519.4488 55.2756 519.4488 55.2756 547.7953 60.9449 547.7953\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 554.8819 43.937 577.5591 49.6063 586.063 49.6063 554.8819 55.2756 554.8819 55.2756 583.2283 60.9449 583.2283\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 554.8819 43.937 577.5591 49.6063 586.063 49.6063 554.8819 55.2756 554.8819 55.2756 583.2283 60.9449 583.2283\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 578.9764 26.9291 556.2992 21.2598 547.7953 21.2598 578.9764 15.5906 578.9764 15.5906 550.6299 9.9213 550.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 590.315 43.937 612.9921 49.6063 621.4961 49.6063 590.315 55.2756 590.315 55.2756 618.6614 60.9449 618.6614\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 625.748 43.937 648.4252 49.6063 656.9291 49.6063 625.748 55.2756 625.748 55.2756 654.0945 60.9449 654.0945\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 625.748 43.937 648.4252 49.6063 656.9291 49.6063 625.748 55.2756 625.748 55.2756 654.0945 60.9449 654.0945\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 649.8425 26.9291 627.1654 21.2598 618.6614 21.2598 649.8425 15.5906 649.8425 15.5906 621.4961 9.9213 621.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 661.1811 43.937 683.8583 49.6063 692.3622 49.6063 661.1811 55.2756 661.1811 55.2756 689.5276 60.9449 689.5276\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"26.9291 685.2756 26.9291 662.5984 21.2598 654.0945 21.2598 685.2756 15.5906 685.2756 15.5906 656.9291 9.9213 656.9291\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"43.937 696.6142 43.937 719.2913 49.6063 727.7953 49.6063 696.6142 55.2756 696.6142 55.2756 724.9606 60.9449 724.9606\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 23.3858 58.1102 46.063 63.7795 54.5669 63.7795 23.3858 69.4488 23.3858 69.4488 51.7323 75.1181 51.7323\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 23.3858 58.1102 46.063 63.7795 54.5669 63.7795 23.3858 69.4488 23.3858 69.4488 51.7323 75.1181 51.7323\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 47.4803 41.1024 24.8031 35.4331 16.2992 35.4331 47.4803 29.7638 47.4803 29.7638 19.1339 24.0945 19.1339\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 58.8189 58.1102 81.4961 63.7795 90 63.7795 58.8189 69.4488 58.8189 69.4488 87.1654 75.1181 87.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 82.9134 41.1024 60.2362 35.4331 51.7323 35.4331 82.9134 29.7638 82.9134 29.7638 54.5669 24.0945 54.5669\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 94.252 58.1102 116.9291 63.7795 125.4331 63.7795 94.252 69.4488 94.252 69.4488 122.5984 75.1181 122.5984\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 118.3465 41.1024 95.6693 35.4331 87.1654 35.4331 118.3465 29.7638 118.3465 29.7638 90 24.0945 90\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 129.685 58.1102 152.3622 63.7795 160.8661 63.7795 129.685 69.4488 129.685 69.4488 158.0315 75.1181 158.0315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 153.7795 41.1024 131.1024 35.4331 122.5984 35.4331 153.7795 29.7638 153.7795 29.7638 125.4331 24.0945 125.4331\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 165.1181 58.1102 187.7953 63.7795 196.2992 63.7795 165.1181 69.4488 165.1181 69.4488 193.4646 75.1181 193.4646\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 189.2126 41.1024 166.5354 35.4331 158.0315 35.4331 189.2126 29.7638 189.2126 29.7638 160.8661 24.0945 160.8661\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 200.5512 58.1102 223.2283 63.7795 231.7323 63.7795 200.5512 69.4488 200.5512 69.4488 228.8976 75.1181 228.8976\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 235.9843 58.1102 258.6614 63.7795 267.1654 63.7795 235.9843 69.4488 235.9843 69.4488 264.3307 75.1181 264.3307\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 235.9843 58.1102 258.6614 63.7795 267.1654 63.7795 235.9843 69.4488 235.9843 69.4488 264.3307 75.1181 264.3307\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 260.0787 41.1024 237.4016 35.4331 228.8976 35.4331 260.0787 29.7638 260.0787 29.7638 231.7323 24.0945 231.7323\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 271.4173 58.1102 294.0945 63.7795 302.5984 63.7795 271.4173 69.4488 271.4173 69.4488 299.7638 75.1181 299.7638\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 295.5118 41.1024 272.8346 35.4331 264.3307 35.4331 295.5118 29.7638 295.5118 29.7638 267.1654 24.0945 267.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 306.8504 58.1102 329.5276 63.7795 338.0315 63.7795 306.8504 69.4488 306.8504 69.4488 335.1969 75.1181 335.1969\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 342.2835 58.1102 364.9606 63.7795 373.4646 63.7795 342.2835 69.4488 342.2835 69.4488 370.6299 75.1181 370.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 342.2835 58.1102 364.9606 63.7795 373.4646 63.7795 342.2835 69.4488 342.2835 69.4488 370.6299 75.1181 370.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 377.7165 58.1102 400.3937 63.7795 408.8976 63.7795 377.7165 69.4488 377.7165 69.4488 406.063 75.1181 406.063\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 377.7165 58.1102 400.3937 63.7795 408.8976 63.7795 377.7165 69.4488 377.7165 69.4488 406.063 75.1181 406.063\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 413.1496 58.1102 435.8268 63.7795 444.3307 63.7795 413.1496 69.4488 413.1496 69.4488 441.4961 75.1181 441.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 413.1496 58.1102 435.8268 63.7795 444.3307 63.7795 413.1496 69.4488 413.1496 69.4488 441.4961 75.1181 441.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 448.5827 58.1102 471.2598 63.7795 479.7638 63.7795 448.5827 69.4488 448.5827 69.4488 476.9291 75.1181 476.9291\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 448.5827 58.1102 471.2598 63.7795 479.7638 63.7795 448.5827 69.4488 448.5827 69.4488 476.9291 75.1181 476.9291\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 484.0157 58.1102 506.6929 63.7795 515.1969 63.7795 484.0157 69.4488 484.0157 69.4488 512.3622 75.1181 512.3622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 484.0157 58.1102 506.6929 63.7795 515.1969 63.7795 484.0157 69.4488 484.0157 69.4488 512.3622 75.1181 512.3622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 508.1102 41.1024 485.4331 35.4331 476.9291 35.4331 508.1102 29.7638 508.1102 29.7638 479.7638 24.0945 479.7638\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 519.4488 58.1102 542.126 63.7795 550.6299 63.7795 519.4488 69.4488 519.4488 69.4488 547.7953 75.1181 547.7953\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 554.8819 58.1102 577.5591 63.7795 586.063 63.7795 554.8819 69.4488 554.8819 69.4488 583.2283 75.1181 583.2283\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 554.8819 58.1102 577.5591 63.7795 586.063 63.7795 554.8819 69.4488 554.8819 69.4488 583.2283 75.1181 583.2283\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 590.315 58.1102 612.9921 63.7795 621.4961 63.7795 590.315 69.4488 590.315 69.4488 618.6614 75.1181 618.6614\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 590.315 58.1102 612.9921 63.7795 621.4961 63.7795 590.315 69.4488 590.315 69.4488 618.6614 75.1181 618.6614\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 614.4094 41.1024 591.7323 35.4331 583.2283 35.4331 614.4094 29.7638 614.4094 29.7638 586.063 24.0945 586.063\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 625.748 58.1102 648.4252 63.7795 656.9291 63.7795 625.748 69.4488 625.748 69.4488 654.0945 75.1181 654.0945\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 661.1811 58.1102 683.8583 63.7795 692.3622 63.7795 661.1811 69.4488 661.1811 69.4488 689.5276 75.1181 689.5276\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 661.1811 58.1102 683.8583 63.7795 692.3622 63.7795 661.1811 69.4488 661.1811 69.4488 689.5276 75.1181 689.5276\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 696.6142 58.1102 719.2913 63.7795 727.7953 63.7795 696.6142 69.4488 696.6142 69.4488 724.9606 75.1181 724.9606\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 696.6142 58.1102 719.2913 63.7795 727.7953 63.7795 696.6142 69.4488 696.6142 69.4488 724.9606 75.1181 724.9606\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"</svg>"
],
"text/plain": [
"<IPython.core.display.SVG object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"width = 180\n",
"height = 130\n",
"d = document(width, height, 'mm')\n",
"page = d.addpage() \n",
"grid_size =4\n",
"#page.place(rect) \n",
"brush = shape().stroke(rgb(255, 68, 0)).width(2)\n",
"shadowbrush = shape().stroke(rgb(255, 162, 218)).width(40)\n",
"lineshadow_obj = shadowbrush.line(1 , 10, 1, 40)\n",
"\n",
"# size of a single rectangle in the grid\n",
"\n",
"cell_size_x = width / grid_size -40\n",
"cell_size_y = height / grid_size-20 \n",
"for i in range(grid_size):\n",
" for j in range(20):\n",
" scale_val = (width / grid_size) *1\n",
" x = i * cell_size_x + (cell_size_x * 0.5) # add 1/2 cell size to offset glyph center\n",
" y = j * cell_size_y + (cell_size_y * 0.5)\n",
" page.place(brush.polyline(pline.rotate(np.pi * random.randrange(15)))).position(x,y)\n",
" #page.place(lineshadow_obj).position(x,y)\n",
" page.place(pline_obj).position(x,y)\n",
"show(page)"
]
},
{
"cell_type": "code",
"execution_count": 430,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" width=\"510.2362pt\" height=\"368.5039pt\" viewBox=\"0 0 510.2362 368.5039\">\n",
"<title>Untitled</title>\n",
"<polyline points=\"29.7638 23.3858 29.7638 46.063 35.4331 54.5669 35.4331 23.3858 41.1024 23.3858 41.1024 51.7323 46.7717 51.7323\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 23.3858 29.7638 46.063 35.4331 54.5669 35.4331 23.3858 41.1024 23.3858 41.1024 51.7323 46.7717 51.7323\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 47.4803 12.7559 24.8031 7.0866 16.2992 7.0866 47.4803 1.4173 47.4803 1.4173 19.1339 -4.252 19.1339\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 58.8189 29.7638 81.4961 35.4331 90 35.4331 58.8189 41.1024 58.8189 41.1024 87.1654 46.7717 87.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 94.252 29.7638 116.9291 35.4331 125.4331 35.4331 94.252 41.1024 94.252 41.1024 122.5984 46.7717 122.5984\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 94.252 29.7638 116.9291 35.4331 125.4331 35.4331 94.252 41.1024 94.252 41.1024 122.5984 46.7717 122.5984\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 129.685 29.7638 152.3622 35.4331 160.8661 35.4331 129.685 41.1024 129.685 41.1024 158.0315 46.7717 158.0315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 129.685 29.7638 152.3622 35.4331 160.8661 35.4331 129.685 41.1024 129.685 41.1024 158.0315 46.7717 158.0315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 165.1181 29.7638 187.7953 35.4331 196.2992 35.4331 165.1181 41.1024 165.1181 41.1024 193.4646 46.7717 193.4646\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 165.1181 29.7638 187.7953 35.4331 196.2992 35.4331 165.1181 41.1024 165.1181 41.1024 193.4646 46.7717 193.4646\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 189.2126 12.7559 166.5354 7.0866 158.0315 7.0866 189.2126 1.4173 189.2126 1.4173 160.8661 -4.252 160.8661\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 200.5512 29.7638 223.2283 35.4331 231.7323 35.4331 200.5512 41.1024 200.5512 41.1024 228.8976 46.7717 228.8976\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 235.9843 29.7638 258.6614 35.4331 267.1654 35.4331 235.9843 41.1024 235.9843 41.1024 264.3307 46.7717 264.3307\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 235.9843 29.7638 258.6614 35.4331 267.1654 35.4331 235.9843 41.1024 235.9843 41.1024 264.3307 46.7717 264.3307\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 260.0787 12.7559 237.4016 7.0866 228.8976 7.0866 260.0787 1.4173 260.0787 1.4173 231.7323 -4.252 231.7323\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 271.4173 29.7638 294.0945 35.4331 302.5984 35.4331 271.4173 41.1024 271.4173 41.1024 299.7638 46.7717 299.7638\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 295.5118 12.7559 272.8346 7.0866 264.3307 7.0866 295.5118 1.4173 295.5118 1.4173 267.1654 -4.252 267.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 306.8504 29.7638 329.5276 35.4331 338.0315 35.4331 306.8504 41.1024 306.8504 41.1024 335.1969 46.7717 335.1969\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 342.2835 29.7638 364.9606 35.4331 373.4646 35.4331 342.2835 41.1024 342.2835 41.1024 370.6299 46.7717 370.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 342.2835 29.7638 364.9606 35.4331 373.4646 35.4331 342.2835 41.1024 342.2835 41.1024 370.6299 46.7717 370.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 366.378 12.7559 343.7008 7.0866 335.1969 7.0866 366.378 1.4173 366.378 1.4173 338.0315 -4.252 338.0315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 377.7165 29.7638 400.3937 35.4331 408.8976 35.4331 377.7165 41.1024 377.7165 41.1024 406.063 46.7717 406.063\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 413.1496 29.7638 435.8268 35.4331 444.3307 35.4331 413.1496 41.1024 413.1496 41.1024 441.4961 46.7717 441.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 413.1496 29.7638 435.8268 35.4331 444.3307 35.4331 413.1496 41.1024 413.1496 41.1024 441.4961 46.7717 441.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"12.7559 437.2441 12.7559 414.5669 7.0866 406.063 7.0866 437.2441 1.4173 437.2441 1.4173 408.8976 -4.252 408.8976\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 448.5827 29.7638 471.2598 35.4331 479.7638 35.4331 448.5827 41.1024 448.5827 41.1024 476.9291 46.7717 476.9291\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 484.0157 29.7638 506.6929 35.4331 515.1969 35.4331 484.0157 41.1024 484.0157 41.1024 512.3622 46.7717 512.3622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 484.0157 29.7638 506.6929 35.4331 515.1969 35.4331 484.0157 41.1024 484.0157 41.1024 512.3622 46.7717 512.3622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 519.4488 29.7638 542.126 35.4331 550.6299 35.4331 519.4488 41.1024 519.4488 41.1024 547.7953 46.7717 547.7953\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"29.7638 519.4488 29.7638 542.126 35.4331 550.6299 35.4331 519.4488 41.1024 519.4488 41.1024 547.7953 46.7717 547.7953\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 23.3858 72.2835 46.063 77.9528 54.5669 77.9528 23.3858 83.622 23.3858 83.622 51.7323 89.2913 51.7323\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 23.3858 72.2835 46.063 77.9528 54.5669 77.9528 23.3858 83.622 23.3858 83.622 51.7323 89.2913 51.7323\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"55.2756 47.4803 55.2756 24.8031 49.6063 16.2992 49.6063 47.4803 43.937 47.4803 43.937 19.1339 38.2677 19.1339\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 58.8189 72.2835 81.4961 77.9528 90 77.9528 58.8189 83.622 58.8189 83.622 87.1654 89.2913 87.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 94.252 72.2835 116.9291 77.9528 125.4331 77.9528 94.252 83.622 94.252 83.622 122.5984 89.2913 122.5984\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 94.252 72.2835 116.9291 77.9528 125.4331 77.9528 94.252 83.622 94.252 83.622 122.5984 89.2913 122.5984\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 129.685 72.2835 152.3622 77.9528 160.8661 77.9528 129.685 83.622 129.685 83.622 158.0315 89.2913 158.0315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 129.685 72.2835 152.3622 77.9528 160.8661 77.9528 129.685 83.622 129.685 83.622 158.0315 89.2913 158.0315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 165.1181 72.2835 187.7953 77.9528 196.2992 77.9528 165.1181 83.622 165.1181 83.622 193.4646 89.2913 193.4646\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 165.1181 72.2835 187.7953 77.9528 196.2992 77.9528 165.1181 83.622 165.1181 83.622 193.4646 89.2913 193.4646\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"55.2756 189.2126 55.2756 166.5354 49.6063 158.0315 49.6063 189.2126 43.937 189.2126 43.937 160.8661 38.2677 160.8661\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 200.5512 72.2835 223.2283 77.9528 231.7323 77.9528 200.5512 83.622 200.5512 83.622 228.8976 89.2913 228.8976\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"55.2756 224.6457 55.2756 201.9685 49.6063 193.4646 49.6063 224.6457 43.937 224.6457 43.937 196.2992 38.2677 196.2992\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 235.9843 72.2835 258.6614 77.9528 267.1654 77.9528 235.9843 83.622 235.9843 83.622 264.3307 89.2913 264.3307\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 271.4173 72.2835 294.0945 77.9528 302.5984 77.9528 271.4173 83.622 271.4173 83.622 299.7638 89.2913 299.7638\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 271.4173 72.2835 294.0945 77.9528 302.5984 77.9528 271.4173 83.622 271.4173 83.622 299.7638 89.2913 299.7638\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 306.8504 72.2835 329.5276 77.9528 338.0315 77.9528 306.8504 83.622 306.8504 83.622 335.1969 89.2913 335.1969\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 306.8504 72.2835 329.5276 77.9528 338.0315 77.9528 306.8504 83.622 306.8504 83.622 335.1969 89.2913 335.1969\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 342.2835 72.2835 364.9606 77.9528 373.4646 77.9528 342.2835 83.622 342.2835 83.622 370.6299 89.2913 370.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 342.2835 72.2835 364.9606 77.9528 373.4646 77.9528 342.2835 83.622 342.2835 83.622 370.6299 89.2913 370.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 377.7165 72.2835 400.3937 77.9528 408.8976 77.9528 377.7165 83.622 377.7165 83.622 406.063 89.2913 406.063\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 377.7165 72.2835 400.3937 77.9528 408.8976 77.9528 377.7165 83.622 377.7165 83.622 406.063 89.2913 406.063\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"55.2756 401.811 55.2756 379.1339 49.6063 370.6299 49.6063 401.811 43.937 401.811 43.937 373.4646 38.2677 373.4646\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 413.1496 72.2835 435.8268 77.9528 444.3307 77.9528 413.1496 83.622 413.1496 83.622 441.4961 89.2913 441.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 448.5827 72.2835 471.2598 77.9528 479.7638 77.9528 448.5827 83.622 448.5827 83.622 476.9291 89.2913 476.9291\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 448.5827 72.2835 471.2598 77.9528 479.7638 77.9528 448.5827 83.622 448.5827 83.622 476.9291 89.2913 476.9291\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"55.2756 472.6772 55.2756 450 49.6063 441.4961 49.6063 472.6772 43.937 472.6772 43.937 444.3307 38.2677 444.3307\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 484.0157 72.2835 506.6929 77.9528 515.1969 77.9528 484.0157 83.622 484.0157 83.622 512.3622 89.2913 512.3622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"55.2756 508.1102 55.2756 485.4331 49.6063 476.9291 49.6063 508.1102 43.937 508.1102 43.937 479.7638 38.2677 479.7638\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"72.2835 519.4488 72.2835 542.126 77.9528 550.6299 77.9528 519.4488 83.622 519.4488 83.622 547.7953 89.2913 547.7953\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 23.3858 114.8031 46.063 120.4724 54.5669 120.4724 23.3858 126.1417 23.3858 126.1417 51.7323 131.811 51.7323\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 23.3858 114.8031 46.063 120.4724 54.5669 120.4724 23.3858 126.1417 23.3858 126.1417 51.7323 131.811 51.7323\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 58.8189 114.8031 81.4961 120.4724 90 120.4724 58.8189 126.1417 58.8189 126.1417 87.1654 131.811 87.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 58.8189 114.8031 81.4961 120.4724 90 120.4724 58.8189 126.1417 58.8189 126.1417 87.1654 131.811 87.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 94.252 114.8031 116.9291 120.4724 125.4331 120.4724 94.252 126.1417 94.252 126.1417 122.5984 131.811 122.5984\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 94.252 114.8031 116.9291 120.4724 125.4331 120.4724 94.252 126.1417 94.252 126.1417 122.5984 131.811 122.5984\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"97.7953 118.3465 97.7953 95.6693 92.126 87.1654 92.126 118.3465 86.4567 118.3465 86.4567 90 80.7874 90\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 129.685 114.8031 152.3622 120.4724 160.8661 120.4724 129.685 126.1417 129.685 126.1417 158.0315 131.811 158.0315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 165.1181 114.8031 187.7953 120.4724 196.2992 120.4724 165.1181 126.1417 165.1181 126.1417 193.4646 131.811 193.4646\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 165.1181 114.8031 187.7953 120.4724 196.2992 120.4724 165.1181 126.1417 165.1181 126.1417 193.4646 131.811 193.4646\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"97.7953 189.2126 97.7953 166.5354 92.126 158.0315 92.126 189.2126 86.4567 189.2126 86.4567 160.8661 80.7874 160.8661\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 200.5512 114.8031 223.2283 120.4724 231.7323 120.4724 200.5512 126.1417 200.5512 126.1417 228.8976 131.811 228.8976\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"97.7953 224.6457 97.7953 201.9685 92.126 193.4646 92.126 224.6457 86.4567 224.6457 86.4567 196.2992 80.7874 196.2992\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 235.9843 114.8031 258.6614 120.4724 267.1654 120.4724 235.9843 126.1417 235.9843 126.1417 264.3307 131.811 264.3307\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"97.7953 260.0787 97.7953 237.4016 92.126 228.8976 92.126 260.0787 86.4567 260.0787 86.4567 231.7323 80.7874 231.7323\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 271.4173 114.8031 294.0945 120.4724 302.5984 120.4724 271.4173 126.1417 271.4173 126.1417 299.7638 131.811 299.7638\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"97.7953 295.5118 97.7953 272.8346 92.126 264.3307 92.126 295.5118 86.4567 295.5118 86.4567 267.1654 80.7874 267.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 306.8504 114.8031 329.5276 120.4724 338.0315 120.4724 306.8504 126.1417 306.8504 126.1417 335.1969 131.811 335.1969\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 342.2835 114.8031 364.9606 120.4724 373.4646 120.4724 342.2835 126.1417 342.2835 126.1417 370.6299 131.811 370.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 342.2835 114.8031 364.9606 120.4724 373.4646 120.4724 342.2835 126.1417 342.2835 126.1417 370.6299 131.811 370.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 377.7165 114.8031 400.3937 120.4724 408.8976 120.4724 377.7165 126.1417 377.7165 126.1417 406.063 131.811 406.063\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 377.7165 114.8031 400.3937 120.4724 408.8976 120.4724 377.7165 126.1417 377.7165 126.1417 406.063 131.811 406.063\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 413.1496 114.8031 435.8268 120.4724 444.3307 120.4724 413.1496 126.1417 413.1496 126.1417 441.4961 131.811 441.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 413.1496 114.8031 435.8268 120.4724 444.3307 120.4724 413.1496 126.1417 413.1496 126.1417 441.4961 131.811 441.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 448.5827 114.8031 471.2598 120.4724 479.7638 120.4724 448.5827 126.1417 448.5827 126.1417 476.9291 131.811 476.9291\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 448.5827 114.8031 471.2598 120.4724 479.7638 120.4724 448.5827 126.1417 448.5827 126.1417 476.9291 131.811 476.9291\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 484.0157 114.8031 506.6929 120.4724 515.1969 120.4724 484.0157 126.1417 484.0157 126.1417 512.3622 131.811 512.3622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 484.0157 114.8031 506.6929 120.4724 515.1969 120.4724 484.0157 126.1417 484.0157 126.1417 512.3622 131.811 512.3622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"97.7953 508.1102 97.7953 485.4331 92.126 476.9291 92.126 508.1102 86.4567 508.1102 86.4567 479.7638 80.7874 479.7638\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"114.8031 519.4488 114.8031 542.126 120.4724 550.6299 120.4724 519.4488 126.1417 519.4488 126.1417 547.7953 131.811 547.7953\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"140.315 12.0472 140.315 -10.6299 134.6457 -19.1339 134.6457 12.0472 128.9764 12.0472 128.9764 -16.2992 123.3071 -16.2992\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 23.3858 157.3228 46.063 162.9921 54.5669 162.9921 23.3858 168.6614 23.3858 168.6614 51.7323 174.3307 51.7323\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 58.8189 157.3228 81.4961 162.9921 90 162.9921 58.8189 168.6614 58.8189 168.6614 87.1654 174.3307 87.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 58.8189 157.3228 81.4961 162.9921 90 162.9921 58.8189 168.6614 58.8189 168.6614 87.1654 174.3307 87.1654\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 94.252 157.3228 116.9291 162.9921 125.4331 162.9921 94.252 168.6614 94.252 168.6614 122.5984 174.3307 122.5984\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 94.252 157.3228 116.9291 162.9921 125.4331 162.9921 94.252 168.6614 94.252 168.6614 122.5984 174.3307 122.5984\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"140.315 118.3465 140.315 95.6693 134.6457 87.1654 134.6457 118.3465 128.9764 118.3465 128.9764 90 123.3071 90\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 129.685 157.3228 152.3622 162.9921 160.8661 162.9921 129.685 168.6614 129.685 168.6614 158.0315 174.3307 158.0315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 165.1181 157.3228 187.7953 162.9921 196.2992 162.9921 165.1181 168.6614 165.1181 168.6614 193.4646 174.3307 193.4646\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 165.1181 157.3228 187.7953 162.9921 196.2992 162.9921 165.1181 168.6614 165.1181 168.6614 193.4646 174.3307 193.4646\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"140.315 189.2126 140.315 166.5354 134.6457 158.0315 134.6457 189.2126 128.9764 189.2126 128.9764 160.8661 123.3071 160.8661\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 200.5512 157.3228 223.2283 162.9921 231.7323 162.9921 200.5512 168.6614 200.5512 168.6614 228.8976 174.3307 228.8976\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 235.9843 157.3228 258.6614 162.9921 267.1654 162.9921 235.9843 168.6614 235.9843 168.6614 264.3307 174.3307 264.3307\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 235.9843 157.3228 258.6614 162.9921 267.1654 162.9921 235.9843 168.6614 235.9843 168.6614 264.3307 174.3307 264.3307\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 271.4173 157.3228 294.0945 162.9921 302.5984 162.9921 271.4173 168.6614 271.4173 168.6614 299.7638 174.3307 299.7638\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 271.4173 157.3228 294.0945 162.9921 302.5984 162.9921 271.4173 168.6614 271.4173 168.6614 299.7638 174.3307 299.7638\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 306.8504 157.3228 329.5276 162.9921 338.0315 162.9921 306.8504 168.6614 306.8504 168.6614 335.1969 174.3307 335.1969\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 306.8504 157.3228 329.5276 162.9921 338.0315 162.9921 306.8504 168.6614 306.8504 168.6614 335.1969 174.3307 335.1969\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 342.2835 157.3228 364.9606 162.9921 373.4646 162.9921 342.2835 168.6614 342.2835 168.6614 370.6299 174.3307 370.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 342.2835 157.3228 364.9606 162.9921 373.4646 162.9921 342.2835 168.6614 342.2835 168.6614 370.6299 174.3307 370.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 377.7165 157.3228 400.3937 162.9921 408.8976 162.9921 377.7165 168.6614 377.7165 168.6614 406.063 174.3307 406.063\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 377.7165 157.3228 400.3937 162.9921 408.8976 162.9921 377.7165 168.6614 377.7165 168.6614 406.063 174.3307 406.063\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 413.1496 157.3228 435.8268 162.9921 444.3307 162.9921 413.1496 168.6614 413.1496 168.6614 441.4961 174.3307 441.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 413.1496 157.3228 435.8268 162.9921 444.3307 162.9921 413.1496 168.6614 413.1496 168.6614 441.4961 174.3307 441.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"140.315 437.2441 140.315 414.5669 134.6457 406.063 134.6457 437.2441 128.9764 437.2441 128.9764 408.8976 123.3071 408.8976\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 448.5827 157.3228 471.2598 162.9921 479.7638 162.9921 448.5827 168.6614 448.5827 168.6614 476.9291 174.3307 476.9291\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"140.315 472.6772 140.315 450 134.6457 441.4961 134.6457 472.6772 128.9764 472.6772 128.9764 444.3307 123.3071 444.3307\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 484.0157 157.3228 506.6929 162.9921 515.1969 162.9921 484.0157 168.6614 484.0157 168.6614 512.3622 174.3307 512.3622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"140.315 508.1102 140.315 485.4331 134.6457 476.9291 134.6457 508.1102 128.9764 508.1102 128.9764 479.7638 123.3071 479.7638\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 519.4488 157.3228 542.126 162.9921 550.6299 162.9921 519.4488 168.6614 519.4488 168.6614 547.7953 174.3307 547.7953\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"</svg>"
],
"text/plain": [
"<IPython.core.display.SVG object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"width = 180\n",
"height = 130\n",
"d = document(width, height, 'mm')\n",
"page = d.addpage() \n",
"grid_size =4\n",
" \n",
"brush = shape().stroke(rgb(255, 68, 0)).width(2)\n",
"shadowbrush = shape().stroke(rgb(255, 162, 218)).width(10)\n",
"lineshadow_obj = shadowbrush.line(1 , 10, 1, 40)\n",
"\n",
"# size of a single rectangle in the grid\n",
"\n",
"cell_size_x = width / grid_size -30\n",
"cell_size_y = height / grid_size - 20 \n",
"for i in range(grid_size):\n",
" for j in range(15):\n",
" scale_val = (width / grid_size) *7\n",
" x = i * cell_size_x + (cell_size_x * 0.5) # add 1/2 cell size to offset glyph center\n",
" y = j * cell_size_y + (cell_size_y * 0.5)\n",
" page.place(brush.polyline(pline.rotate(np.pi * random.randrange(20)))).position(x,y)\n",
" #page.place(lineshadow_obj).position(x,y)ֿ\n",
"\n",
" page.place(pline_obj).position(x,y)\n",
" \n",
"show(page)"
]
},
{
"cell_type": "code",
"execution_count": 436,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" width=\"510.2362pt\" height=\"283.4646pt\" viewBox=\"0 0 510.2362 283.4646\">\n",
"<title>Untitled</title>\n",
"<polyline points=\"41.1024 1.4173 41.1024 -21.2598 35.4331 -29.7638 35.4331 1.4173 29.7638 1.4173 29.7638 -26.9291 24.0945 -26.9291\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 12.7559 58.1102 35.4331 63.7795 43.937 63.7795 12.7559 69.4488 12.7559 69.4488 41.1024 75.1181 41.1024\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 26.9291 58.1102 49.6063 63.7795 58.1102 63.7795 26.9291 69.4488 26.9291 69.4488 55.2756 75.1181 55.2756\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 26.9291 58.1102 49.6063 63.7795 58.1102 63.7795 26.9291 69.4488 26.9291 69.4488 55.2756 75.1181 55.2756\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 29.7638 41.1024 7.0866 35.4331 -1.4173 35.4331 29.7638 29.7638 29.7638 29.7638 1.4173 24.0945 1.4173\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 41.1024 58.1102 63.7795 63.7795 72.2835 63.7795 41.1024 69.4488 41.1024 69.4488 69.4488 75.1181 69.4488\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 43.937 41.1024 21.2598 35.4331 12.7559 35.4331 43.937 29.7638 43.937 29.7638 15.5906 24.0945 15.5906\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 55.2756 58.1102 77.9528 63.7795 86.4567 63.7795 55.2756 69.4488 55.2756 69.4488 83.622 75.1181 83.622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 69.4488 58.1102 92.126 63.7795 100.6299 63.7795 69.4488 69.4488 69.4488 69.4488 97.7953 75.1181 97.7953\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 69.4488 58.1102 92.126 63.7795 100.6299 63.7795 69.4488 69.4488 69.4488 69.4488 97.7953 75.1181 97.7953\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 72.2835 41.1024 49.6063 35.4331 41.1024 35.4331 72.2835 29.7638 72.2835 29.7638 43.937 24.0945 43.937\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 83.622 58.1102 106.2992 63.7795 114.8031 63.7795 83.622 69.4488 83.622 69.4488 111.9685 75.1181 111.9685\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 97.7953 58.1102 120.4724 63.7795 128.9764 63.7795 97.7953 69.4488 97.7953 69.4488 126.1417 75.1181 126.1417\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 97.7953 58.1102 120.4724 63.7795 128.9764 63.7795 97.7953 69.4488 97.7953 69.4488 126.1417 75.1181 126.1417\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 100.6299 41.1024 77.9528 35.4331 69.4488 35.4331 100.6299 29.7638 100.6299 29.7638 72.2835 24.0945 72.2835\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 111.9685 58.1102 134.6457 63.7795 143.1496 63.7795 111.9685 69.4488 111.9685 69.4488 140.315 75.1181 140.315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 126.1417 58.1102 148.8189 63.7795 157.3228 63.7795 126.1417 69.4488 126.1417 69.4488 154.4882 75.1181 154.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 126.1417 58.1102 148.8189 63.7795 157.3228 63.7795 126.1417 69.4488 126.1417 69.4488 154.4882 75.1181 154.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 128.9764 41.1024 106.2992 35.4331 97.7953 35.4331 128.9764 29.7638 128.9764 29.7638 100.6299 24.0945 100.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 140.315 58.1102 162.9921 63.7795 171.4961 63.7795 140.315 69.4488 140.315 69.4488 168.6614 75.1181 168.6614\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 143.1496 41.1024 120.4724 35.4331 111.9685 35.4331 143.1496 29.7638 143.1496 29.7638 114.8031 24.0945 114.8031\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 154.4882 58.1102 177.1654 63.7795 185.6693 63.7795 154.4882 69.4488 154.4882 69.4488 182.8346 75.1181 182.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 157.3228 41.1024 134.6457 35.4331 126.1417 35.4331 157.3228 29.7638 157.3228 29.7638 128.9764 24.0945 128.9764\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 168.6614 58.1102 191.3386 63.7795 199.8425 63.7795 168.6614 69.4488 168.6614 69.4488 197.0079 75.1181 197.0079\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"41.1024 171.4961 41.1024 148.8189 35.4331 140.315 35.4331 171.4961 29.7638 171.4961 29.7638 143.1496 24.0945 143.1496\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 182.8346 58.1102 205.5118 63.7795 214.0157 63.7795 182.8346 69.4488 182.8346 69.4488 211.1811 75.1181 211.1811\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 197.0079 58.1102 219.685 63.7795 228.189 63.7795 197.0079 69.4488 197.0079 69.4488 225.3543 75.1181 225.3543\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 197.0079 58.1102 219.685 63.7795 228.189 63.7795 197.0079 69.4488 197.0079 69.4488 225.3543 75.1181 225.3543\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 211.1811 58.1102 233.8583 63.7795 242.3622 63.7795 211.1811 69.4488 211.1811 69.4488 239.5276 75.1181 239.5276\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"58.1102 211.1811 58.1102 233.8583 63.7795 242.3622 63.7795 211.1811 69.4488 211.1811 69.4488 239.5276 75.1181 239.5276\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 12.7559 157.3228 35.4331 162.9921 43.937 162.9921 12.7559 168.6614 12.7559 168.6614 41.1024 174.3307 41.1024\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 12.7559 157.3228 35.4331 162.9921 43.937 162.9921 12.7559 168.6614 12.7559 168.6614 41.1024 174.3307 41.1024\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 26.9291 157.3228 49.6063 162.9921 58.1102 162.9921 26.9291 168.6614 26.9291 168.6614 55.2756 174.3307 55.2756\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 26.9291 157.3228 49.6063 162.9921 58.1102 162.9921 26.9291 168.6614 26.9291 168.6614 55.2756 174.3307 55.2756\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"140.315 29.7638 140.315 7.0866 134.6457 -1.4173 134.6457 29.7638 128.9764 29.7638 128.9764 1.4173 123.3071 1.4173\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 41.1024 157.3228 63.7795 162.9921 72.2835 162.9921 41.1024 168.6614 41.1024 168.6614 69.4488 174.3307 69.4488\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"140.315 43.937 140.315 21.2598 134.6457 12.7559 134.6457 43.937 128.9764 43.937 128.9764 15.5906 123.3071 15.5906\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 55.2756 157.3228 77.9528 162.9921 86.4567 162.9921 55.2756 168.6614 55.2756 168.6614 83.622 174.3307 83.622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 69.4488 157.3228 92.126 162.9921 100.6299 162.9921 69.4488 168.6614 69.4488 168.6614 97.7953 174.3307 97.7953\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 69.4488 157.3228 92.126 162.9921 100.6299 162.9921 69.4488 168.6614 69.4488 168.6614 97.7953 174.3307 97.7953\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 83.622 157.3228 106.2992 162.9921 114.8031 162.9921 83.622 168.6614 83.622 168.6614 111.9685 174.3307 111.9685\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 83.622 157.3228 106.2992 162.9921 114.8031 162.9921 83.622 168.6614 83.622 168.6614 111.9685 174.3307 111.9685\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 97.7953 157.3228 120.4724 162.9921 128.9764 162.9921 97.7953 168.6614 97.7953 168.6614 126.1417 174.3307 126.1417\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 97.7953 157.3228 120.4724 162.9921 128.9764 162.9921 97.7953 168.6614 97.7953 168.6614 126.1417 174.3307 126.1417\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"140.315 100.6299 140.315 77.9528 134.6457 69.4488 134.6457 100.6299 128.9764 100.6299 128.9764 72.2835 123.3071 72.2835\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 111.9685 157.3228 134.6457 162.9921 143.1496 162.9921 111.9685 168.6614 111.9685 168.6614 140.315 174.3307 140.315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"140.315 114.8031 140.315 92.126 134.6457 83.622 134.6457 114.8031 128.9764 114.8031 128.9764 86.4567 123.3071 86.4567\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 126.1417 157.3228 148.8189 162.9921 157.3228 162.9921 126.1417 168.6614 126.1417 168.6614 154.4882 174.3307 154.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"140.315 128.9764 140.315 106.2992 134.6457 97.7953 134.6457 128.9764 128.9764 128.9764 128.9764 100.6299 123.3071 100.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 140.315 157.3228 162.9921 162.9921 171.4961 162.9921 140.315 168.6614 140.315 168.6614 168.6614 174.3307 168.6614\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"140.315 143.1496 140.315 120.4724 134.6457 111.9685 134.6457 143.1496 128.9764 143.1496 128.9764 114.8031 123.3071 114.8031\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 154.4882 157.3228 177.1654 162.9921 185.6693 162.9921 154.4882 168.6614 154.4882 168.6614 182.8346 174.3307 182.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 168.6614 157.3228 191.3386 162.9921 199.8425 162.9921 168.6614 168.6614 168.6614 168.6614 197.0079 174.3307 197.0079\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 168.6614 157.3228 191.3386 162.9921 199.8425 162.9921 168.6614 168.6614 168.6614 168.6614 197.0079 174.3307 197.0079\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 182.8346 157.3228 205.5118 162.9921 214.0157 162.9921 182.8346 168.6614 182.8346 168.6614 211.1811 174.3307 211.1811\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 182.8346 157.3228 205.5118 162.9921 214.0157 162.9921 182.8346 168.6614 182.8346 168.6614 211.1811 174.3307 211.1811\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"140.315 185.6693 140.315 162.9921 134.6457 154.4882 134.6457 185.6693 128.9764 185.6693 128.9764 157.3228 123.3071 157.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 197.0079 157.3228 219.685 162.9921 228.189 162.9921 197.0079 168.6614 197.0079 168.6614 225.3543 174.3307 225.3543\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"140.315 199.8425 140.315 177.1654 134.6457 168.6614 134.6457 199.8425 128.9764 199.8425 128.9764 171.4961 123.3071 171.4961\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"157.3228 211.1811 157.3228 233.8583 162.9921 242.3622 162.9921 211.1811 168.6614 211.1811 168.6614 239.5276 174.3307 239.5276\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"239.5276 1.4173 239.5276 -21.2598 233.8583 -29.7638 233.8583 1.4173 228.189 1.4173 228.189 -26.9291 222.5197 -26.9291\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 12.7559 256.5354 35.4331 262.2047 43.937 262.2047 12.7559 267.874 12.7559 267.874 41.1024 273.5433 41.1024\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 26.9291 256.5354 49.6063 262.2047 58.1102 262.2047 26.9291 267.874 26.9291 267.874 55.2756 273.5433 55.2756\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 26.9291 256.5354 49.6063 262.2047 58.1102 262.2047 26.9291 267.874 26.9291 267.874 55.2756 273.5433 55.2756\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 41.1024 256.5354 63.7795 262.2047 72.2835 262.2047 41.1024 267.874 41.1024 267.874 69.4488 273.5433 69.4488\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 41.1024 256.5354 63.7795 262.2047 72.2835 262.2047 41.1024 267.874 41.1024 267.874 69.4488 273.5433 69.4488\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"239.5276 43.937 239.5276 21.2598 233.8583 12.7559 233.8583 43.937 228.189 43.937 228.189 15.5906 222.5197 15.5906\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 55.2756 256.5354 77.9528 262.2047 86.4567 262.2047 55.2756 267.874 55.2756 267.874 83.622 273.5433 83.622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 69.4488 256.5354 92.126 262.2047 100.6299 262.2047 69.4488 267.874 69.4488 267.874 97.7953 273.5433 97.7953\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 69.4488 256.5354 92.126 262.2047 100.6299 262.2047 69.4488 267.874 69.4488 267.874 97.7953 273.5433 97.7953\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"239.5276 72.2835 239.5276 49.6063 233.8583 41.1024 233.8583 72.2835 228.189 72.2835 228.189 43.937 222.5197 43.937\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 83.622 256.5354 106.2992 262.2047 114.8031 262.2047 83.622 267.874 83.622 267.874 111.9685 273.5433 111.9685\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"239.5276 86.4567 239.5276 63.7795 233.8583 55.2756 233.8583 86.4567 228.189 86.4567 228.189 58.1102 222.5197 58.1102\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 97.7953 256.5354 120.4724 262.2047 128.9764 262.2047 97.7953 267.874 97.7953 267.874 126.1417 273.5433 126.1417\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"239.5276 100.6299 239.5276 77.9528 233.8583 69.4488 233.8583 100.6299 228.189 100.6299 228.189 72.2835 222.5197 72.2835\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 111.9685 256.5354 134.6457 262.2047 143.1496 262.2047 111.9685 267.874 111.9685 267.874 140.315 273.5433 140.315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"239.5276 114.8031 239.5276 92.126 233.8583 83.622 233.8583 114.8031 228.189 114.8031 228.189 86.4567 222.5197 86.4567\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 126.1417 256.5354 148.8189 262.2047 157.3228 262.2047 126.1417 267.874 126.1417 267.874 154.4882 273.5433 154.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"239.5276 128.9764 239.5276 106.2992 233.8583 97.7953 233.8583 128.9764 228.189 128.9764 228.189 100.6299 222.5197 100.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 140.315 256.5354 162.9921 262.2047 171.4961 262.2047 140.315 267.874 140.315 267.874 168.6614 273.5433 168.6614\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"239.5276 143.1496 239.5276 120.4724 233.8583 111.9685 233.8583 143.1496 228.189 143.1496 228.189 114.8031 222.5197 114.8031\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 154.4882 256.5354 177.1654 262.2047 185.6693 262.2047 154.4882 267.874 154.4882 267.874 182.8346 273.5433 182.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 168.6614 256.5354 191.3386 262.2047 199.8425 262.2047 168.6614 267.874 168.6614 267.874 197.0079 273.5433 197.0079\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 168.6614 256.5354 191.3386 262.2047 199.8425 262.2047 168.6614 267.874 168.6614 267.874 197.0079 273.5433 197.0079\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 182.8346 256.5354 205.5118 262.2047 214.0157 262.2047 182.8346 267.874 182.8346 267.874 211.1811 273.5433 211.1811\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 182.8346 256.5354 205.5118 262.2047 214.0157 262.2047 182.8346 267.874 182.8346 267.874 211.1811 273.5433 211.1811\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"239.5276 185.6693 239.5276 162.9921 233.8583 154.4882 233.8583 185.6693 228.189 185.6693 228.189 157.3228 222.5197 157.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 197.0079 256.5354 219.685 262.2047 228.189 262.2047 197.0079 267.874 197.0079 267.874 225.3543 273.5433 225.3543\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 211.1811 256.5354 233.8583 262.2047 242.3622 262.2047 211.1811 267.874 211.1811 267.874 239.5276 273.5433 239.5276\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"256.5354 211.1811 256.5354 233.8583 262.2047 242.3622 262.2047 211.1811 267.874 211.1811 267.874 239.5276 273.5433 239.5276\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 12.7559 355.748 35.4331 361.4173 43.937 361.4173 12.7559 367.0866 12.7559 367.0866 41.1024 372.7559 41.1024\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 12.7559 355.748 35.4331 361.4173 43.937 361.4173 12.7559 367.0866 12.7559 367.0866 41.1024 372.7559 41.1024\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"338.7402 15.5906 338.7402 -7.0866 333.0709 -15.5906 333.0709 15.5906 327.4016 15.5906 327.4016 -12.7559 321.7323 -12.7559\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 26.9291 355.748 49.6063 361.4173 58.1102 361.4173 26.9291 367.0866 26.9291 367.0866 55.2756 372.7559 55.2756\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"338.7402 29.7638 338.7402 7.0866 333.0709 -1.4173 333.0709 29.7638 327.4016 29.7638 327.4016 1.4173 321.7323 1.4173\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 41.1024 355.748 63.7795 361.4173 72.2835 361.4173 41.1024 367.0866 41.1024 367.0866 69.4488 372.7559 69.4488\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 55.2756 355.748 77.9528 361.4173 86.4567 361.4173 55.2756 367.0866 55.2756 367.0866 83.622 372.7559 83.622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 55.2756 355.748 77.9528 361.4173 86.4567 361.4173 55.2756 367.0866 55.2756 367.0866 83.622 372.7559 83.622\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"338.7402 58.1102 338.7402 35.4331 333.0709 26.9291 333.0709 58.1102 327.4016 58.1102 327.4016 29.7638 321.7323 29.7638\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 69.4488 355.748 92.126 361.4173 100.6299 361.4173 69.4488 367.0866 69.4488 367.0866 97.7953 372.7559 97.7953\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 83.622 355.748 106.2992 361.4173 114.8031 361.4173 83.622 367.0866 83.622 367.0866 111.9685 372.7559 111.9685\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 83.622 355.748 106.2992 361.4173 114.8031 361.4173 83.622 367.0866 83.622 367.0866 111.9685 372.7559 111.9685\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"338.7402 86.4567 338.7402 63.7795 333.0709 55.2756 333.0709 86.4567 327.4016 86.4567 327.4016 58.1102 321.7323 58.1102\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 97.7953 355.748 120.4724 361.4173 128.9764 361.4173 97.7953 367.0866 97.7953 367.0866 126.1417 372.7559 126.1417\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 111.9685 355.748 134.6457 361.4173 143.1496 361.4173 111.9685 367.0866 111.9685 367.0866 140.315 372.7559 140.315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 111.9685 355.748 134.6457 361.4173 143.1496 361.4173 111.9685 367.0866 111.9685 367.0866 140.315 372.7559 140.315\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 126.1417 355.748 148.8189 361.4173 157.3228 361.4173 126.1417 367.0866 126.1417 367.0866 154.4882 372.7559 154.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 126.1417 355.748 148.8189 361.4173 157.3228 361.4173 126.1417 367.0866 126.1417 367.0866 154.4882 372.7559 154.4882\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"338.7402 128.9764 338.7402 106.2992 333.0709 97.7953 333.0709 128.9764 327.4016 128.9764 327.4016 100.6299 321.7323 100.6299\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 140.315 355.748 162.9921 361.4173 171.4961 361.4173 140.315 367.0866 140.315 367.0866 168.6614 372.7559 168.6614\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 154.4882 355.748 177.1654 361.4173 185.6693 361.4173 154.4882 367.0866 154.4882 367.0866 182.8346 372.7559 182.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 154.4882 355.748 177.1654 361.4173 185.6693 361.4173 154.4882 367.0866 154.4882 367.0866 182.8346 372.7559 182.8346\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"338.7402 157.3228 338.7402 134.6457 333.0709 126.1417 333.0709 157.3228 327.4016 157.3228 327.4016 128.9764 321.7323 128.9764\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 168.6614 355.748 191.3386 361.4173 199.8425 361.4173 168.6614 367.0866 168.6614 367.0866 197.0079 372.7559 197.0079\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 182.8346 355.748 205.5118 361.4173 214.0157 361.4173 182.8346 367.0866 182.8346 367.0866 211.1811 372.7559 211.1811\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 182.8346 355.748 205.5118 361.4173 214.0157 361.4173 182.8346 367.0866 182.8346 367.0866 211.1811 372.7559 211.1811\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"338.7402 185.6693 338.7402 162.9921 333.0709 154.4882 333.0709 185.6693 327.4016 185.6693 327.4016 157.3228 321.7323 157.3228\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 197.0079 355.748 219.685 361.4173 228.189 361.4173 197.0079 367.0866 197.0079 367.0866 225.3543 372.7559 225.3543\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 211.1811 355.748 233.8583 361.4173 242.3622 361.4173 211.1811 367.0866 211.1811 367.0866 239.5276 372.7559 239.5276\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"<polyline points=\"355.748 211.1811 355.748 233.8583 361.4173 242.3622 361.4173 211.1811 367.0866 211.1811 367.0866 239.5276 372.7559 239.5276\" fill=\"none\" stroke=\"rgb(255,68,0)\" stroke-width=\"2\" stroke-miterlimit=\"10\"/>\n",
"</svg>"
],
"text/plain": [
"<IPython.core.display.SVG object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"width = 180\n",
"height = 100\n",
"d = document(width, height, 'mm')\n",
"page = d.addpage() \n",
"grid_size =4\n",
" \n",
"brush = shape().stroke(rgb(255, 68, 0)).width(2)\n",
"shadowbrush = shape().stroke(rgb(255, 162, 218)).width(10)\n",
"lineshadow_obj = shadowbrush.line(1 , 10, 1, 40)\n",
"\n",
"# size of a single rectangle in the grid\n",
"\n",
"cell_size_x = width / grid_size -10\n",
"cell_size_y = height / grid_size - 20 \n",
"for i in range(grid_size):\n",
" for j in range(15):\n",
" scale_val = (width / grid_size) *7\n",
" x = i * cell_size_x + (cell_size_x * 0.5) # add 1/2 cell size to offset glyph center\n",
" y = j * cell_size_y + (cell_size_y * 0.5)\n",
" page.place(brush.polyline(pline.rotate(np.pi * random.randrange(90)))).position(x,y)\n",
" #page.place(lineshadow_obj).position(x,y)ֿ\n",
"\n",
" page.place(pline_obj).position(x,y)\n",
" \n",
"show(page)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.5"
}
},
"nbformat": 4,
"nbformat_minor": 4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment