[
  {
    "path": ".babelrc",
    "content": "{\n  \"plugins\": [\"@babel/plugin-proposal-class-properties\"],\n  \"presets\": [\n    [\"@babel/preset-env\"]\n  ]\n}\n"
  },
  {
    "path": ".browserslistrc",
    "content": "defaults\nnot IE 11\nnot IE_Mob 11\nmaintained node versions\n"
  },
  {
    "path": ".github/workflows/build.yml",
    "content": "name: build\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n    types: [synchronize]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        node-version: [10.x, 12.x, 13.x]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Use Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v1\n      with:\n        node-version: ${{ matrix.node-version }}\n    - run: npm ci # install dependencies in cleanroom\n    - run: npm run ci # run the \"ci\" script defined in package.json\n"
  },
  {
    "path": ".gitignore",
    "content": "node_modules\ndist\n"
  },
  {
    "path": ".nvmrc",
    "content": "v12\n"
  },
  {
    "path": "CONTRIBUTING.md",
    "content": "# Contributing Guidelines\n\nPull requests and issues are welcome! For all contributions, please:\n\n1. Read the [Readme](Readme.md)\n2. Search the existing [issues](https://github.com/qrohlf/trianglify/issues?q=is%3Aissue+) and [pull requests](https://github.com/qrohlf/trianglify/pulls?q=is%3Apr) to make sure your contribution isn't a duplicate\n\n## Issues\n\nIf you're submitting a bug, please include the enivronment (browser/node) and relevant environment version(s) that you have encountered the bug in.\n\n## Pull Requests\n\n*Important: if you are submitting a pull request that does not address an open issue in the issue tracker, it would be a very good idea to create an issue to discuss your proposed changes/additions before working on them.*\n\n1. Fork the repo on GitHub.\n2. Install dependencies with `npm install`\n2. Create a topic branch and make your changes.\n3.  Run `npm run ci` to test your code and compile it to trianglify.min.js.\n4. Submit a pull request to merge your topic branch into `master`.\n"
  },
  {
    "path": "LICENSE",
    "content": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.  We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors.  You can apply it to\nyour programs, too.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights.  Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n  For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received.  You must make sure that they, too, receive\nor can get the source code.  And you must show them these terms so they\nknow their rights.\n\n  Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n  For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software.  For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n  Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so.  This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software.  The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable.  Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts.  If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n  Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary.  To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Use with the GNU Affero General Public License.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n"
  },
  {
    "path": "Readme.md",
    "content": "# Trianglify\n\n\nTrianglify is a library that I wrote to generate nice SVG background images like this one:\n\n![](https://cloud.githubusercontent.com/assets/347189/6771063/f8b0af46-d090-11e4-8d4c-6c7ef5bd9d37.png)\n\n# Contents\n[📦 Getting Trianglify](#-getting-trianglify)  \n[🏎 Quickstart](#-quickstart)  \n[⚖️ Licensing](#%EF%B8%8F-licensing)  \n[📖 API](#-api)  \n[🎨 Configuration](#-configuration)\n\n# 📦 Getting Trianglify\n\nYou can grab Trianglify with npm/yarn (recommended):\n\n```\nnpm install --save trianglify\n```\n\nInclude it in your application via the unpkg CDN:\n\n```\n<script src='https://unpkg.com/trianglify@^4/dist/trianglify.bundle.js'></script>\n```\n\nOr download a .zip from the [**releases page**](https://github.com/qrohlf/trianglify/releases).\n\n\n# 🏎 Quickstart\n\n**Browsers**\n```html\n<script src='https://unpkg.com/trianglify@^4/dist/trianglify.bundle.js'></script>\n<script>\n  const pattern = trianglify({\n    width: window.innerWidth,\n    height: window.innerHeight\n  })\n  document.body.appendChild(pattern.toCanvas())\n</script>\n```\n\n**Node**\n```js\nconst trianglify = require('trianglify')\nconst fs = require('fs')\n\nconst canvas = trianglify({\n  width: 1920,\n  height: 1080\n}).toCanvas()\n\nconst file = fs.createWriteStream('trianglify.png')\ncanvas.createPNGStream().pipe(file)\n```\n\nYou can see the [`examples/`](./examples) folder for more usage examples.\n\nThe https://trianglify.io/ GUI is a good place to play around with the various configuration parameters and see their effect on the generated output, live.\n\n# ⚖️ Licensing\n\nThe source code of Trianglify is licensed under version 3 of the GNU General Public License ([GPLv3](https://www.gnu.org/licenses/gpl-3.0.html)). This means that any websites, apps, or other projects that include the Trianglify javascript library need to be released under a compatible open-source license. If you are interested in using Trianglify in a closed-source project, please email qr@qrohlf.com to purchase a commercial license.\n\n**However**, it's worth noting that you own the copyright to the output image files which you create using Trianglify, just like you own the copyright to an image created using something like [GIMP](https://www.gimp.org/). If you just want to use an image file that was generated using Trianglify in your project, and do not plan to distribute the Trianglify source code or compiled versions of it, you do not need to worry about the license restrictions described above.\n\n\n# 📖 API\n\nTrianglify is primarily used by calling the `trianglify` function, which returns a `trianglify.Pattern` object.\n\n```js\n// load the library, either via a window global (browsers) or require call (node)\n// in es-module environments, you can `import trianglify from 'trianglify'` as well\nconst trianglify = window.trianglify || require('trianglify')\n\nconst options = { height: 400, width: 600 }\nconst pattern = trianglify(options)\nconsole.log(pattern instanceof trianglify.Pattern) // true\n```\n\n## pattern\n\nThis object holds the generated geometry and colors, and exposes a number of methods for rendering this geometry to the DOM or a Canvas.\n\n\n**`pattern.opts`**\n\nObject containing the options used to generate the pattern.\n\n\n**`pattern.points`**\n\nThe pseudo-random point grid used for the pattern geometry, in the following format:\n\n```js\n[\n  [x, y],\n  [x, y],\n  [x, y],\n  // and so on...\n]\n```\n\n\n**`pattern.polys`**\n\nThe array of colored polygons that make up the pattern, in the following format:\n\n```js\n// {x, y} center of the first polygon in the pattern\npattern.polys[0].centroid\n\n// [i, i, i] three indexes into the pattern.points array, \n// defining the shape corners\npattern.polys[0].vertexIndices\n\n// Chroma.js color object defining the color of the polygon\npattern.polys[0].color\n```\n\n\n**`pattern.toSVG(destSVG?, svgOpts?)`**\n\nRendering function for SVG. In browser or browser-like (e.g. JSDOM) environments, this will return a SVGElement DOM node. In node environments, this will return a lightweight node tree structure that can be serialized to a valid SVG string using the `toString()` function.\n\nIf an existing svg element is passed as the `destSVG`, this function will render the pattern to the pre-existing element instead of creating a new one.\n\nThe `svgOpts` option allows for some svg-specific customizations to the output:\n\n```js\nconst svgOpts = {\n  // Include or exclude the xmlns='http://www.w3.org/2000/svg' attribute on\n  // the root <svg> tag. See https://github.com/qrohlf/trianglify/issues/41\n  // for additional details on why this is sometimes important\n  includeNamespace: true,\n  // Controls how many decimals to round coordinate values to.\n  // You can set this to -1 to disable rounding. Default is 1.\n  coordinateDecimals: 1\n}\n```\n\n\n**`pattern.toSVGTree(svgOpts?)`**\n\nAlternate rendering function for SVG. Returns a lightweight node tree structure that can be seralized to a valid SVG string using the `toString()` function. In node environments, this is an alias for\n`pattern.toSVG()`.\n\n\n**`pattern.toCanvas(destCanvas?, canvasOpts?)`**\n\nRendering function for canvas. In browser and browser-like environments, returns a Canvas HTMLElement node. In node environments, this will return a node-canvas object which follows [a superset of the Web Canvas API](https://github.com/Automattic/node-canvas#documentation).\n\nIf an existing canvas element is passed as the `destCanvas`, this function will render the pattern to the pre-existing element instead of creating a new one.\n\nTo use this in a node.js environment, the optional dependency [node-canvas](https://github.com/Automattic/node-canvas) needs to be installed as a dependency of your project `npm install -save canvas`.\n\nThe `canvasOpts` option allows for some canvas-specific customizations to the output:\n\n```js\nconst canvasOpts = {\n  // determines how the canvas is rendered on high-DPI (aka \"retina\") devices.\n  // - 'auto' will automatically render the canvas at the appropriate scale ratio\n  //   for pixel-perfect display.\n  // - a numeric value will render the canvas at that specific scale factor\n  //   for example, 2.0 will render it at 2x resolution, wheras 0.5 will render\n  //   at half resolution\n  // - 'false' will disable scaling, and the canvas will be rendered at the \n  //   exact resolution specified by `width, height`\n  scaling: 'auto',\n  // if the canvas is rendered at a different resolution than the {width, height}\n  // trianglify will apply some inline style attributes to scale it back to\n  // the requested {width, height} options. Set applyCssScaling to false to \n  // disable this behavior.\n  applyCssScaling: true\n}\n```\n\n# 🎨 Configuration\n\nTrianglify is configured by an options object passed in as the only argument. The following option keys are supported, see below for a complete description of what each option does.\n\n```js\nconst defaultOptions = {\n  width: 600,\n  height: 400,\n  cellSize: 75,\n  variance: 0.75,\n  seed: null,\n  xColors: 'random',\n  yColors: 'match',\n  fill: true,\n  palette: trianglify.colorbrewer,\n  colorSpace: 'lab',\n  colorFunction: trianglify.colorFunctions.interpolateLinear(0.5),\n  strokeWidth: 0,\n  points: null\n}\n```\n\n**`width`**\n\nInteger, defaults to `600`. Specify the width in pixels of the pattern to generate.\n\n**`height`**\n\nInteger, defaults to `400`. Specify the height in pixels of the pattern to generate.\n\n**`cellSize`**\n\nInteger, defaults to `75`. Specify the size in pixels of the mesh used to generate triangles. Larger values will result in coarser patterns, smaller values will result in finer patterns. Note that very small values may dramatically increase the runtime of Trianglify.\n\n**`variance`**\n\nDecimal value between 0 and 1 (inclusive), defaults to `0.75`. Specify the amount of randomness used when generating triangles. You may set this higher than 1, but doing so may result in patterns that include \"gaps\" at the edges.\n\n**`seed`**\n\nString, defaults to `null`. Seeds the random number generator to create repeatable patterns. When set to null, the RNG will be seeded with random values from the environment. An example usage would be passing in blog post titles as the seed to generate unique but consistient trianglify patterns for every post on a blog site.\n\n**`xColors`**\n\nFalse, string, or array of CSS-formatted colors, default is `'random'`. Specify the color gradient used on the x axis.\n\nValid string values are 'random', or the name of a [colorbrewer palette](http://bl.ocks.org/mbostock/5577023) (i.e. 'YlGnBu' or 'RdBu'). When set to 'random', a gradient will be randomly selected from the colorbrewer library.\n\nValid array values should specify the color stops in any CSS format (i.e. `['#000000', '#4CAFE8', '#FFFFFF']`).\n\n**`yColors`**\n\nFalse, string or array of CSS-formatted colors, default is `'match'`. When set to 'match' the x-axis color gradient will be used on both axes. Otherwise, accepts the same options as xColors.\n\n**`palette`**\n\nThe array of color combinations to pick from when using `random` for the xColors or yColors. See [`src/utils/colorbrewer.js`](./src/utils/colorbrewer.js) for the format of this data.\n\n**`colorSpace`**\n\nString, defaults to `'lab'`. Set the color space used for generating gradients. Supported values are rgb, hsv, hsl, hsi, lab and hcl. See this [blog post](https://vis4.net/blog/posts/avoid-equidistant-hsv-colors/) for some background on why this matters.\n\n**`colorFunction`**\n\nSpecify a custom function for coloring triangles, defaults to `null`. Accepts a function to override the standard gradient coloring, which is passed a variety of data about the pattern and each polygon and must return a Chroma.js color object.\n\nSee [`examples/color-function-example.html`](./examples/color-function-example.html) and [`src/utils/colorFunctions.js`](./src/utils/colorFunctions.js) for more information about the built-in color functions, and how to write custom color functions.\n\n**`fill`**\n\nBoolean, defaults to `true`. Specifies whether the polygons generated by Trianglify should be filled in.\n\n**`strokeWidth`**\n\nNumber, defaults to 0. Specify the width of the strokes used to outline the polygons. This can be used in conjunction with `fill: false` to generate weblike patterns.\n\n**`points`**\n\nArray of points ([x, y]) to triangulate, defaults to null. When not specified an array randomised points is generated filling the space. Points must be within the coordinate space defined by `width` and `height`. See [`examples/custom-points-example.html`](./examples/custom-points-example.html) for a demonstration of how this option can be used to generate circular trianglify patterns.\n"
  },
  {
    "path": "changelog.txt",
    "content": "v4\n- ground-up port to ES2015\n- support for node-canvas 2.6\n- comprehensive test suite\n- support for rendering wireframe patterns (no fill, just stroke)\n- colorFunction has a new method signature that allows for more powerful customization\n- new built-in colorFunctions: 'sparkle' and 'shadows'\n- all-new example code, see examples directory\n- all option keys are now camelCase, not snake_case\n- antialiasing issues resolved for both SVG and Canvas rendering engines (#87, #30, #76)\n- canvas rendering is now retina-ready by default\n- removed dependency on seedrandom\n- removed dependency on jsdom\n\nv3\n- close paths when rendering to canvas (thanks @Allidylls)\n- bump a few dependencies for security\n"
  },
  {
    "path": "examples/basic-web-example.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n    <title>Trianglify Basic Example</title>\n    <style>\n    html, body {\n      margin: 0 0;\n      padding: 0 0;\n      text-align: center;\n      font-size: 0;\n      background: #000;\n    }\n\n    svg, canvas {\n      padding-bottom: 30px;\n      text-align: center;\n    }\n    </style>\n  </head>\n  <body>\n  <!-- This is the standalone build of Trianglify. It's easy to drop in to a\n  project without any need for bundlers or dependency management, but in most\n  modern web projects you will probably want to use the NPM module instead -->\n  <script src=\"../dist/trianglify.bundle.debug.js\"></script>\n  <script>\n    const pattern = trianglify({\n      cellSize: 50,\n      width: window.innerWidth * 0.8,\n      height: (window.innerHeight - 4 * 30) / 4\n    })\n\n    // Render to SVG\n    document.body.appendChild(pattern.toSVG())\n    // Render to Canvas\n    document.body.appendChild(pattern.toCanvas())\n\n    // stroke-only\n    const strokeOnly = trianglify({\n      cellSize: 75,\n      width: window.innerWidth * 0.8,\n      height: (window.innerHeight - 4 * 30) / 4,\n      fill: false,\n      strokeWidth: 1\n    })\n    document.body.appendChild(strokeOnly.toSVG())\n    document.body.appendChild(strokeOnly.toCanvas())\n  </script>\n  </body>\n</html>\n"
  },
  {
    "path": "examples/color-function-example.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n    <title>Trianglify Basic Example</title>\n    <style>\n    html, body {\n      margin: 0 0;\n      padding: 0 0;\n      text-align: center;\n      background: #000;\n      font-family: system-ui;\n    }\n\n    h1 {\n      font-size: 18px;\n    }\n\n    .demo {\n      background: #FFF;\n      display: inline-block;\n      padding: 20px;\n      margin: 20px;\n    }\n    </style>\n  </head>\n  <body>\n  <!-- This is the standalone build of Trianglify. It's easy to drop in to a\n  project without any need for bundlers or dependency management, but in most\n  modern web projects you will probably want to use the NPM module instead -->\n  <script src=\"../dist/trianglify.bundle.debug.js\"></script>\n  <script>\n\n    const JITTER_FACTOR = 0.2\n\n\n    // utility for building up HTML trees\n    const h = (tagName, attrs = {}, children = []) => {\n      const elem = document.createElement(tagName)\n      attrs && Object.keys(attrs).forEach(\n        k => attrs[k] !== undefined && elem.setAttribute(k, attrs[k])\n      )\n      children && children.forEach(c => elem.appendChild(c))\n      return elem\n    }\n\n    const addToPage = (pattern, description) => {\n      document.body.appendChild(h('div', {'class': 'demo'}, [\n          pattern.toCanvas(),\n          h('h1', null, [document.createTextNode(description)])\n        ]\n      ))\n    }\n\n    // use the same seed for everything, to allow for easier comparisons\n    const seed = 'pears'\n\n    // Example 1: you can use the built-in color functions to customize the\n    // color rendering of Trianglify. Here, we use the 'sparkle' color\n    // function to apply a 10% jitter to the normal color gradients, which\n    // will yield a glitter-like effect.\n    const sparkle = trianglify({\n      seed,\n      width: 400,\n      height: 300,\n      cellSize: 15,\n      colorFunction: trianglify.colorFunctions.sparkle(0.2)\n    })\n    addToPage(sparkle, 'trianglify.colorFunctions.sparkle(0.2)')\n\n    // Example 2: you can use the interpolateLinear color function to\n    // customize how much the x or y gradient dominates the image.\n    // Higher values for the bias will result in a more pronounced x-gradient,\n    // while lower values will results in a more pronounced y-gradient\n    const interpolate = trianglify({\n      seed,\n      width: 400,\n      height: 300,\n      cellSize: 15,\n      colorFunction: trianglify.colorFunctions.interpolateLinear(0.1)\n    })\n    addToPage(interpolate, 'trianglify.colorFunctions.interpolateLinear(0.1)')\n\n\n    // Example 2: the shadows color function applies a faux-3d effect to the\n    // pattern. This works best with subtle gradients and solid colors.\n    const shadows = trianglify({\n      seed,\n      width: 400,\n      height: 300,\n      cellSize: 15,\n      colorFunction: trianglify.colorFunctions.shadows()\n    })\n    addToPage(shadows, 'trianglify.colorFunctions.shadows()')\n\n    // Example 4: you can write your own custom color function to have\n    // total control over how the polygons are given color values.\n    //\n    // Here, we apply the xScale colors as a radial gradient:\n\n    // define a custom color function that applies a radial gradient:\n    const radialGradient = (radius) => ({centroid, xScale}) => {\n      const distanceFromCenter = Math.sqrt(\n        Math.pow(200 - centroid.x, 2) + Math.pow(150 - centroid.y, 2)\n      )\n      return(xScale(distanceFromCenter / radius))\n    }\n    // figure out the gradient radius required to cover the image dimensions:\n    const gradientRadius = Math.sqrt(\n      Math.pow(400 / 2, 2) + Math.pow(300 / 2, 2)\n    )\n    const radial = trianglify({\n      seed,\n      width: 400,\n      height: 300,\n      cellSize: 15,\n      colorFunction: radialGradient(gradientRadius)\n    })\n    addToPage(radial, 'custom radial gradient')\n  </script>\n  </body>\n</html>\n"
  },
  {
    "path": "examples/custom-points-example.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n    <title>Trianglify custom points example</title>\n    <style>\n    html, body {\n      margin: 0 0;\n      padding: 0 0;\n      text-align: center;\n      font-size: 0;\n    }\n    </style>\n  </head>\n  <body>\n  <script src=\"../dist/trianglify.bundle.debug.js\"></script>\n  <script>\n  const width = 700\n  const height = 700\n\n\n  // generate a spiral using polar coordinates\n  const points = []\n  const NUM_POINTS = 150\n  let r = 0\n  const rStep = width / 2 / NUM_POINTS\n  let theta = 0\n  const thetaStep = Math.PI / NUM_POINTS * 18\n  for (let i = 0; i < NUM_POINTS; i++) {\n    const x = width / 2 + r * Math.cos(theta)\n    const y = height / 2 + r * Math.sin(theta)\n    const point = [x, y]\n    points.push(point)\n    r += rStep\n    theta = (theta + thetaStep) % (2 * Math.PI)\n  }\n\n\n  // apply trianglify to convert the points to polygons and apply the color\n  // gradient\n  var pattern = trianglify({height, width, points})\n\n  // use the toCanvas function to render the generated geometry to an HTML5\n  // canvas element\n  document.body.appendChild(pattern.toCanvas())\n  </script>\n  </body>\n</html>\n"
  },
  {
    "path": "examples/destsvg-example.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n    <title>Trianglify Basic Example</title>\n    <style>\n    html, body {\n      margin: 0 0;\n      padding: 0 0;\n      text-align: center;\n      font-size: 0;\n      background: #000;\n    }\n\n    svg, canvas {\n      padding-bottom: 30px;\n      text-align: center;\n    }\n    </style>\n  </head>\n  <body>\n  <svg id=\"svg-element\" />\n  <!-- This is the standalone build of Trianglify. It's easy to drop in to a\n  project without any need for bundlers or dependency management, but in most\n  modern web projects you will probably want to use the NPM module instead -->\n  <script src=\"../dist/trianglify.bundle.debug.js\"></script>\n  <script>\n    const pattern = trianglify({\n      cellSize: 50,\n      width: window.innerWidth * 0.8,\n      height: (window.innerHeight - 4 * 30) / 4\n    })\n\n    const existingSVGElement = document.getElementById('svg-element')\n\n    // Render to SVG\n    pattern.toSVG(existingSVGElement)\n  </script>\n  </body>\n</html>\n"
  },
  {
    "path": "examples/save-as-png.js",
    "content": "// Basic command-line example\n// Usage: node save-as-png.js\nvar fs = require('fs')\nvar trianglify = require('../dist/trianglify.js')\n\n// Generate a pattern and then grab the PNG data uri\nconst canvas = trianglify({\n  width: 1920,\n  height: 1080,\n  cellSize: Math.random() * 200 + 40,\n  xColors: 'random',\n  variance: Math.random()\n}).toCanvas()\n\n// Save the buffer to a file. See the node-canvas docs for a full\n// list of all the things you can do with this Canvas object:\n// https://github.com/Automattic/node-canvas\nconst file = fs.createWriteStream('trianglify.png')\ncanvas.createPNGStream().pipe(file)\n"
  },
  {
    "path": "examples/save-as-svg.js",
    "content": "// Basic command-line example\n// Usage: node save-as-svg.js\nvar fs = require('fs')\nvar trianglify = require('../dist/trianglify.js')\n\n// Generate a pattern and render to an SVG node tree\nconst svg = trianglify({\n  width: 1920,\n  height: 1080,\n  cellSize: Math.random() * 200 + 40,\n  xColors: 'random',\n  variance: Math.random()\n}).toSVG()\n\n// Save the string to a file\nfs.writeFileSync('trianglify.svg', svg.toString())\n"
  },
  {
    "path": "examples/transparency-example.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n    <title>Trianglify transparency example</title>\n    <style>\n    html, body {\n      margin: 0 0;\n      padding: 0 0;\n      text-align: center;\n      font-size: 0;\n      height: 100%;\n      width: 100%;\n    }\n    #gradient-rotate {\n      position: absolute;\n      top: 0;\n      right: 0;\n      bottom: 0;\n      left: 0;\n      width: 100vw;\n      height: 100vh;\n    }\n    #trianglify-overlay {\n      position: absolute;\n      top: 0;\n      right: 0;\n      bottom: 0;\n      left: 0;\n      width: 100vw;\n      height: 100vh;\n    }\n    #color-stop-1 {\n      -webkit-animation: change-color-1 12s ease-in-out infinite alternate;\n      animation: change-color-1 12s ease-in-out infinite alternate\n    }\n\n    #color-stop-2 {\n      -webkit-animation: change-color-2 12s ease-in-out infinite alternate;\n      animation: change-color-2 12s ease-in-out infinite alternate\n    }\n\n    #color-stop-3 {\n      -webkit-animation: change-color-3 12s ease-in-out infinite alternate;\n      animation: change-color-3 12s ease-in-out infinite alternate\n    }\n    @keyframes change-color-1 {\n      0% {\n        stop-color: #22C8F6\n      }\n\n      25% {\n        stop-color: #ff0\n      }\n\n      50% {\n        stop-color: #00ffcb\n      }\n\n      75% {\n        stop-color: #70ff00\n      }\n    }\n    @keyframes change-color-2 {\n      0% {\n        stop-color: #20C498\n      }\n\n      25% {\n        stop-color: #ff00ad\n      }\n\n      350% {\n        stop-color: #d480ff\n      }\n\n      75% {\n        stop-color: #ff9200\n      }\n    }\n    @keyframes change-color-3 {\n      0% {\n        stop-color: #189932\n      }\n\n      25% {\n        stop-color: #c300cb\n      }\n\n      50% {\n        stop-color: #5600d4\n      }\n\n      75% {\n        stop-color: #ff46dc\n      }\n    }\n    </style>\n  </head>\n  <body>\n  <svg id=\"gradient-rotate\" preserveAspectRatio=\"none\" viewBox=\"0 0 500 500\">\n    <defs>\n      <linearGradient x1=\"0%\" y1=\"0%\" y2=\"100%\" id=\"a\">\n        <stop id=\"color-stop-1\" stop-color=\"#22C8F6\" offset=\"0%\"></stop>\n        <stop id=\"color-stop-2\" stop-color=\"#20C498\" offset=\"65%\"></stop>\n        <stop id=\"color-stop-3\" stop-color=\"#189932\" offset=\"100%\"></stop>\n      </linearGradient>\n    </defs>\n    <path fill=\"url(#a)\" d=\"M0 0h500v500H0z\"></path>\n  </svg>\n  <script src=\"../dist/trianglify.bundle.debug.js\"></script>\n  <script>\n  // set up the base pattern\n  const pattern = trianglify({\n    height: window.innerHeight,\n    width: window.innerWidth,\n    xColors: ['rgba(255, 255, 255, 0.1)', 'rgba(255, 255, 255, 1)'],\n    yColors: 'match',\n    cellSize: Math.ceil(window.innerWidth / 8)\n  })\n  var svg = pattern.toSVG()\n  svg.id = 'trianglify-overlay'\n  document.body.appendChild(svg)\n  </script>\n  </body>\n</html>\n"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"trianglify\",\n  \"version\": \"4.1.1\",\n  \"description\": \"Trianglify is a javascript library for generating colorful triangle meshes that can be used as SVG images and CSS backgrounds.\",\n  \"main\": \"dist/trianglify.js\",\n  \"scripts\": {\n    \"lint\": \"standard\",\n    \"test\": \"jest\",\n    \"build\": \"rollup -c\",\n    \"dev\": \"rollup -c -w\",\n    \"publish-beta\": \"npm run build && npm publish --tag next\",\n    \"ci\": \"npm run lint && npm run build && npm run test\"\n  },\n  \"dependencies\": {\n    \"chroma-js\": \"^2.1.0\",\n    \"delaunator\": \"^4.0.1\",\n    \"canvas\": \"^2.6.1\"\n  },\n  \"directories\": {\n    \"example\": \"examples\"\n  },\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"git://github.com/qrohlf/trianglify.git\"\n  },\n  \"keywords\": [\n    \"svg\",\n    \"canvas\",\n    \"visualization\",\n    \"pattern\",\n    \"lowpoly\"\n  ],\n  \"standard\": {\n    \"parser\": \"babel-eslint\",\n    \"ignore\": [\n      \"dist\",\n      \"**/vendor/**\"\n    ]\n  },\n  \"jest\": {\n    \"setupFiles\": [\n      \"jest-canvas-mock\"\n    ]\n  },\n  \"author\": \"Quinn Rohlf <qr@qrohlf.com>\",\n  \"license\": \"GPL-3.0\",\n  \"bugs\": {\n    \"url\": \"https://github.com/qrohlf/trianglify/issues\"\n  },\n  \"homepage\": \"https://github.com/qrohlf/trianglify\",\n  \"devDependencies\": {\n    \"@babel/plugin-proposal-class-properties\": \"^7.8.3\",\n    \"@babel/plugin-syntax-class-properties\": \"^7.8.3\",\n    \"@babel/preset-env\": \"^7.9.6\",\n    \"@rollup/plugin-babel\": \"^5.0.0\",\n    \"@rollup/plugin-commonjs\": \"^11.1.0\",\n    \"@rollup/plugin-node-resolve\": \"^7.1.3\",\n    \"babel-eslint\": \"^10.1.0\",\n    \"jest\": \"^25.5.4\",\n    \"jest-canvas-mock\": \"^2.2.0\",\n    \"rollup\": \"^2.7.2\",\n    \"rollup-plugin-bundle-size\": \"^1.0.3\",\n    \"rollup-plugin-terser\": \"^5.3.0\",\n    \"standard\": \"^14.3.3\"\n  }\n}\n"
  },
  {
    "path": "rollup.config.js",
    "content": "import commonjs from '@rollup/plugin-commonjs'\nimport resolve from '@rollup/plugin-node-resolve'\nimport babel from '@rollup/plugin-babel'\nimport { terser } from 'rollup-plugin-terser'\nimport bundleSize from 'rollup-plugin-bundle-size'\nimport pkg from './package.json'\n\nexport default [\n  { // build for node & module bundlers\n    input: 'src/trianglify.js',\n    external: ['chroma-js', 'delaunator', 'canvas'],\n    plugins: [babel({ babelHelpers: 'bundled' }), bundleSize()],\n    output: { file: pkg.main, format: 'cjs' }\n  },\n  {\n    // build minified bundle to be used standalone for browser use\n    // note: // chroma.js weighs 40k minified, a smaller solution would be nice\n    input: 'src/trianglify.js',\n    plugins: [terser({ output: { comments: false } }), resolve({ browser: true }), commonjs(), babel({ babelHelpers: 'bundled' }), bundleSize()],\n    output: { file: 'dist/trianglify.bundle.js', format: 'umd', name: 'trianglify' }\n  },\n  {\n    // build non-minified bundle to be used for debugging\n    input: 'src/trianglify.js',\n    plugins: [resolve({ browser: true }), commonjs(), babel({ babelHelpers: 'bundled' }), bundleSize()],\n    output: { file: 'dist/trianglify.bundle.debug.js', format: 'umd', name: 'trianglify' }\n  }\n]\n"
  },
  {
    "path": "src/__snapshots__/trianglify.browser.test.js.snap",
    "content": "// Jest Snapshot v1, https://goo.gl/fbAQLP\n\nexports[`Pattern generation should match snapshot for non-breaking version bumps 1`] = `\n<svg\n  height=\"400\"\n  width=\"600\"\n  xmlns=\"http://www.w3.org/2000/svg\"\n>\n  <path\n    d=\"M342.9,227.4L356,297.7L390.3,294.6Z\"\n    fill=\"rgb(230,107,18)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M390.3,294.6L396.5,178.3L342.9,227.4Z\"\n    fill=\"rgb(239,119,23)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M234.9,206.1L285,271.2L342.9,227.4Z\"\n    fill=\"rgb(248,143,37)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M342.9,227.4L285,271.2L356,297.7Z\"\n    fill=\"rgb(237,120,24)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M390.3,294.6L491.3,250.7L396.5,178.3Z\"\n    fill=\"rgb(227,104,16)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M270.7,350.3L316.2,368.3L356,297.7Z\"\n    fill=\"rgb(207,101,20)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M356,297.7L407.8,377.2L390.3,294.6Z\"\n    fill=\"rgb(206,86,10)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M390.3,294.6L505.4,325.1L491.3,250.7Z\"\n    fill=\"rgb(203,78,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M388.1,135.7L357.9,136.8L396.5,178.3Z\"\n    fill=\"rgb(245,154,50)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M396.5,178.3L357.9,136.8L342.9,227.4Z\"\n    fill=\"rgb(247,144,40)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M499.8,175.6L388.1,135.7L396.5,178.3Z\"\n    fill=\"rgb(235,137,40)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M316.2,368.3L407.8,377.2L356,297.7Z\"\n    fill=\"rgb(197,86,13)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M285,271.2L270.7,350.3L356,297.7Z\"\n    fill=\"rgb(225,113,21)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M259.2,131.7L234.9,206.1L342.9,227.4Z\"\n    fill=\"rgb(254,164,51)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M285,271.2L202,340.9L270.7,350.3Z\"\n    fill=\"rgb(219,124,35)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M407.8,377.2L505.4,325.1L390.3,294.6Z\"\n    fill=\"rgb(190,72,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M560.9,258.4L499.8,175.6L491.3,250.7Z\"\n    fill=\"rgb(200,92,16)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M491.3,250.7L499.8,175.6L396.5,178.3Z\"\n    fill=\"rgb(225,113,22)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M234.9,206.1L207.1,227.9L285,271.2Z\"\n    fill=\"rgb(249,156,49)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M344.6,57.3L259.2,131.7L357.9,136.8Z\"\n    fill=\"rgb(255,182,87)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M357.9,136.8L259.2,131.7L342.9,227.4Z\"\n    fill=\"rgb(252,163,52)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M234.9,206.1L196.4,142.7L207.1,227.9Z\"\n    fill=\"rgb(255,181,69)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M235,443.7L333.1,435.1L316.2,368.3Z\"\n    fill=\"rgb(175,94,24)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M316.2,368.3L333.1,435.1L407.8,377.2Z\"\n    fill=\"rgb(173,80,16)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M407.8,377.2L495.3,411.4L505.4,325.1Z\"\n    fill=\"rgb(160,57,5)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M333.1,435.1L438.6,425.2L407.8,377.2Z\"\n    fill=\"rgb(163,69,12)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M178.4,252.9L202,340.9L285,271.2Z\"\n    fill=\"rgb(235,143,46)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M270.7,350.3L235,443.7L316.2,368.3Z\"\n    fill=\"rgb(183,103,29)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M564.8,355.1L560.9,258.4L505.4,325.1Z\"\n    fill=\"rgb(165,59,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M505.4,325.1L560.9,258.4L491.3,250.7Z\"\n    fill=\"rgb(187,73,6)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M108.6,206.2L178.4,252.9L207.1,227.9Z\"\n    fill=\"rgb(252,176,83)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M207.1,227.9L178.4,252.9L285,271.2Z\"\n    fill=\"rgb(246,155,51)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M438.6,425.2L495.3,411.4L407.8,377.2Z\"\n    fill=\"rgb(152,57,7)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M407.6,22.7L344.6,57.3L388.1,135.7Z\"\n    fill=\"rgb(250,175,97)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M388.1,135.7L344.6,57.3L357.9,136.8Z\"\n    fill=\"rgb(250,171,80)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M201.9,26.9L196.4,142.7L259.2,131.7Z\"\n    fill=\"rgb(255,213,115)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M259.2,131.7L196.4,142.7L234.9,206.1Z\"\n    fill=\"rgb(254,190,74)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M580.8,103L506.2,98.2L499.8,175.6Z\"\n    fill=\"rgb(204,131,57)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M499.8,175.6L506.2,98.2L388.1,135.7Z\"\n    fill=\"rgb(227,139,52)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M134.1,328.3L209.2,402.4L202,340.9Z\"\n    fill=\"rgb(202,131,60)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M202,340.9L209.2,402.4L270.7,350.3Z\"\n    fill=\"rgb(196,120,40)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M495.3,411.4L564.8,355.1L505.4,325.1Z\"\n    fill=\"rgb(147,50,5)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M560.9,258.4L587.3,208.1L499.8,175.6Z\"\n    fill=\"rgb(191,94,19)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M651.7,272.4L587.3,208.1L560.9,258.4Z\"\n    fill=\"rgb(167,75,14)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M240.9,512.2L358.9,485.8L333.1,435.1Z\"\n    fill=\"rgb(174,90,22)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M333.1,435.1L358.9,485.8L438.6,425.2Z\"\n    fill=\"rgb(166,73,14)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M438.6,425.2L503.8,479.3L495.3,411.4Z\"\n    fill=\"rgb(142,51,6)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M209.2,402.4L235,443.7L270.7,350.3Z\"\n    fill=\"rgb(177,110,38)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M536.2,22.2L473.1,47.6L506.2,98.2Z\"\n    fill=\"rgb(217,151,93)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M506.2,98.2L473.1,47.6L388.1,135.7Z\"\n    fill=\"rgb(232,154,79)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M358.9,485.8L391.2,495.1L438.6,425.2Z\"\n    fill=\"rgb(162,68,12)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M473.1,47.6L407.6,22.7L388.1,135.7Z\"\n    fill=\"rgb(242,166,94)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M124.7,294.2L134.1,328.3L178.4,252.9Z\"\n    fill=\"rgb(237,157,80)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M178.4,252.9L134.1,328.3L202,340.9Z\"\n    fill=\"rgb(229,147,67)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M162.8,515.4L240.9,512.2L235,443.7Z\"\n    fill=\"rgb(177,116,46)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M495.3,411.4L566.2,407.4L564.8,355.1Z\"\n    fill=\"rgb(126,44,6)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M564.8,355.1L651.7,272.4L560.9,258.4Z\"\n    fill=\"rgb(155,58,7)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M503.8,479.3L566.2,407.4L495.3,411.4Z\"\n    fill=\"rgb(128,45,6)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M108.6,206.2L124.7,294.2L178.4,252.9Z\"\n    fill=\"rgb(250,172,89)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M344.6,57.3L273.5,26.7L259.2,131.7Z\"\n    fill=\"rgb(255,198,110)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M273,-16.7L273.5,26.7L336.7,-43.1Z\"\n    fill=\"rgb(255,205,139)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M391.2,495.1L503.8,479.3L438.6,425.2Z\"\n    fill=\"rgb(152,57,7)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M587.3,208.1L580.8,103L499.8,175.6Z\"\n    fill=\"rgb(192,115,36)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M139.1,109.6L108.6,206.2L196.4,142.7Z\"\n    fill=\"rgb(255,211,112)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M196.4,142.7L108.6,206.2L207.1,227.9Z\"\n    fill=\"rgb(255,189,89)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M201.9,26.9L139.1,109.6L196.4,142.7Z\"\n    fill=\"rgb(255,222,136)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M654.3,350.8L651.7,272.4L564.8,355.1Z\"\n    fill=\"rgb(139,50,6)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M587.3,208.1L630.4,103.1L580.8,103Z\"\n    fill=\"rgb(177,117,48)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M162.8,515.4L235,443.7L209.2,402.4Z\"\n    fill=\"rgb(177,118,50)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M235,443.7L240.9,512.2L333.1,435.1Z\"\n    fill=\"rgb(176,101,30)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M358.9,485.8L240.9,512.2L391.2,495.1Z\"\n    fill=\"rgb(172,85,19)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M273,-16.7L201.9,26.9L273.5,26.7Z\"\n    fill=\"rgb(255,217,145)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M273.5,26.7L201.9,26.9L259.2,131.7Z\"\n    fill=\"rgb(255,213,125)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M638.2,509.9L620.1,400.3L566.2,407.4Z\"\n    fill=\"rgb(102,37,6)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M566.2,407.4L620.1,400.3L564.8,355.1Z\"\n    fill=\"rgb(114,40,6)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M514.5,-43.8L386.6,-31L407.6,22.7Z\"\n    fill=\"rgb(243,170,120)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M580.8,103L536.2,22.2L506.2,98.2Z\"\n    fill=\"rgb(203,142,83)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M514.5,-43.8L407.6,22.7L473.1,47.6Z\"\n    fill=\"rgb(234,163,114)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M407.6,22.7L386.6,-31L344.6,57.3Z\"\n    fill=\"rgb(254,182,120)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M336.7,-43.1L273.5,26.7L344.6,57.3Z\"\n    fill=\"rgb(255,198,130)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M651.7,272.4L663.5,223.8L587.3,208.1Z\"\n    fill=\"rgb(169,79,17)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M580.8,103L609.7,27.6L536.2,22.2Z\"\n    fill=\"rgb(190,141,92)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M620.1,400.3L654.3,350.8L564.8,355.1Z\"\n    fill=\"rgb(118,42,6)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M726.1,259.6L686.3,206L663.5,223.8Z\"\n    fill=\"rgb(170,81,18)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M663.5,223.8L630.4,103.1L587.3,208.1Z\"\n    fill=\"rgb(176,102,31)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M386.6,-31L336.7,-43.1L344.6,57.3Z\"\n    fill=\"rgb(255,189,130)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M124.7,294.2L54.7,300.1L134.1,328.3Z\"\n    fill=\"rgb(232,157,89)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M134.1,328.3L89.3,429.4L209.2,402.4Z\"\n    fill=\"rgb(186,132,74)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M108.6,206.2L54.7,300.1L124.7,294.2Z\"\n    fill=\"rgb(247,172,98)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M11.8,176.7L54.7,300.1L108.6,206.2Z\"\n    fill=\"rgb(255,190,116)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M726.1,259.6L663.5,223.8L651.7,272.4Z\"\n    fill=\"rgb(166,72,13)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M663.5,223.8L686.3,206L630.4,103.1Z\"\n    fill=\"rgb(176,102,31)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M391.2,495.1L564.2,521.7L503.8,479.3Z\"\n    fill=\"rgb(139,50,6)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M503.8,479.3L564.2,521.7L566.2,407.4Z\"\n    fill=\"rgb(120,43,6)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M702,425.1L689.2,351.7L654.3,350.8Z\"\n    fill=\"rgb(114,41,6)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M240.9,512.2L564.2,521.7L391.2,495.1Z\"\n    fill=\"rgb(162,68,11)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M54.7,300.1L89.3,429.4L134.1,328.3Z\"\n    fill=\"rgb(208,146,89)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M89.3,429.4L162.8,515.4L209.2,402.4Z\"\n    fill=\"rgb(178,127,70)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M240.9,512.2L111.9,519.8L564.2,521.7Z\"\n    fill=\"rgb(174,91,22)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M702,425.1L654.3,350.8L620.1,400.3Z\"\n    fill=\"rgb(106,38,6)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M654.3,350.8L689.2,351.7L651.7,272.4Z\"\n    fill=\"rgb(139,50,6)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M201.9,26.9L106.2,41.2L139.1,109.6Z\"\n    fill=\"rgb(255,235,163)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M18.5,119.3L11.8,176.7L108.6,206.2Z\"\n    fill=\"rgb(255,215,137)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M241.2,-79.6L164.3,-3.1L201.9,26.9Z\"\n    fill=\"rgb(255,230,165)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M241.2,-79.6L201.9,26.9L273,-16.7Z\"\n    fill=\"rgb(255,221,152)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M705,57.6L609.7,27.6L630.4,103.1Z\"\n    fill=\"rgb(180,135,86)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M630.4,103.1L609.7,27.6L580.8,103Z\"\n    fill=\"rgb(179,132,80)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M536.2,22.2L514.5,-43.8L473.1,47.6Z\"\n    fill=\"rgb(219,155,111)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M570,-27.1L514.5,-43.8L536.2,22.2Z\"\n    fill=\"rgb(207,150,113)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M439.5,-114.5L311.2,-75.7L336.7,-43.1Z\"\n    fill=\"rgb(255,187,129)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M439.5,-114.5L336.7,-43.1L386.6,-31Z\"\n    fill=\"rgb(253,181,126)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M336.7,-43.1L311.2,-75.7L273,-16.7Z\"\n    fill=\"rgb(255,202,137)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M164.3,-3.1L106.2,41.2L201.9,26.9Z\"\n    fill=\"rgb(255,238,175)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M686.3,206L686.9,119.5L630.4,103.1Z\"\n    fill=\"rgb(177,116,45)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M726.1,259.6L686.9,119.5L686.3,206Z\"\n    fill=\"rgb(175,95,25)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M609.7,27.6L570,-27.1L536.2,22.2Z\"\n    fill=\"rgb(194,145,109)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M642.4,-47.5L570,-27.1L609.7,27.6Z\"\n    fill=\"rgb(183,141,110)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M689.2,351.7L726.1,259.6L651.7,272.4Z\"\n    fill=\"rgb(153,58,7)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M311.2,-75.7L241.2,-79.6L273,-16.7Z\"\n    fill=\"rgb(255,211,144)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M164.3,-3.1L139.9,-29.7L106.2,41.2Z\"\n    fill=\"rgb(255,242,190)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M47.6,452.4L111.9,519.8L89.3,429.4Z\"\n    fill=\"rgb(180,136,89)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M89.3,429.4L111.9,519.8L162.8,515.4Z\"\n    fill=\"rgb(179,132,79)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M162.8,515.4L111.9,519.8L240.9,512.2Z\"\n    fill=\"rgb(178,124,63)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M18.5,119.3L108.6,206.2L139.1,109.6Z\"\n    fill=\"rgb(255,221,134)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M54.7,300.1L9.7,344.5L89.3,429.4Z\"\n    fill=\"rgb(206,148,100)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M564.2,521.7L638.2,509.9L566.2,407.4Z\"\n    fill=\"rgb(105,38,6)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M689.2,351.7L702,425.1L726.1,259.6Z\"\n    fill=\"rgb(129,46,6)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M241.2,-79.6L139.9,-29.7L164.3,-3.1Z\"\n    fill=\"rgb(255,234,174)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M45.4,57.6L18.5,119.3L139.1,109.6Z\"\n    fill=\"rgb(255,238,170)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-9.7,287.1L9.7,344.5L54.7,300.1Z\"\n    fill=\"rgb(234,163,112)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M638.2,509.9L702,425.1L620.1,400.3Z\"\n    fill=\"rgb(102,37,6)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M9.7,344.5L47.6,452.4L89.3,429.4Z\"\n    fill=\"rgb(181,139,98)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M45.4,57.6L139.1,109.6L106.2,41.2Z\"\n    fill=\"rgb(255,240,173)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M513.2,-124.5L439.5,-114.5L514.5,-43.8Z\"\n    fill=\"rgb(226,159,116)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M514.5,-43.8L439.5,-114.5L386.6,-31Z\"\n    fill=\"rgb(241,167,119)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M311.2,-75.7L178,-113.2L241.2,-79.6Z\"\n    fill=\"rgb(255,220,151)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M11.8,176.7L-9.7,287.1L54.7,300.1Z\"\n    fill=\"rgb(253,182,121)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-45.6,183.3L-9.7,287.1L11.8,176.7Z\"\n    fill=\"rgb(255,198,135)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M18,-13.9L45.4,57.6L106.2,41.2Z\"\n    fill=\"rgb(255,250,202)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M726.1,259.6L705,57.6L686.9,119.5Z\"\n    fill=\"rgb(176,115,44)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M686.9,119.5L705,57.6L630.4,103.1Z\"\n    fill=\"rgb(179,129,74)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M536.4,-126.6L513.2,-124.5L514.5,-43.8Z\"\n    fill=\"rgb(214,153,113)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M536.4,-126.6L514.5,-43.8L570,-27.1Z\"\n    fill=\"rgb(207,150,113)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M688.9,-34L642.4,-47.5L609.7,27.6Z\"\n    fill=\"rgb(183,141,110)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M241.2,-79.6L178,-113.2L139.9,-29.7Z\"\n    fill=\"rgb(255,233,172)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M139.9,-29.7L18,-13.9L106.2,41.2Z\"\n    fill=\"rgb(255,249,205)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M439.5,-114.5L178,-113.2L311.2,-75.7Z\"\n    fill=\"rgb(255,201,137)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M131,-124.4L178,-113.2L439.5,-114.5Z\"\n    fill=\"rgb(255,218,150)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M657.2,-85.5L536.4,-126.6L570,-27.1Z\"\n    fill=\"rgb(188,143,111)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M513.2,-124.5L131,-124.4L439.5,-114.5Z\"\n    fill=\"rgb(255,188,129)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M638.2,509.9L725.2,482.4L702,425.1Z\"\n    fill=\"rgb(102,37,6)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M702,425.1L725.2,482.4L726.1,259.6Z\"\n    fill=\"rgb(107,39,6)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-62.5,104.1L-45.6,183.3L18.5,119.3Z\"\n    fill=\"rgb(255,230,165)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M18.5,119.3L-45.6,183.3L11.8,176.7Z\"\n    fill=\"rgb(255,221,152)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-62.4,329L-33.1,415.8L9.7,344.5Z\"\n    fill=\"rgb(205,149,112)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-62.4,329L9.7,344.5L-9.7,287.1Z\"\n    fill=\"rgb(229,161,116)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M9.7,344.5L-33.1,415.8L47.6,452.4Z\"\n    fill=\"rgb(182,140,108)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M47.6,452.4L22.8,527.3L111.9,519.8Z\"\n    fill=\"rgb(181,138,95)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M705,57.6L688.9,-34L609.7,27.6Z\"\n    fill=\"rgb(182,140,104)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M642.4,-47.5L657.2,-85.5L570,-27.1Z\"\n    fill=\"rgb(183,141,110)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-92.6,283L-62.4,329L-9.7,287.1Z\"\n    fill=\"rgb(241,167,118)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-41.6,508.7L22.8,527.3L47.6,452.4Z\"\n    fill=\"rgb(182,140,108)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M111.9,519.8L22.8,527.3L564.2,521.7Z\"\n    fill=\"rgb(176,111,39)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M39,-89.3L18,-13.9L139.9,-29.7Z\"\n    fill=\"rgb(255,251,211)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-51.2,56.1L-62.5,104.1L18.5,119.3Z\"\n    fill=\"rgb(255,242,190)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M688.9,-34L657.2,-85.5L642.4,-47.5Z\"\n    fill=\"rgb(183,141,110)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M536.4,-126.6L131,-124.4L513.2,-124.5Z\"\n    fill=\"rgb(252,180,125)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M178,-113.2L131,-124.4L139.9,-29.7Z\"\n    fill=\"rgb(255,241,187)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-51.2,56.1L18.5,119.3L45.4,57.6Z\"\n    fill=\"rgb(255,245,195)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-45.6,183.3L-92.6,283L-9.7,287.1Z\"\n    fill=\"rgb(255,184,127)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-89.1,432L-41.6,508.7L-33.1,415.8Z\"\n    fill=\"rgb(183,141,110)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-103.5,176L-92.6,283L-45.6,183.3Z\"\n    fill=\"rgb(255,198,135)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M18,-13.9L-51.2,56.1L45.4,57.6Z\"\n    fill=\"rgb(255,252,214)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M131,-124.4L39,-89.3L139.9,-29.7Z\"\n    fill=\"rgb(255,247,200)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M18,-13.9L-27.6,-18L-51.2,56.1Z\"\n    fill=\"rgb(255,254,226)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-123.3,147.5L-103.5,176L-62.5,104.1Z\"\n    fill=\"rgb(255,227,160)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-62.5,104.1L-103.5,176L-45.6,183.3Z\"\n    fill=\"rgb(255,223,154)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-33.1,415.8L-41.6,508.7L47.6,452.4Z\"\n    fill=\"rgb(183,141,110)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-89.1,432L-33.1,415.8L-62.4,329Z\"\n    fill=\"rgb(187,143,111)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M39,-89.3L-27.6,-18L18,-13.9Z\"\n    fill=\"rgb(255,254,226)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-118.4,41.5L-123.3,147.5L-62.5,104.1Z\"\n    fill=\"rgb(255,241,188)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-133.7,335.4L-62.4,329L-92.6,283Z\"\n    fill=\"rgb(232,162,117)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-133.7,335.4L-89.1,432L-62.4,329Z\"\n    fill=\"rgb(203,149,112)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-118.4,41.5L-62.5,104.1L-51.2,56.1Z\"\n    fill=\"rgb(255,247,201)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-103.5,176L-133.7,335.4L-92.6,283Z\"\n    fill=\"rgb(251,179,125)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-123.3,147.5L-133.7,335.4L-103.5,176Z\"\n    fill=\"rgb(255,196,134)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M705,57.6L708.8,-126.1L688.9,-34Z\"\n    fill=\"rgb(183,141,110)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M688.9,-34L708.8,-126.1L657.2,-85.5Z\"\n    fill=\"rgb(183,141,110)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M657.2,-85.5L708.8,-126.1L536.4,-126.6Z\"\n    fill=\"rgb(183,141,110)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M726.1,259.6L708.8,-126.1L705,57.6Z\"\n    fill=\"rgb(180,135,86)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M39,-89.3L-16.6,-108.5L-27.6,-18Z\"\n    fill=\"rgb(255,255,229)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-115.8,-25.3L-118.4,41.5L-51.2,56.1Z\"\n    fill=\"rgb(255,253,219)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M131,-124.4L-16.6,-108.5L39,-89.3Z\"\n    fill=\"rgb(255,252,215)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-115.8,-25.3L-51.2,56.1L-27.6,-18Z\"\n    fill=\"rgb(255,255,227)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-123.3,147.5L-115.8,-25.3L-133.7,335.4Z\"\n    fill=\"rgb(255,224,155)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-133.7,335.4L-115.1,485.4L-89.1,432Z\"\n    fill=\"rgb(183,141,110)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-89.1,432L-115.1,485.4L-41.6,508.7Z\"\n    fill=\"rgb(183,141,110)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-109,-104.7L-115.8,-25.3L-27.6,-18Z\"\n    fill=\"rgb(255,255,229)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-118.4,41.5L-115.8,-25.3L-123.3,147.5Z\"\n    fill=\"rgb(255,250,207)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M131,-124.4L-109,-104.7L-16.6,-108.5Z\"\n    fill=\"rgb(255,255,228)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-16.6,-108.5L-109,-104.7L-27.6,-18Z\"\n    fill=\"rgb(255,255,229)\"\n    shape-rendering=\"crispEdges\"\n  />\n</svg>\n`;\n\nexports[`Pattern outputs in browser environment #toSVG supports rendering to the destSVG target 1`] = `\n<svg\n  height=\"400\"\n  width=\"600\"\n  xmlns=\"http://www.w3.org/2000/svg\"\n>\n  <path\n    d=\"M271.8,183.1L241.1,145.4L169.5,190.6Z\"\n    fill=\"rgb(253,166,96)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M169.5,190.6L240.6,249.3L271.8,183.1Z\"\n    fill=\"rgb(253,155,81)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M241.1,145.4L209.1,116.4L169.5,190.6Z\"\n    fill=\"rgb(253,178,113)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M169.5,190.6L183.4,264.3L240.6,249.3Z\"\n    fill=\"rgb(251,152,82)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M337.8,257.9L326.2,179.1L271.8,183.1Z\"\n    fill=\"rgb(251,136,55)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M271.8,183.1L345.4,136L241.1,145.4Z\"\n    fill=\"rgb(254,159,86)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M255,28.1L204.5,67.8L209.1,116.4Z\"\n    fill=\"rgb(255,198,148)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M209.1,116.4L126.4,144.1L169.5,190.6Z\"\n    fill=\"rgb(254,187,128)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M169.5,190.6L110.3,205.9L183.4,264.3Z\"\n    fill=\"rgb(254,167,103)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M126.4,144.1L110.3,205.9L169.5,190.6Z\"\n    fill=\"rgb(255,183,125)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M255,28.1L209.1,116.4L241.1,145.4Z\"\n    fill=\"rgb(254,190,133)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M209.1,116.4L204.5,67.8L126.4,144.1Z\"\n    fill=\"rgb(254,198,146)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M279,335.3L337.8,257.9L240.6,249.3Z\"\n    fill=\"rgb(240,117,42)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M240.6,249.3L337.8,257.9L271.8,183.1Z\"\n    fill=\"rgb(250,134,55)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M414.9,178.7L345.4,136L326.2,179.1Z\"\n    fill=\"rgb(249,139,63)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M326.2,179.1L345.4,136L271.8,183.1Z\"\n    fill=\"rgb(253,149,73)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M110.3,205.9L104.2,278.7L183.4,264.3Z\"\n    fill=\"rgb(253,161,100)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M183.4,264.3L279,335.3L240.6,249.3Z\"\n    fill=\"rgb(241,128,59)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M167.5,358L279,335.3L183.4,264.3Z\"\n    fill=\"rgb(228,125,64)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M43.8,141.2L63.8,217.6L110.3,205.9Z\"\n    fill=\"rgb(255,190,139)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M110.3,205.9L63.8,217.6L104.2,278.7Z\"\n    fill=\"rgb(255,172,116)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M342.8,66.2L255,28.1L241.1,145.4Z\"\n    fill=\"rgb(255,184,127)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M104.2,278.7L167.5,358L183.4,264.3Z\"\n    fill=\"rgb(240,143,86)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M345.4,136L342.8,66.2L241.1,145.4Z\"\n    fill=\"rgb(255,167,101)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M97.6,55.4L43.8,141.2L126.4,144.1Z\"\n    fill=\"rgb(255,212,172)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M126.4,144.1L43.8,141.2L110.3,205.9Z\"\n    fill=\"rgb(255,195,144)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M97.6,55.4L126.4,144.1L204.5,67.8Z\"\n    fill=\"rgb(253,211,169)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M180.5,-3.4L97.6,55.4L204.5,67.8Z\"\n    fill=\"rgb(255,218,183)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M439.7,261.8L414.9,178.7L337.8,257.9Z\"\n    fill=\"rgb(240,107,25)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M337.8,257.9L414.9,178.7L326.2,179.1Z\"\n    fill=\"rgb(248,125,43)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M345.4,136L409.6,105L342.8,66.2Z\"\n    fill=\"rgb(252,159,95)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M255,28.1L180.5,-3.4L204.5,67.8Z\"\n    fill=\"rgb(255,207,166)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M342.8,66.2L262.8,-4.9L255,28.1Z\"\n    fill=\"rgb(255,192,143)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M255,28.1L262.8,-4.9L180.5,-3.4Z\"\n    fill=\"rgb(255,207,166)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M414.9,178.7L409.6,105L345.4,136Z\"\n    fill=\"rgb(247,141,71)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M342.8,66.2L347.7,-31.8L262.8,-4.9Z\"\n    fill=\"rgb(255,188,140)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M98.3,373.8L181.5,397.3L167.5,358Z\"\n    fill=\"rgb(202,127,82)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M167.5,358L264.1,402.7L279,335.3Z\"\n    fill=\"rgb(204,109,52)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M98.3,373.8L167.5,358L104.2,278.7Z\"\n    fill=\"rgb(222,138,91)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M264.1,402.7L359,353.3L279,335.3Z\"\n    fill=\"rgb(203,95,32)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M279,335.3L359,353.3L337.8,257.9Z\"\n    fill=\"rgb(225,99,26)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M181.5,397.3L264.1,402.7L167.5,358Z\"\n    fill=\"rgb(196,113,62)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M409.6,105L385.1,50.1L342.8,66.2Z\"\n    fill=\"rgb(253,163,105)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M15.9,285.3L104.2,278.7L63.8,217.6Z\"\n    fill=\"rgb(254,167,117)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M30.6,329.6L98.3,373.8L104.2,278.7Z\"\n    fill=\"rgb(229,147,105)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M180.5,-3.4L139.8,-13L97.6,55.4Z\"\n    fill=\"rgb(255,226,198)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M97.6,55.4L11.8,55L43.8,141.2Z\"\n    fill=\"rgb(254,225,196)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M134.1,-95.9L139.8,-13L180.5,-3.4Z\"\n    fill=\"rgb(255,226,198)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-12.5,248.2L15.9,285.3L63.8,217.6Z\"\n    fill=\"rgb(255,174,126)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M429.7,337L439.7,261.8L337.8,257.9Z\"\n    fill=\"rgb(228,88,9)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M414.9,178.7L477.2,99.5L409.6,105Z\"\n    fill=\"rgb(241,137,73)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M15.9,285.3L30.6,329.6L104.2,278.7Z\"\n    fill=\"rgb(246,157,113)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M439.7,261.8L460.9,188.3L414.9,178.7Z\"\n    fill=\"rgb(236,107,31)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M409.6,105L489,56.6L385.1,50.1Z\"\n    fill=\"rgb(246,154,101)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-41.8,193.3L-12.5,248.2L63.8,217.6Z\"\n    fill=\"rgb(255,186,140)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M15.9,285.3L-45.4,355L30.6,329.6Z\"\n    fill=\"rgb(235,156,119)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M48.8,-40L11.8,55L97.6,55.4Z\"\n    fill=\"rgb(255,236,218)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M43.8,141.2L-41.8,193.3L63.8,217.6Z\"\n    fill=\"rgb(255,196,150)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M359,353.3L429.7,337L337.8,257.9Z\"\n    fill=\"rgb(221,86,10)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M439.7,261.8L480.7,296.8L460.9,188.3Z\"\n    fill=\"rgb(225,88,10)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M398.9,441.1L429.7,337L359,353.3Z\"\n    fill=\"rgb(189,70,8)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M385.1,50.1L347.7,-31.8L342.8,66.2Z\"\n    fill=\"rgb(255,176,126)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M183.9,-113.5L134.1,-95.9L180.5,-3.4Z\"\n    fill=\"rgb(255,223,192)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M440.3,-36.4L347.7,-31.8L385.1,50.1Z\"\n    fill=\"rgb(255,173,128)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M274.4,510.6L319.3,434.5L264.1,402.7Z\"\n    fill=\"rgb(189,92,36)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M264.1,402.7L319.3,434.5L359,353.3Z\"\n    fill=\"rgb(189,86,28)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-51.2,142.1L-41.8,193.3L43.8,141.2Z\"\n    fill=\"rgb(255,206,166)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-45.4,355L33.1,424.7L30.6,329.6Z\"\n    fill=\"rgb(211,145,114)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M460.9,188.3L477.2,99.5L414.9,178.7Z\"\n    fill=\"rgb(237,123,56)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M33.1,424.7L119.3,448.5L98.3,373.8Z\"\n    fill=\"rgb(195,131,98)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M98.3,373.8L119.3,448.5L181.5,397.3Z\"\n    fill=\"rgb(193,124,85)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M181.5,397.3L198.6,477.3L264.1,402.7Z\"\n    fill=\"rgb(190,108,58)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M11.8,55L-51.2,142.1L43.8,141.2Z\"\n    fill=\"rgb(255,222,191)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M475.3,347.4L480.7,296.8L429.7,337Z\"\n    fill=\"rgb(199,66,2)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M429.7,337L480.7,296.8L439.7,261.8Z\"\n    fill=\"rgb(217,73,1)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M460.9,188.3L580.1,129.8L477.2,99.5Z\"\n    fill=\"rgb(218,121,63)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M119.3,448.5L198.6,477.3L181.5,397.3Z\"\n    fill=\"rgb(192,119,74)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M139.8,-13L48.8,-40L97.6,55.4Z\"\n    fill=\"rgb(255,234,214)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M11.8,55L-45.4,68.9L-51.2,142.1Z\"\n    fill=\"rgb(255,229,203)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M55.8,-72.4L48.8,-40L139.8,-13Z\"\n    fill=\"rgb(255,237,219)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-51.2,-28.7L-45.4,68.9L11.8,55Z\"\n    fill=\"rgb(255,240,226)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M398.9,441.1L475.3,347.4L429.7,337Z\"\n    fill=\"rgb(183,62,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M30.6,329.6L33.1,424.7L98.3,373.8Z\"\n    fill=\"rgb(207,139,106)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M119.3,448.5L109.2,505.4L198.6,477.3Z\"\n    fill=\"rgb(193,123,82)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-45.4,355L15.9,285.3L-12.5,248.2Z\"\n    fill=\"rgb(249,162,122)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M578.5,71.8L489,56.6L477.2,99.5Z\"\n    fill=\"rgb(219,138,93)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M477.2,99.5L489,56.6L409.6,105Z\"\n    fill=\"rgb(239,144,92)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M263,-108.4L180.5,-3.4L262.8,-4.9Z\"\n    fill=\"rgb(255,207,167)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M341.2,-113.3L263,-108.4L347.7,-31.8Z\"\n    fill=\"rgb(255,189,143)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M347.7,-31.8L263,-108.4L262.8,-4.9Z\"\n    fill=\"rgb(255,195,150)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M355.9,480.4L398.9,441.1L319.3,434.5Z\"\n    fill=\"rgb(184,75,16)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M319.3,434.5L398.9,441.1L359,353.3Z\"\n    fill=\"rgb(184,75,16)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M263,-108.4L183.9,-113.5L180.5,-3.4Z\"\n    fill=\"rgb(255,213,176)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-117.4,259.1L-45.4,355L-12.5,248.2Z\"\n    fill=\"rgb(251,165,124)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-117.4,259.1L-12.5,248.2L-41.8,193.3Z\"\n    fill=\"rgb(255,182,136)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M134.1,-95.9L55.8,-72.4L139.8,-13Z\"\n    fill=\"rgb(255,232,210)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M48.8,-40L-51.2,-28.7L11.8,55Z\"\n    fill=\"rgb(255,245,234)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-27.5,-127L55.8,-72.4L134.1,-95.9Z\"\n    fill=\"rgb(255,240,224)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M489,56.6L440.3,-36.4L385.1,50.1Z\"\n    fill=\"rgb(248,160,116)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M274.4,510.6L355.9,480.4L319.3,434.5Z\"\n    fill=\"rgb(187,85,27)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M198.6,477.3L274.4,510.6L264.1,402.7Z\"\n    fill=\"rgb(189,101,48)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M109.2,505.4L274.4,510.6L198.6,477.3Z\"\n    fill=\"rgb(191,112,65)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M385.9,-125.7L341.2,-113.3L347.7,-31.8Z\"\n    fill=\"rgb(255,180,134)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M263,-108.4L385.9,-125.7L183.9,-113.5Z\"\n    fill=\"rgb(255,198,154)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-101.2,100.4L-110.3,205L-51.2,142.1Z\"\n    fill=\"rgb(255,210,171)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-51.2,142.1L-110.3,205L-41.8,193.3Z\"\n    fill=\"rgb(255,200,156)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M13.4,494.1L109.2,505.4L33.1,424.7Z\"\n    fill=\"rgb(196,135,104)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M33.1,424.7L109.2,505.4L119.3,448.5Z\"\n    fill=\"rgb(195,131,97)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-124.8,26.8L-101.2,100.4L-45.4,68.9Z\"\n    fill=\"rgb(255,234,214)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-45.4,68.9L-101.2,100.4L-51.2,142.1Z\"\n    fill=\"rgb(255,225,196)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-25,486.6L-17.8,441.4L-108.9,447.4Z\"\n    fill=\"rgb(198,139,113)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-45.4,355L-17.8,441.4L33.1,424.7Z\"\n    fill=\"rgb(198,139,113)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-124.8,26.8L-117.4,259.1L-110.3,205Z\"\n    fill=\"rgb(255,205,164)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-110.3,205L-117.4,259.1L-41.8,193.3Z\"\n    fill=\"rgb(255,187,141)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M571.9,368.9L561.9,266.2L480.7,296.8Z\"\n    fill=\"rgb(182,60,3)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M480.7,296.8L561.9,266.2L460.9,188.3Z\"\n    fill=\"rgb(211,82,10)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M571.9,368.9L480.7,296.8L475.3,347.4Z\"\n    fill=\"rgb(177,58,3)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M55.8,-72.4L-51.2,-28.7L48.8,-40Z\"\n    fill=\"rgb(255,243,232)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M424.9,507.2L495.9,420L398.9,441.1Z\"\n    fill=\"rgb(172,57,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M398.9,441.1L495.9,420L475.3,347.4Z\"\n    fill=\"rgb(169,54,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M440.3,-36.4L385.9,-125.7L347.7,-31.8Z\"\n    fill=\"rgb(255,173,128)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M341.2,-113.3L385.9,-125.7L263,-108.4Z\"\n    fill=\"rgb(255,186,140)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M561.9,266.2L582.2,206.1L460.9,188.3Z\"\n    fill=\"rgb(204,89,24)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M489,56.6L502.6,-42.7L440.3,-36.4Z\"\n    fill=\"rgb(238,157,120)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M582.2,206.1L580.1,129.8L460.9,188.3Z\"\n    fill=\"rgb(206,104,44)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M440.3,-36.4L499.2,-107.7L385.9,-125.7Z\"\n    fill=\"rgb(249,163,122)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-17.8,441.4L13.4,494.1L33.1,424.7Z\"\n    fill=\"rgb(198,139,112)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M589.5,-7.8L502.6,-42.7L489,56.6Z\"\n    fill=\"rgb(219,149,116)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M274.4,510.6L424.9,507.2L355.9,480.4Z\"\n    fill=\"rgb(184,77,18)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M355.9,480.4L424.9,507.2L398.9,441.1Z\"\n    fill=\"rgb(180,67,9)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M580.1,129.8L578.5,71.8L477.2,99.5Z\"\n    fill=\"rgb(208,129,82)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-108.9,447.4L-17.8,441.4L-45.4,355Z\"\n    fill=\"rgb(198,139,113)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-17.8,441.4L-25,486.6L13.4,494.1Z\"\n    fill=\"rgb(198,139,113)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-51.2,-28.7L-124.8,26.8L-45.4,68.9Z\"\n    fill=\"rgb(255,242,228)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-101.2,100.4L-124.8,26.8L-110.3,205Z\"\n    fill=\"rgb(255,223,192)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M567.1,446.7L571.9,368.9L495.9,420Z\"\n    fill=\"rgb(141,44,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M495.9,420L571.9,368.9L475.3,347.4Z\"\n    fill=\"rgb(158,51,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M634.5,255.6L620.5,194.3L582.2,206.1Z\"\n    fill=\"rgb(186,83,24)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-124.8,26.8L-137.2,362.3L-117.4,259.1Z\"\n    fill=\"rgb(255,188,142)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-117.4,259.1L-137.2,362.3L-45.4,355Z\"\n    fill=\"rgb(234,155,119)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M582.2,206.1L620.5,194.3L580.1,129.8Z\"\n    fill=\"rgb(191,98,42)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M580.1,129.8L634.8,102.7L578.5,71.8Z\"\n    fill=\"rgb(193,122,79)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M634.5,255.6L582.2,206.1L561.9,266.2Z\"\n    fill=\"rgb(185,75,14)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M55.8,-72.4L-27.5,-127L-51.2,-28.7Z\"\n    fill=\"rgb(255,245,235)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-51.2,-28.7L-128,-52.3L-124.8,26.8Z\"\n    fill=\"rgb(255,245,235)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M183.9,-113.5L-27.5,-127L134.1,-95.9Z\"\n    fill=\"rgb(255,234,214)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M385.9,-125.7L-27.5,-127L183.9,-113.5Z\"\n    fill=\"rgb(255,219,187)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M583.8,-95.9L499.2,-107.7L502.6,-42.7Z\"\n    fill=\"rgb(219,149,117)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M502.6,-42.7L499.2,-107.7L440.3,-36.4Z\"\n    fill=\"rgb(236,156,120)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-137.2,362.3L-108.9,447.4L-45.4,355Z\"\n    fill=\"rgb(203,142,114)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M621.6,364.5L634.5,255.6L561.9,266.2Z\"\n    fill=\"rgb(172,57,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M623.3,33.9L589.5,-7.8L578.5,71.8Z\"\n    fill=\"rgb(197,135,105)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M578.5,71.8L589.5,-7.8L489,56.6Z\"\n    fill=\"rgb(210,140,105)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M634.8,102.7L580.1,129.8L620.5,194.3Z\"\n    fill=\"rgb(190,108,58)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M720,99.7L634.8,102.7L731.2,194.2Z\"\n    fill=\"rgb(191,111,63)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-120.9,-78.9L-128,-52.3L-51.2,-28.7Z\"\n    fill=\"rgb(255,245,235)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-124.8,26.8L-128,-52.3L-137.2,362.3Z\"\n    fill=\"rgb(255,222,191)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M506.5,518L567.1,446.7L495.9,420Z\"\n    fill=\"rgb(147,47,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M571.9,368.9L621.6,364.5L561.9,266.2Z\"\n    fill=\"rgb(158,51,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M634.8,102.7L623.3,33.9L578.5,71.8Z\"\n    fill=\"rgb(194,128,92)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M424.9,507.2L506.5,518L495.9,420Z\"\n    fill=\"rgb(162,52,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M274.4,510.6L506.5,518L424.9,507.2Z\"\n    fill=\"rgb(178,66,8)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-106.7,507.9L506.5,518L274.4,510.6Z\"\n    fill=\"rgb(190,106,54)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M633.5,409.3L621.6,364.5L571.9,368.9Z\"\n    fill=\"rgb(134,42,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-27.5,-127L-120.9,-78.9L-51.2,-28.7Z\"\n    fill=\"rgb(255,245,235)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M623.3,33.9L612,-9.3L589.5,-7.8Z\"\n    fill=\"rgb(198,139,112)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M589.5,-7.8L583.8,-95.9L502.6,-42.7Z\"\n    fill=\"rgb(210,145,115)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-137.2,362.3L-106.7,507.9L-108.9,447.4Z\"\n    fill=\"rgb(198,139,113)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-108.9,447.4L-106.7,507.9L-25,486.6Z\"\n    fill=\"rgb(198,139,113)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M-25,486.6L-106.7,507.9L13.4,494.1Z\"\n    fill=\"rgb(198,139,113)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M13.4,494.1L-106.7,507.9L109.2,505.4Z\"\n    fill=\"rgb(198,139,113)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M109.2,505.4L-106.7,507.9L274.4,510.6Z\"\n    fill=\"rgb(195,130,96)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M506.5,518L557,510.1L567.1,446.7Z\"\n    fill=\"rgb(141,45,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M567.1,446.7L633.5,409.3L571.9,368.9Z\"\n    fill=\"rgb(129,40,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M633.7,-73.7L583.8,-95.9L589.5,-7.8Z\"\n    fill=\"rgb(198,139,113)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M499.2,-107.7L693,-95.3L385.9,-125.7Z\"\n    fill=\"rgb(220,149,117)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M655.4,489L633.5,409.3L567.1,446.7Z\"\n    fill=\"rgb(127,39,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M621.6,364.5L685.5,355L634.5,255.6Z\"\n    fill=\"rgb(158,51,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M714.1,-16.8L633.7,-73.7L612,-9.3Z\"\n    fill=\"rgb(198,139,113)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M612,-9.3L633.7,-73.7L589.5,-7.8Z\"\n    fill=\"rgb(198,139,113)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M714.1,-16.8L612,-9.3L623.3,33.9Z\"\n    fill=\"rgb(198,139,113)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M723.9,406.8L685.5,355L633.5,409.3Z\"\n    fill=\"rgb(131,40,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M633.5,409.3L685.5,355L621.6,364.5Z\"\n    fill=\"rgb(136,42,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M731.2,194.2L634.8,102.7L620.5,194.3Z\"\n    fill=\"rgb(189,101,48)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M634.8,102.7L718.2,67.3L623.3,33.9Z\"\n    fill=\"rgb(194,129,93)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M731.2,194.2L620.5,194.3L634.5,255.6Z\"\n    fill=\"rgb(187,84,26)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M734.1,257.3L731.2,194.2L634.5,255.6Z\"\n    fill=\"rgb(184,76,17)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M720,99.7L718.2,67.3L634.8,102.7Z\"\n    fill=\"rgb(193,124,84)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M731.2,194.2L718.2,67.3L720,99.7Z\"\n    fill=\"rgb(191,115,70)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M685.5,355L734.1,257.3L634.5,255.6Z\"\n    fill=\"rgb(173,59,5)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M557,510.1L655.4,489L567.1,446.7Z\"\n    fill=\"rgb(129,40,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M685.5,355L723.9,406.8L734.1,257.3Z\"\n    fill=\"rgb(151,48,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M731.2,194.2L714.1,-16.8L718.2,67.3Z\"\n    fill=\"rgb(194,126,88)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M718.2,67.3L714.1,-16.8L623.3,33.9Z\"\n    fill=\"rgb(197,136,106)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M655.4,489L723.9,406.8L633.5,409.3Z\"\n    fill=\"rgb(127,39,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M714.1,-16.8L693,-95.3L633.7,-73.7Z\"\n    fill=\"rgb(198,139,113)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M633.7,-73.7L693,-95.3L583.8,-95.9Z\"\n    fill=\"rgb(198,139,113)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M583.8,-95.9L693,-95.3L499.2,-107.7Z\"\n    fill=\"rgb(200,141,114)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M557,510.1L702.1,509.8L655.4,489Z\"\n    fill=\"rgb(127,39,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M655.4,489L702.1,509.8L723.9,406.8Z\"\n    fill=\"rgb(127,39,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n  <path\n    d=\"M506.5,518L702.1,509.8L557,510.1Z\"\n    fill=\"rgb(130,40,4)\"\n    shape-rendering=\"crispEdges\"\n  />\n</svg>\n`;\n\nexports[`Pattern outputs in browser environment #toSVGTree serializes to an SVG string 1`] = `\"<svg xmlns='http://www.w3.org/2000/svg' width='600' height='400'><path d='M328.5,188.8L353.6,140.5L281.7,122.4Z' fill='rgb(254,152,65)' shape-rendering='crispEdges'></path><path d='M281.7,122.4L250.2,188.1L328.5,188.8Z' fill='rgb(254,157,67)' shape-rendering='crispEdges'></path><path d='M353.6,140.5L316.1,62.5L281.7,122.4Z' fill='rgb(255,171,83)' shape-rendering='crispEdges'></path><path d='M419.7,172.6L416.5,122.8L353.6,140.5Z' fill='rgb(252,130,58)' shape-rendering='crispEdges'></path><path d='M353.6,140.5L416.5,122.8L316.1,62.5Z' fill='rgb(255,155,77)' shape-rendering='crispEdges'></path><path d='M328.5,188.8L419.7,172.6L353.6,140.5Z' fill='rgb(254,129,57)' shape-rendering='crispEdges'></path><path d='M250.2,188.1L329.1,259.4L328.5,188.8Z' fill='rgb(253,133,57)' shape-rendering='crispEdges'></path><path d='M328.5,188.8L329.1,259.4L419.7,172.6Z' fill='rgb(253,114,51)' shape-rendering='crispEdges'></path><path d='M310.4,0.1L270.1,34.7L316.1,62.5Z' fill='rgb(255,193,118)' shape-rendering='crispEdges'></path><path d='M316.1,62.5L270.1,34.7L281.7,122.4Z' fill='rgb(255,188,101)' shape-rendering='crispEdges'></path><path d='M281.7,122.4L178.5,152.4L250.2,188.1Z' fill='rgb(254,174,74)' shape-rendering='crispEdges'></path><path d='M250.2,188.1L257.3,268L329.1,259.4Z' fill='rgb(254,125,55)' shape-rendering='crispEdges'></path><path d='M180.9,49.7L178.5,152.4L281.7,122.4Z' fill='rgb(255,197,97)' shape-rendering='crispEdges'></path><path d='M250.2,188.1L186.7,217.3L257.3,268Z' fill='rgb(254,145,62)' shape-rendering='crispEdges'></path><path d='M178.5,152.4L186.7,217.3L250.2,188.1Z' fill='rgb(254,170,76)' shape-rendering='crispEdges'></path><path d='M401.1,-1.1L310.4,0.1L316.1,62.5Z' fill='rgb(255,181,116)' shape-rendering='crispEdges'></path><path d='M464.7,30.5L418.6,36.5L416.5,122.8Z' fill='rgb(251,149,87)' shape-rendering='crispEdges'></path><path d='M416.5,122.8L418.6,36.5L316.1,62.5Z' fill='rgb(255,157,88)' shape-rendering='crispEdges'></path><path d='M239.2,-8.2L180.9,49.7L270.1,34.7Z' fill='rgb(255,211,129)' shape-rendering='crispEdges'></path><path d='M270.1,34.7L180.9,49.7L281.7,122.4Z' fill='rgb(255,199,108)' shape-rendering='crispEdges'></path><path d='M114.4,204.2L185.4,265.4L186.7,217.3Z' fill='rgb(255,162,80)' shape-rendering='crispEdges'></path><path d='M186.7,217.3L185.4,265.4L257.3,268Z' fill='rgb(255,137,62)' shape-rendering='crispEdges'></path><path d='M310.4,0.1L239.2,-8.2L270.1,34.7Z' fill='rgb(255,203,131)' shape-rendering='crispEdges'></path><path d='M257.3,268L340.7,322.6L329.1,259.4Z' fill='rgb(245,97,45)' shape-rendering='crispEdges'></path><path d='M329.1,259.4L434.5,279.8L419.7,172.6Z' fill='rgb(249,83,42)' shape-rendering='crispEdges'></path><path d='M267.6,344.4L340.7,322.6L257.3,268Z' fill='rgb(237,97,46)' shape-rendering='crispEdges'></path><path d='M418.6,36.5L401.1,-1.1L316.1,62.5Z' fill='rgb(255,166,106)' shape-rendering='crispEdges'></path><path d='M238.3,-106.1L197.3,-31.7L239.2,-8.2Z' fill='rgb(255,216,140)' shape-rendering='crispEdges'></path><path d='M340.7,322.6L434.5,279.8L329.1,259.4Z' fill='rgb(243,66,37)' shape-rendering='crispEdges'></path><path d='M419.7,172.6L510.3,150.2L416.5,122.8Z' fill='rgb(243,117,51)' shape-rendering='crispEdges'></path><path d='M434.5,279.8L474.2,226.2L419.7,172.6Z' fill='rgb(242,78,39)' shape-rendering='crispEdges'></path><path d='M180.9,49.7L123.1,148.7L178.5,152.4Z' fill='rgb(254,208,108)' shape-rendering='crispEdges'></path><path d='M178.5,152.4L114.4,204.2L186.7,217.3Z' fill='rgb(255,180,87)' shape-rendering='crispEdges'></path><path d='M510.3,150.2L464.7,30.5L416.5,122.8Z' fill='rgb(243,136,71)' shape-rendering='crispEdges'></path><path d='M418.6,36.5L464.7,30.5L401.1,-1.1Z' fill='rgb(255,158,105)' shape-rendering='crispEdges'></path><path d='M474.2,226.2L510.3,150.2L419.7,172.6Z' fill='rgb(237,101,47)' shape-rendering='crispEdges'></path><path d='M208,364.5L267.6,344.4L257.3,268Z' fill='rgb(233,107,52)' shape-rendering='crispEdges'></path><path d='M123.1,148.7L114.4,204.2L178.5,152.4Z' fill='rgb(255,193,97)' shape-rendering='crispEdges'></path><path d='M185.4,265.4L208,364.5L257.3,268Z' fill='rgb(244,119,53)' shape-rendering='crispEdges'></path><path d='M239.2,-8.2L197.3,-31.7L180.9,49.7Z' fill='rgb(255,221,144)' shape-rendering='crispEdges'></path><path d='M180.9,49.7L101.9,64.4L123.1,148.7Z' fill='rgb(254,221,127)' shape-rendering='crispEdges'></path><path d='M238.3,-106.1L239.2,-8.2L310.4,0.1Z' fill='rgb(255,207,136)' shape-rendering='crispEdges'></path><path d='M413.7,-105.2L352,-72.3L401.1,-1.1Z' fill='rgb(255,170,119)' shape-rendering='crispEdges'></path><path d='M401.1,-1.1L352,-72.3L310.4,0.1Z' fill='rgb(255,180,123)' shape-rendering='crispEdges'></path><path d='M123.1,-41.2L101.9,64.4L180.9,49.7Z' fill='rgb(255,233,155)' shape-rendering='crispEdges'></path><path d='M123.1,148.7L52.8,189.8L114.4,204.2Z' fill='rgb(255,194,107)' shape-rendering='crispEdges'></path><path d='M392,418.9L427.9,350.5L340.7,322.6Z' fill='rgb(209,43,40)' shape-rendering='crispEdges'></path><path d='M340.7,322.6L427.9,350.5L434.5,279.8Z' fill='rgb(228,44,35)' shape-rendering='crispEdges'></path><path d='M434.5,279.8L513.3,302.5L474.2,226.2Z' fill='rgb(228,43,34)' shape-rendering='crispEdges'></path><path d='M474.2,226.2L554.2,190L510.3,150.2Z' fill='rgb(225,93,50)' shape-rendering='crispEdges'></path><path d='M101.8,276.1L208,364.5L185.4,265.4Z' fill='rgb(245,133,67)' shape-rendering='crispEdges'></path><path d='M267.6,344.4L337,422.1L340.7,322.6Z' fill='rgb(213,78,48)' shape-rendering='crispEdges'></path><path d='M513.3,302.5L554.2,190L474.2,226.2Z' fill='rgb(223,59,41)' shape-rendering='crispEdges'></path><path d='M560.5,38.7L515.5,-20.7L464.7,30.5Z' fill='rgb(234,147,108)' shape-rendering='crispEdges'></path><path d='M114.4,204.2L101.8,276.1L185.4,265.4Z' fill='rgb(255,157,83)' shape-rendering='crispEdges'></path><path d='M52.8,189.8L101.8,276.1L114.4,204.2Z' fill='rgb(255,176,101)' shape-rendering='crispEdges'></path><path d='M478.1,357.5L513.3,302.5L434.5,279.8Z' fill='rgb(215,19,32)' shape-rendering='crispEdges'></path><path d='M39.5,133.8L52.8,189.8L123.1,148.7Z' fill='rgb(255,205,118)' shape-rendering='crispEdges'></path><path d='M560.5,38.7L464.7,30.5L510.3,150.2Z' fill='rgb(231,136,85)' shape-rendering='crispEdges'></path><path d='M464.7,30.5L515.5,-20.7L401.1,-1.1Z' fill='rgb(250,155,111)' shape-rendering='crispEdges'></path><path d='M460.4,439L478.1,357.5L427.9,350.5Z' fill='rgb(186,11,35)' shape-rendering='crispEdges'></path><path d='M427.9,350.5L478.1,357.5L434.5,279.8Z' fill='rgb(216,21,32)' shape-rendering='crispEdges'></path><path d='M352,-72.3L238.3,-106.1L310.4,0.1Z' fill='rgb(255,198,132)' shape-rendering='crispEdges'></path><path d='M197.3,-31.7L123.1,-41.2L180.9,49.7Z' fill='rgb(255,231,156)' shape-rendering='crispEdges'></path><path d='M200.4,-99.4L123.1,-41.2L197.3,-31.7Z' fill='rgb(255,230,155)' shape-rendering='crispEdges'></path><path d='M101.9,64.4L39.5,133.8L123.1,148.7Z' fill='rgb(255,219,129)' shape-rendering='crispEdges'></path><path d='M621.4,208.2L583.6,130.8L554.2,190Z' fill='rgb(196,90,54)' shape-rendering='crispEdges'></path><path d='M554.2,190L583.6,130.8L510.3,150.2Z' fill='rgb(213,102,56)' shape-rendering='crispEdges'></path><path d='M583.6,130.8L560.5,38.7L510.3,150.2Z' fill='rgb(214,123,73)' shape-rendering='crispEdges'></path><path d='M243.1,451.3L337,422.1L267.6,344.4Z' fill='rgb(190,83,52)' shape-rendering='crispEdges'></path><path d='M238.3,-106.1L200.4,-99.4L197.3,-31.7Z' fill='rgb(255,220,144)' shape-rendering='crispEdges'></path><path d='M53.2,53.8L39.5,133.8L101.9,64.4Z' fill='rgb(255,231,149)' shape-rendering='crispEdges'></path><path d='M473.5,-105.4L413.7,-105.2L401.1,-1.1Z' fill='rgb(255,161,114)' shape-rendering='crispEdges'></path><path d='M352,-72.3L413.7,-105.2L238.3,-106.1Z' fill='rgb(255,187,126)' shape-rendering='crispEdges'></path><path d='M32.8,-7.1L53.2,53.8L101.9,64.4Z' fill='rgb(255,241,169)' shape-rendering='crispEdges'></path><path d='M337,422.1L392,418.9L340.7,322.6Z' fill='rgb(196,55,44)' shape-rendering='crispEdges'></path><path d='M563.1,328.8L553.8,302L513.3,302.5Z' fill='rgb(196,10,35)' shape-rendering='crispEdges'></path><path d='M513.3,302.5L553.8,302L554.2,190Z' fill='rgb(210,39,39)' shape-rendering='crispEdges'></path><path d='M101.8,276.1L97.9,372.3L208,364.5Z' fill='rgb(232,133,78)' shape-rendering='crispEdges'></path><path d='M52.8,189.8L64.9,293.1L101.8,276.1Z' fill='rgb(255,163,99)' shape-rendering='crispEdges'></path><path d='M14,333L64.9,293.1L-43.3,282.2Z' fill='rgb(251,155,109)' shape-rendering='crispEdges'></path><path d='M515.5,-20.7L473.5,-105.4L401.1,-1.1Z' fill='rgb(249,155,112)' shape-rendering='crispEdges'></path><path d='M556.3,-122.4L89.6,-119.3L238.3,-106.1Z' fill='rgb(255,200,132)' shape-rendering='crispEdges'></path><path d='M547,-47.6L473.5,-105.4L515.5,-20.7Z' fill='rgb(236,150,115)' shape-rendering='crispEdges'></path><path d='M656.2,-7.6L547,-47.6L560.5,38.7Z' fill='rgb(203,138,115)' shape-rendering='crispEdges'></path><path d='M560.5,38.7L547,-47.6L515.5,-20.7Z' fill='rgb(225,146,115)' shape-rendering='crispEdges'></path><path d='M478.1,357.5L563.1,328.8L513.3,302.5Z' fill='rgb(198,7,36)' shape-rendering='crispEdges'></path><path d='M553.8,302L621.4,208.2L554.2,190Z' fill='rgb(199,59,44)' shape-rendering='crispEdges'></path><path d='M573.7,422.9L563.1,328.8L478.1,357.5Z' fill='rgb(171,0,38)' shape-rendering='crispEdges'></path><path d='M208,364.5L243.1,451.3L267.6,344.4Z' fill='rgb(199,97,56)' shape-rendering='crispEdges'></path><path d='M384.9,488.1L460.4,439L392,418.9Z' fill='rgb(182,30,38)' shape-rendering='crispEdges'></path><path d='M178.4,431.9L243.1,451.3L208,364.5Z' fill='rgb(191,103,62)' shape-rendering='crispEdges'></path><path d='M64.9,293.1L97.9,372.3L101.8,276.1Z' fill='rgb(243,144,89)' shape-rendering='crispEdges'></path><path d='M97.9,372.3L178.4,431.9L208,364.5Z' fill='rgb(200,118,73)' shape-rendering='crispEdges'></path><path d='M654.4,267L621.4,208.2L553.8,302Z' fill='rgb(186,38,41)' shape-rendering='crispEdges'></path><path d='M583.6,130.8L635.5,68.4L560.5,38.7Z' fill='rgb(197,123,84)' shape-rendering='crispEdges'></path><path d='M53.2,53.8L-33.3,126.9L39.5,133.8Z' fill='rgb(255,232,153)' shape-rendering='crispEdges'></path><path d='M123.1,-41.2L32.8,-7.1L101.9,64.4Z' fill='rgb(255,244,177)' shape-rendering='crispEdges'></path><path d='M44.5,-92.6L32.8,-7.1L123.1,-41.2Z' fill='rgb(255,247,184)' shape-rendering='crispEdges'></path><path d='M384.9,488.1L392,418.9L337,422.1Z' fill='rgb(188,45,42)' shape-rendering='crispEdges'></path><path d='M392,418.9L460.4,439L427.9,350.5Z' fill='rgb(180,24,37)' shape-rendering='crispEdges'></path><path d='M646.9,129.9L635.5,68.4L583.6,130.8Z' fill='rgb(193,115,73)' shape-rendering='crispEdges'></path><path d='M621.4,208.2L646.9,129.9L583.6,130.8Z' fill='rgb(191,96,57)' shape-rendering='crispEdges'></path><path d='M44.6,431.1L120.3,428.8L97.9,372.3Z' fill='rgb(195,126,92)' shape-rendering='crispEdges'></path><path d='M97.9,372.3L120.3,428.8L178.4,431.9Z' fill='rgb(193,121,81)' shape-rendering='crispEdges'></path><path d='M201.6,503.2L271.9,506.5L243.1,451.3Z' fill='rgb(191,95,56)' shape-rendering='crispEdges'></path><path d='M344.1,512.3L384.9,488.1L337,422.1Z' fill='rgb(189,54,44)' shape-rendering='crispEdges'></path><path d='M271.9,506.5L337,422.1L243.1,451.3Z' fill='rgb(190,83,52)' shape-rendering='crispEdges'></path><path d='M-65.2,49.9L-33.3,126.9L53.2,53.8Z' fill='rgb(255,241,171)' shape-rendering='crispEdges'></path><path d='M39.5,133.8L-33.3,126.9L52.8,189.8Z' fill='rgb(255,214,135)' shape-rendering='crispEdges'></path><path d='M64.9,293.1L14,333L97.9,372.3Z' fill='rgb(237,144,98)' shape-rendering='crispEdges'></path><path d='M238.3,-106.1L89.6,-119.3L200.4,-99.4Z' fill='rgb(255,229,154)' shape-rendering='crispEdges'></path><path d='M200.4,-99.4L89.6,-119.3L123.1,-41.2Z' fill='rgb(255,237,165)' shape-rendering='crispEdges'></path><path d='M556.3,-122.4L238.3,-106.1L413.7,-105.2Z' fill='rgb(255,167,117)' shape-rendering='crispEdges'></path><path d='M-43.3,282.2L64.9,293.1L52.8,189.8Z' fill='rgb(255,168,113)' shape-rendering='crispEdges'></path><path d='M201.6,503.2L243.1,451.3L178.4,431.9Z' fill='rgb(191,103,62)' shape-rendering='crispEdges'></path><path d='M619.3,366.9L654.4,267L563.1,328.8Z' fill='rgb(169,6,36)' shape-rendering='crispEdges'></path><path d='M563.1,328.8L654.4,267L553.8,302Z' fill='rgb(181,12,35)' shape-rendering='crispEdges'></path><path d='M621.4,208.2L705.9,172.4L646.9,129.9Z' fill='rgb(190,91,55)' shape-rendering='crispEdges'></path><path d='M89.6,-119.3L44.5,-92.6L123.1,-41.2Z' fill='rgb(255,245,179)' shape-rendering='crispEdges'></path><path d='M32.8,-7.1L-65.2,49.9L53.2,53.8Z' fill='rgb(255,248,188)' shape-rendering='crispEdges'></path><path d='M271.9,506.5L344.1,512.3L337,422.1Z' fill='rgb(189,71,48)' shape-rendering='crispEdges'></path><path d='M654.5,-118.9L556.3,-122.4L547,-47.6Z' fill='rgb(204,139,115)' shape-rendering='crispEdges'></path><path d='M547,-47.6L556.3,-122.4L473.5,-105.4Z' fill='rgb(232,148,115)' shape-rendering='crispEdges'></path><path d='M473.5,-105.4L556.3,-122.4L413.7,-105.2Z' fill='rgb(244,153,113)' shape-rendering='crispEdges'></path><path d='M134.9,479.8L201.6,503.2L178.4,431.9Z' fill='rgb(192,113,71)' shape-rendering='crispEdges'></path><path d='M271.9,506.5L13.3,517.2L344.1,512.3Z' fill='rgb(191,103,62)' shape-rendering='crispEdges'></path><path d='M134.9,479.8L178.4,431.9L120.3,428.8Z' fill='rgb(193,119,78)' shape-rendering='crispEdges'></path><path d='M-33.3,126.9L-56.2,198.2L52.8,189.8Z' fill='rgb(255,209,137)' shape-rendering='crispEdges'></path><path d='M44.6,431.1L134.9,479.8L120.3,428.8Z' fill='rgb(194,125,89)' shape-rendering='crispEdges'></path><path d='M573.7,422.9L619.3,366.9L563.1,328.8Z' fill='rgb(150,0,38)' shape-rendering='crispEdges'></path><path d='M573.7,422.9L478.1,357.5L460.4,439Z' fill='rgb(163,3,37)' shape-rendering='crispEdges'></path><path d='M573.7,422.9L460.4,439L484.7,497.6Z' fill='rgb(163,2,38)' shape-rendering='crispEdges'></path><path d='M484.7,497.6L460.4,439L384.9,488.1Z' fill='rgb(177,16,36)' shape-rendering='crispEdges'></path><path d='M685.4,43.2L656.2,-7.6L635.5,68.4Z' fill='rgb(196,131,101)' shape-rendering='crispEdges'></path><path d='M635.5,68.4L656.2,-7.6L560.5,38.7Z' fill='rgb(196,131,102)' shape-rendering='crispEdges'></path><path d='M685.4,43.2L635.5,68.4L646.9,129.9Z' fill='rgb(194,122,84)' shape-rendering='crispEdges'></path><path d='M-56.2,198.2L-43.3,282.2L52.8,189.8Z' fill='rgb(255,187,126)' shape-rendering='crispEdges'></path><path d='M14,333L44.6,431.1L97.9,372.3Z' fill='rgb(210,135,101)' shape-rendering='crispEdges'></path><path d='M710.3,142.6L685.4,43.2L646.9,129.9Z' fill='rgb(193,116,74)' shape-rendering='crispEdges'></path><path d='M344.1,512.3L484.7,497.6L384.9,488.1Z' fill='rgb(184,33,39)' shape-rendering='crispEdges'></path><path d='M-29.1,431.4L44.6,431.1L14,333Z' fill='rgb(198,136,112)' shape-rendering='crispEdges'></path><path d='M-46.7,-30L-65.2,49.9L32.8,-7.1Z' fill='rgb(255,254,202)' shape-rendering='crispEdges'></path><path d='M-33.3,126.9L-113.2,135.3L-56.2,198.2Z' fill='rgb(255,215,140)' shape-rendering='crispEdges'></path><path d='M691.8,284.3L705.9,172.4L654.4,267Z' fill='rgb(189,50,43)' shape-rendering='crispEdges'></path><path d='M654.4,267L705.9,172.4L621.4,208.2Z' fill='rgb(189,69,48)' shape-rendering='crispEdges'></path><path d='M705.9,172.4L710.3,142.6L646.9,129.9Z' fill='rgb(191,99,58)' shape-rendering='crispEdges'></path><path d='M720.1,345L691.8,284.3L619.3,366.9Z' fill='rgb(165,4,37)' shape-rendering='crispEdges'></path><path d='M619.3,366.9L691.8,284.3L654.4,267Z' fill='rgb(174,10,35)' shape-rendering='crispEdges'></path><path d='M705.9,172.4L720.1,345L710.3,142.6Z' fill='rgb(189,66,47)' shape-rendering='crispEdges'></path><path d='M44.5,-92.6L-46.7,-30L32.8,-7.1Z' fill='rgb(255,254,201)' shape-rendering='crispEdges'></path><path d='M-97.5,298.1L-44.5,344.7L-43.3,282.2Z' fill='rgb(250,156,112)' shape-rendering='crispEdges'></path><path d='M-43.3,282.2L-44.5,344.7L14,333Z' fill='rgb(245,153,113)' shape-rendering='crispEdges'></path><path d='M644.9,474.6L618.9,424.7L573.7,422.9Z' fill='rgb(128,0,38)' shape-rendering='crispEdges'></path><path d='M573.7,422.9L618.9,424.7L619.3,366.9Z' fill='rgb(128,0,38)' shape-rendering='crispEdges'></path><path d='M710.3,142.6L704.3,-0.6L685.4,43.2Z' fill='rgb(195,126,91)' shape-rendering='crispEdges'></path><path d='M685.4,43.2L704.3,-0.6L656.2,-7.6Z' fill='rgb(197,135,110)' shape-rendering='crispEdges'></path><path d='M656.2,-7.6L654.5,-118.9L547,-47.6Z' fill='rgb(197,137,115)' shape-rendering='crispEdges'></path><path d='M-101.5,46.1L-113.2,135.3L-65.2,49.9Z' fill='rgb(255,240,171)' shape-rendering='crispEdges'></path><path d='M-65.2,49.9L-113.2,135.3L-33.3,126.9Z' fill='rgb(255,234,159)' shape-rendering='crispEdges'></path><path d='M-56.2,198.2L-97.5,298.1L-43.3,282.2Z' fill='rgb(255,170,119)' shape-rendering='crispEdges'></path><path d='M-46.7,-30L-101.5,46.1L-65.2,49.9Z' fill='rgb(255,251,194)' shape-rendering='crispEdges'></path><path d='M725.5,-98.6L654.5,-118.9L656.2,-7.6Z' fill='rgb(197,137,115)' shape-rendering='crispEdges'></path><path d='M-122.5,207L-97.5,298.1L-56.2,198.2Z' fill='rgb(255,181,124)' shape-rendering='crispEdges'></path><path d='M-44.5,344.7L-29.1,431.4L14,333Z' fill='rgb(218,144,115)' shape-rendering='crispEdges'></path><path d='M-113.2,135.3L-122.5,207L-56.2,198.2Z' fill='rgb(255,206,135)' shape-rendering='crispEdges'></path><path d='M-98.5,398.7L-29.1,431.4L-44.5,344.7Z' fill='rgb(203,138,115)' shape-rendering='crispEdges'></path><path d='M44.6,431.1L13.3,517.2L134.9,479.8Z' fill='rgb(195,129,98)' shape-rendering='crispEdges'></path><path d='M134.9,479.8L13.3,517.2L201.6,503.2Z' fill='rgb(194,123,85)' shape-rendering='crispEdges'></path><path d='M89.6,-119.3L-49.9,-111.2L44.5,-92.6Z' fill='rgb(255,252,196)' shape-rendering='crispEdges'></path><path d='M44.5,-92.6L-49.9,-111.2L-46.7,-30Z' fill='rgb(255,255,204)' shape-rendering='crispEdges'></path><path d='M-46.7,-30L-120.5,-36.4L-101.5,46.1Z' fill='rgb(255,255,204)' shape-rendering='crispEdges'></path><path d='M729.5,416.5L720.1,345L619.3,366.9Z' fill='rgb(142,0,38)' shape-rendering='crispEdges'></path><path d='M691.8,284.3L720.1,345L705.9,172.4Z' fill='rgb(184,34,39)' shape-rendering='crispEdges'></path><path d='M710.3,142.6L725.5,-98.6L704.3,-0.6Z' fill='rgb(197,134,109)' shape-rendering='crispEdges'></path><path d='M344.1,512.3L571,525.9L484.7,497.6Z' fill='rgb(172,8,36)' shape-rendering='crispEdges'></path><path d='M484.7,497.6L571,525.9L573.7,422.9Z' fill='rgb(151,0,38)' shape-rendering='crispEdges'></path><path d='M618.9,424.7L729.5,416.5L619.3,366.9Z' fill='rgb(128,0,38)' shape-rendering='crispEdges'></path><path d='M571,525.9L644.9,474.6L573.7,422.9Z' fill='rgb(129,0,38)' shape-rendering='crispEdges'></path><path d='M-101.5,46.1L-120.5,-36.4L-113.2,135.3Z' fill='rgb(255,246,183)' shape-rendering='crispEdges'></path><path d='M-113.2,135.3L-120.5,-36.4L-122.5,207Z' fill='rgb(255,235,160)' shape-rendering='crispEdges'></path><path d='M-49.9,-111.2L-120.5,-36.4L-46.7,-30Z' fill='rgb(255,255,204)' shape-rendering='crispEdges'></path><path d='M-123.7,487.2L-12.5,492.8L-29.1,431.4Z' fill='rgb(197,137,115)' shape-rendering='crispEdges'></path><path d='M-29.1,431.4L-12.5,492.8L44.6,431.1Z' fill='rgb(197,136,115)' shape-rendering='crispEdges'></path><path d='M201.6,503.2L13.3,517.2L271.9,506.5Z' fill='rgb(193,115,73)' shape-rendering='crispEdges'></path><path d='M344.1,512.3L13.3,517.2L571,525.9Z' fill='rgb(189,75,49)' shape-rendering='crispEdges'></path><path d='M-12.5,492.8L13.3,517.2L44.6,431.1Z' fill='rgb(197,135,111)' shape-rendering='crispEdges'></path><path d='M-125.3,357.8L-98.5,398.7L-44.5,344.7Z' fill='rgb(220,144,115)' shape-rendering='crispEdges'></path><path d='M-125.3,357.8L-44.5,344.7L-97.5,298.1Z' fill='rgb(239,151,114)' shape-rendering='crispEdges'></path><path d='M729.5,416.5L725.5,-98.6L710.3,142.6Z' fill='rgb(191,97,57)' shape-rendering='crispEdges'></path><path d='M704.3,-0.6L725.5,-98.6L656.2,-7.6Z' fill='rgb(197,137,115)' shape-rendering='crispEdges'></path><path d='M-135.4,-109.1L-125.3,357.8L-122.5,207Z' fill='rgb(255,216,140)' shape-rendering='crispEdges'></path><path d='M-122.5,207L-125.3,357.8L-97.5,298.1Z' fill='rgb(255,161,114)' shape-rendering='crispEdges'></path><path d='M644.9,474.6L729.5,416.5L618.9,424.7Z' fill='rgb(128,0,38)' shape-rendering='crispEdges'></path><path d='M720.1,345L729.5,416.5L710.3,142.6Z' fill='rgb(176,11,35)' shape-rendering='crispEdges'></path><path d='M727.5,473.6L729.5,416.5L644.9,474.6Z' fill='rgb(128,0,38)' shape-rendering='crispEdges'></path><path d='M89.6,-119.3L-135.4,-109.1L-49.9,-111.2Z' fill='rgb(255,255,204)' shape-rendering='crispEdges'></path><path d='M-49.9,-111.2L-135.4,-109.1L-120.5,-36.4Z' fill='rgb(255,255,204)' shape-rendering='crispEdges'></path><path d='M-120.5,-36.4L-135.4,-109.1L-122.5,207Z' fill='rgb(255,251,195)' shape-rendering='crispEdges'></path><path d='M571,525.9L727.5,473.6L644.9,474.6Z' fill='rgb(128,0,38)' shape-rendering='crispEdges'></path><path d='M-125.3,357.8L-123.7,487.2L-98.5,398.7Z' fill='rgb(197,137,115)' shape-rendering='crispEdges'></path><path d='M-98.5,398.7L-123.7,487.2L-29.1,431.4Z' fill='rgb(197,137,115)' shape-rendering='crispEdges'></path><path d='M-12.5,492.8L-123.7,487.2L13.3,517.2Z' fill='rgb(197,137,115)' shape-rendering='crispEdges'></path><path d='M-135.4,-109.1L-123.7,487.2L-125.3,357.8Z' fill='rgb(255,175,122)' shape-rendering='crispEdges'></path></svg>\"`;\n"
  },
  {
    "path": "src/__snapshots__/trianglify.node.test.js.snap",
    "content": "// Jest Snapshot v1, https://goo.gl/fbAQLP\n\nexports[`Pattern generation should match snapshot for non-breaking version bumps 1`] = `\"<svg xmlns='http://www.w3.org/2000/svg' width='600' height='400'><path d='M342.9,227.4L356,297.7L390.3,294.6Z' fill='rgb(230,107,18)' shape-rendering='crispEdges'></path><path d='M390.3,294.6L396.5,178.3L342.9,227.4Z' fill='rgb(239,119,23)' shape-rendering='crispEdges'></path><path d='M234.9,206.1L285,271.2L342.9,227.4Z' fill='rgb(248,143,37)' shape-rendering='crispEdges'></path><path d='M342.9,227.4L285,271.2L356,297.7Z' fill='rgb(237,120,24)' shape-rendering='crispEdges'></path><path d='M390.3,294.6L491.3,250.7L396.5,178.3Z' fill='rgb(227,104,16)' shape-rendering='crispEdges'></path><path d='M270.7,350.3L316.2,368.3L356,297.7Z' fill='rgb(207,101,20)' shape-rendering='crispEdges'></path><path d='M356,297.7L407.8,377.2L390.3,294.6Z' fill='rgb(206,86,10)' shape-rendering='crispEdges'></path><path d='M390.3,294.6L505.4,325.1L491.3,250.7Z' fill='rgb(203,78,4)' shape-rendering='crispEdges'></path><path d='M388.1,135.7L357.9,136.8L396.5,178.3Z' fill='rgb(245,154,50)' shape-rendering='crispEdges'></path><path d='M396.5,178.3L357.9,136.8L342.9,227.4Z' fill='rgb(247,144,40)' shape-rendering='crispEdges'></path><path d='M499.8,175.6L388.1,135.7L396.5,178.3Z' fill='rgb(235,137,40)' shape-rendering='crispEdges'></path><path d='M316.2,368.3L407.8,377.2L356,297.7Z' fill='rgb(197,86,13)' shape-rendering='crispEdges'></path><path d='M285,271.2L270.7,350.3L356,297.7Z' fill='rgb(225,113,21)' shape-rendering='crispEdges'></path><path d='M259.2,131.7L234.9,206.1L342.9,227.4Z' fill='rgb(254,164,51)' shape-rendering='crispEdges'></path><path d='M285,271.2L202,340.9L270.7,350.3Z' fill='rgb(219,124,35)' shape-rendering='crispEdges'></path><path d='M407.8,377.2L505.4,325.1L390.3,294.6Z' fill='rgb(190,72,4)' shape-rendering='crispEdges'></path><path d='M560.9,258.4L499.8,175.6L491.3,250.7Z' fill='rgb(200,92,16)' shape-rendering='crispEdges'></path><path d='M491.3,250.7L499.8,175.6L396.5,178.3Z' fill='rgb(225,113,22)' shape-rendering='crispEdges'></path><path d='M234.9,206.1L207.1,227.9L285,271.2Z' fill='rgb(249,156,49)' shape-rendering='crispEdges'></path><path d='M344.6,57.3L259.2,131.7L357.9,136.8Z' fill='rgb(255,182,87)' shape-rendering='crispEdges'></path><path d='M357.9,136.8L259.2,131.7L342.9,227.4Z' fill='rgb(252,163,52)' shape-rendering='crispEdges'></path><path d='M234.9,206.1L196.4,142.7L207.1,227.9Z' fill='rgb(255,181,69)' shape-rendering='crispEdges'></path><path d='M235,443.7L333.1,435.1L316.2,368.3Z' fill='rgb(175,94,24)' shape-rendering='crispEdges'></path><path d='M316.2,368.3L333.1,435.1L407.8,377.2Z' fill='rgb(173,80,16)' shape-rendering='crispEdges'></path><path d='M407.8,377.2L495.3,411.4L505.4,325.1Z' fill='rgb(160,57,5)' shape-rendering='crispEdges'></path><path d='M333.1,435.1L438.6,425.2L407.8,377.2Z' fill='rgb(163,69,12)' shape-rendering='crispEdges'></path><path d='M178.4,252.9L202,340.9L285,271.2Z' fill='rgb(235,143,46)' shape-rendering='crispEdges'></path><path d='M270.7,350.3L235,443.7L316.2,368.3Z' fill='rgb(183,103,29)' shape-rendering='crispEdges'></path><path d='M564.8,355.1L560.9,258.4L505.4,325.1Z' fill='rgb(165,59,4)' shape-rendering='crispEdges'></path><path d='M505.4,325.1L560.9,258.4L491.3,250.7Z' fill='rgb(187,73,6)' shape-rendering='crispEdges'></path><path d='M108.6,206.2L178.4,252.9L207.1,227.9Z' fill='rgb(252,176,83)' shape-rendering='crispEdges'></path><path d='M207.1,227.9L178.4,252.9L285,271.2Z' fill='rgb(246,155,51)' shape-rendering='crispEdges'></path><path d='M438.6,425.2L495.3,411.4L407.8,377.2Z' fill='rgb(152,57,7)' shape-rendering='crispEdges'></path><path d='M407.6,22.7L344.6,57.3L388.1,135.7Z' fill='rgb(250,175,97)' shape-rendering='crispEdges'></path><path d='M388.1,135.7L344.6,57.3L357.9,136.8Z' fill='rgb(250,171,80)' shape-rendering='crispEdges'></path><path d='M201.9,26.9L196.4,142.7L259.2,131.7Z' fill='rgb(255,213,115)' shape-rendering='crispEdges'></path><path d='M259.2,131.7L196.4,142.7L234.9,206.1Z' fill='rgb(254,190,74)' shape-rendering='crispEdges'></path><path d='M580.8,103L506.2,98.2L499.8,175.6Z' fill='rgb(204,131,57)' shape-rendering='crispEdges'></path><path d='M499.8,175.6L506.2,98.2L388.1,135.7Z' fill='rgb(227,139,52)' shape-rendering='crispEdges'></path><path d='M134.1,328.3L209.2,402.4L202,340.9Z' fill='rgb(202,131,60)' shape-rendering='crispEdges'></path><path d='M202,340.9L209.2,402.4L270.7,350.3Z' fill='rgb(196,120,40)' shape-rendering='crispEdges'></path><path d='M495.3,411.4L564.8,355.1L505.4,325.1Z' fill='rgb(147,50,5)' shape-rendering='crispEdges'></path><path d='M560.9,258.4L587.3,208.1L499.8,175.6Z' fill='rgb(191,94,19)' shape-rendering='crispEdges'></path><path d='M651.7,272.4L587.3,208.1L560.9,258.4Z' fill='rgb(167,75,14)' shape-rendering='crispEdges'></path><path d='M240.9,512.2L358.9,485.8L333.1,435.1Z' fill='rgb(174,90,22)' shape-rendering='crispEdges'></path><path d='M333.1,435.1L358.9,485.8L438.6,425.2Z' fill='rgb(166,73,14)' shape-rendering='crispEdges'></path><path d='M438.6,425.2L503.8,479.3L495.3,411.4Z' fill='rgb(142,51,6)' shape-rendering='crispEdges'></path><path d='M209.2,402.4L235,443.7L270.7,350.3Z' fill='rgb(177,110,38)' shape-rendering='crispEdges'></path><path d='M536.2,22.2L473.1,47.6L506.2,98.2Z' fill='rgb(217,151,93)' shape-rendering='crispEdges'></path><path d='M506.2,98.2L473.1,47.6L388.1,135.7Z' fill='rgb(232,154,79)' shape-rendering='crispEdges'></path><path d='M358.9,485.8L391.2,495.1L438.6,425.2Z' fill='rgb(162,68,12)' shape-rendering='crispEdges'></path><path d='M473.1,47.6L407.6,22.7L388.1,135.7Z' fill='rgb(242,166,94)' shape-rendering='crispEdges'></path><path d='M124.7,294.2L134.1,328.3L178.4,252.9Z' fill='rgb(237,157,80)' shape-rendering='crispEdges'></path><path d='M178.4,252.9L134.1,328.3L202,340.9Z' fill='rgb(229,147,67)' shape-rendering='crispEdges'></path><path d='M162.8,515.4L240.9,512.2L235,443.7Z' fill='rgb(177,116,46)' shape-rendering='crispEdges'></path><path d='M495.3,411.4L566.2,407.4L564.8,355.1Z' fill='rgb(126,44,6)' shape-rendering='crispEdges'></path><path d='M564.8,355.1L651.7,272.4L560.9,258.4Z' fill='rgb(155,58,7)' shape-rendering='crispEdges'></path><path d='M503.8,479.3L566.2,407.4L495.3,411.4Z' fill='rgb(128,45,6)' shape-rendering='crispEdges'></path><path d='M108.6,206.2L124.7,294.2L178.4,252.9Z' fill='rgb(250,172,89)' shape-rendering='crispEdges'></path><path d='M344.6,57.3L273.5,26.7L259.2,131.7Z' fill='rgb(255,198,110)' shape-rendering='crispEdges'></path><path d='M273,-16.7L273.5,26.7L336.7,-43.1Z' fill='rgb(255,205,139)' shape-rendering='crispEdges'></path><path d='M391.2,495.1L503.8,479.3L438.6,425.2Z' fill='rgb(152,57,7)' shape-rendering='crispEdges'></path><path d='M587.3,208.1L580.8,103L499.8,175.6Z' fill='rgb(192,115,36)' shape-rendering='crispEdges'></path><path d='M139.1,109.6L108.6,206.2L196.4,142.7Z' fill='rgb(255,211,112)' shape-rendering='crispEdges'></path><path d='M196.4,142.7L108.6,206.2L207.1,227.9Z' fill='rgb(255,189,89)' shape-rendering='crispEdges'></path><path d='M201.9,26.9L139.1,109.6L196.4,142.7Z' fill='rgb(255,222,136)' shape-rendering='crispEdges'></path><path d='M654.3,350.8L651.7,272.4L564.8,355.1Z' fill='rgb(139,50,6)' shape-rendering='crispEdges'></path><path d='M587.3,208.1L630.4,103.1L580.8,103Z' fill='rgb(177,117,48)' shape-rendering='crispEdges'></path><path d='M162.8,515.4L235,443.7L209.2,402.4Z' fill='rgb(177,118,50)' shape-rendering='crispEdges'></path><path d='M235,443.7L240.9,512.2L333.1,435.1Z' fill='rgb(176,101,30)' shape-rendering='crispEdges'></path><path d='M358.9,485.8L240.9,512.2L391.2,495.1Z' fill='rgb(172,85,19)' shape-rendering='crispEdges'></path><path d='M273,-16.7L201.9,26.9L273.5,26.7Z' fill='rgb(255,217,145)' shape-rendering='crispEdges'></path><path d='M273.5,26.7L201.9,26.9L259.2,131.7Z' fill='rgb(255,213,125)' shape-rendering='crispEdges'></path><path d='M638.2,509.9L620.1,400.3L566.2,407.4Z' fill='rgb(102,37,6)' shape-rendering='crispEdges'></path><path d='M566.2,407.4L620.1,400.3L564.8,355.1Z' fill='rgb(114,40,6)' shape-rendering='crispEdges'></path><path d='M514.5,-43.8L386.6,-31L407.6,22.7Z' fill='rgb(243,170,120)' shape-rendering='crispEdges'></path><path d='M580.8,103L536.2,22.2L506.2,98.2Z' fill='rgb(203,142,83)' shape-rendering='crispEdges'></path><path d='M514.5,-43.8L407.6,22.7L473.1,47.6Z' fill='rgb(234,163,114)' shape-rendering='crispEdges'></path><path d='M407.6,22.7L386.6,-31L344.6,57.3Z' fill='rgb(254,182,120)' shape-rendering='crispEdges'></path><path d='M336.7,-43.1L273.5,26.7L344.6,57.3Z' fill='rgb(255,198,130)' shape-rendering='crispEdges'></path><path d='M651.7,272.4L663.5,223.8L587.3,208.1Z' fill='rgb(169,79,17)' shape-rendering='crispEdges'></path><path d='M580.8,103L609.7,27.6L536.2,22.2Z' fill='rgb(190,141,92)' shape-rendering='crispEdges'></path><path d='M620.1,400.3L654.3,350.8L564.8,355.1Z' fill='rgb(118,42,6)' shape-rendering='crispEdges'></path><path d='M726.1,259.6L686.3,206L663.5,223.8Z' fill='rgb(170,81,18)' shape-rendering='crispEdges'></path><path d='M663.5,223.8L630.4,103.1L587.3,208.1Z' fill='rgb(176,102,31)' shape-rendering='crispEdges'></path><path d='M386.6,-31L336.7,-43.1L344.6,57.3Z' fill='rgb(255,189,130)' shape-rendering='crispEdges'></path><path d='M124.7,294.2L54.7,300.1L134.1,328.3Z' fill='rgb(232,157,89)' shape-rendering='crispEdges'></path><path d='M134.1,328.3L89.3,429.4L209.2,402.4Z' fill='rgb(186,132,74)' shape-rendering='crispEdges'></path><path d='M108.6,206.2L54.7,300.1L124.7,294.2Z' fill='rgb(247,172,98)' shape-rendering='crispEdges'></path><path d='M11.8,176.7L54.7,300.1L108.6,206.2Z' fill='rgb(255,190,116)' shape-rendering='crispEdges'></path><path d='M726.1,259.6L663.5,223.8L651.7,272.4Z' fill='rgb(166,72,13)' shape-rendering='crispEdges'></path><path d='M663.5,223.8L686.3,206L630.4,103.1Z' fill='rgb(176,102,31)' shape-rendering='crispEdges'></path><path d='M391.2,495.1L564.2,521.7L503.8,479.3Z' fill='rgb(139,50,6)' shape-rendering='crispEdges'></path><path d='M503.8,479.3L564.2,521.7L566.2,407.4Z' fill='rgb(120,43,6)' shape-rendering='crispEdges'></path><path d='M702,425.1L689.2,351.7L654.3,350.8Z' fill='rgb(114,41,6)' shape-rendering='crispEdges'></path><path d='M240.9,512.2L564.2,521.7L391.2,495.1Z' fill='rgb(162,68,11)' shape-rendering='crispEdges'></path><path d='M54.7,300.1L89.3,429.4L134.1,328.3Z' fill='rgb(208,146,89)' shape-rendering='crispEdges'></path><path d='M89.3,429.4L162.8,515.4L209.2,402.4Z' fill='rgb(178,127,70)' shape-rendering='crispEdges'></path><path d='M240.9,512.2L111.9,519.8L564.2,521.7Z' fill='rgb(174,91,22)' shape-rendering='crispEdges'></path><path d='M702,425.1L654.3,350.8L620.1,400.3Z' fill='rgb(106,38,6)' shape-rendering='crispEdges'></path><path d='M654.3,350.8L689.2,351.7L651.7,272.4Z' fill='rgb(139,50,6)' shape-rendering='crispEdges'></path><path d='M201.9,26.9L106.2,41.2L139.1,109.6Z' fill='rgb(255,235,163)' shape-rendering='crispEdges'></path><path d='M18.5,119.3L11.8,176.7L108.6,206.2Z' fill='rgb(255,215,137)' shape-rendering='crispEdges'></path><path d='M241.2,-79.6L164.3,-3.1L201.9,26.9Z' fill='rgb(255,230,165)' shape-rendering='crispEdges'></path><path d='M241.2,-79.6L201.9,26.9L273,-16.7Z' fill='rgb(255,221,152)' shape-rendering='crispEdges'></path><path d='M705,57.6L609.7,27.6L630.4,103.1Z' fill='rgb(180,135,86)' shape-rendering='crispEdges'></path><path d='M630.4,103.1L609.7,27.6L580.8,103Z' fill='rgb(179,132,80)' shape-rendering='crispEdges'></path><path d='M536.2,22.2L514.5,-43.8L473.1,47.6Z' fill='rgb(219,155,111)' shape-rendering='crispEdges'></path><path d='M570,-27.1L514.5,-43.8L536.2,22.2Z' fill='rgb(207,150,113)' shape-rendering='crispEdges'></path><path d='M439.5,-114.5L311.2,-75.7L336.7,-43.1Z' fill='rgb(255,187,129)' shape-rendering='crispEdges'></path><path d='M439.5,-114.5L336.7,-43.1L386.6,-31Z' fill='rgb(253,181,126)' shape-rendering='crispEdges'></path><path d='M336.7,-43.1L311.2,-75.7L273,-16.7Z' fill='rgb(255,202,137)' shape-rendering='crispEdges'></path><path d='M164.3,-3.1L106.2,41.2L201.9,26.9Z' fill='rgb(255,238,175)' shape-rendering='crispEdges'></path><path d='M686.3,206L686.9,119.5L630.4,103.1Z' fill='rgb(177,116,45)' shape-rendering='crispEdges'></path><path d='M726.1,259.6L686.9,119.5L686.3,206Z' fill='rgb(175,95,25)' shape-rendering='crispEdges'></path><path d='M609.7,27.6L570,-27.1L536.2,22.2Z' fill='rgb(194,145,109)' shape-rendering='crispEdges'></path><path d='M642.4,-47.5L570,-27.1L609.7,27.6Z' fill='rgb(183,141,110)' shape-rendering='crispEdges'></path><path d='M689.2,351.7L726.1,259.6L651.7,272.4Z' fill='rgb(153,58,7)' shape-rendering='crispEdges'></path><path d='M311.2,-75.7L241.2,-79.6L273,-16.7Z' fill='rgb(255,211,144)' shape-rendering='crispEdges'></path><path d='M164.3,-3.1L139.9,-29.7L106.2,41.2Z' fill='rgb(255,242,190)' shape-rendering='crispEdges'></path><path d='M47.6,452.4L111.9,519.8L89.3,429.4Z' fill='rgb(180,136,89)' shape-rendering='crispEdges'></path><path d='M89.3,429.4L111.9,519.8L162.8,515.4Z' fill='rgb(179,132,79)' shape-rendering='crispEdges'></path><path d='M162.8,515.4L111.9,519.8L240.9,512.2Z' fill='rgb(178,124,63)' shape-rendering='crispEdges'></path><path d='M18.5,119.3L108.6,206.2L139.1,109.6Z' fill='rgb(255,221,134)' shape-rendering='crispEdges'></path><path d='M54.7,300.1L9.7,344.5L89.3,429.4Z' fill='rgb(206,148,100)' shape-rendering='crispEdges'></path><path d='M564.2,521.7L638.2,509.9L566.2,407.4Z' fill='rgb(105,38,6)' shape-rendering='crispEdges'></path><path d='M689.2,351.7L702,425.1L726.1,259.6Z' fill='rgb(129,46,6)' shape-rendering='crispEdges'></path><path d='M241.2,-79.6L139.9,-29.7L164.3,-3.1Z' fill='rgb(255,234,174)' shape-rendering='crispEdges'></path><path d='M45.4,57.6L18.5,119.3L139.1,109.6Z' fill='rgb(255,238,170)' shape-rendering='crispEdges'></path><path d='M-9.7,287.1L9.7,344.5L54.7,300.1Z' fill='rgb(234,163,112)' shape-rendering='crispEdges'></path><path d='M638.2,509.9L702,425.1L620.1,400.3Z' fill='rgb(102,37,6)' shape-rendering='crispEdges'></path><path d='M9.7,344.5L47.6,452.4L89.3,429.4Z' fill='rgb(181,139,98)' shape-rendering='crispEdges'></path><path d='M45.4,57.6L139.1,109.6L106.2,41.2Z' fill='rgb(255,240,173)' shape-rendering='crispEdges'></path><path d='M513.2,-124.5L439.5,-114.5L514.5,-43.8Z' fill='rgb(226,159,116)' shape-rendering='crispEdges'></path><path d='M514.5,-43.8L439.5,-114.5L386.6,-31Z' fill='rgb(241,167,119)' shape-rendering='crispEdges'></path><path d='M311.2,-75.7L178,-113.2L241.2,-79.6Z' fill='rgb(255,220,151)' shape-rendering='crispEdges'></path><path d='M11.8,176.7L-9.7,287.1L54.7,300.1Z' fill='rgb(253,182,121)' shape-rendering='crispEdges'></path><path d='M-45.6,183.3L-9.7,287.1L11.8,176.7Z' fill='rgb(255,198,135)' shape-rendering='crispEdges'></path><path d='M18,-13.9L45.4,57.6L106.2,41.2Z' fill='rgb(255,250,202)' shape-rendering='crispEdges'></path><path d='M726.1,259.6L705,57.6L686.9,119.5Z' fill='rgb(176,115,44)' shape-rendering='crispEdges'></path><path d='M686.9,119.5L705,57.6L630.4,103.1Z' fill='rgb(179,129,74)' shape-rendering='crispEdges'></path><path d='M536.4,-126.6L513.2,-124.5L514.5,-43.8Z' fill='rgb(214,153,113)' shape-rendering='crispEdges'></path><path d='M536.4,-126.6L514.5,-43.8L570,-27.1Z' fill='rgb(207,150,113)' shape-rendering='crispEdges'></path><path d='M688.9,-34L642.4,-47.5L609.7,27.6Z' fill='rgb(183,141,110)' shape-rendering='crispEdges'></path><path d='M241.2,-79.6L178,-113.2L139.9,-29.7Z' fill='rgb(255,233,172)' shape-rendering='crispEdges'></path><path d='M139.9,-29.7L18,-13.9L106.2,41.2Z' fill='rgb(255,249,205)' shape-rendering='crispEdges'></path><path d='M439.5,-114.5L178,-113.2L311.2,-75.7Z' fill='rgb(255,201,137)' shape-rendering='crispEdges'></path><path d='M131,-124.4L178,-113.2L439.5,-114.5Z' fill='rgb(255,218,150)' shape-rendering='crispEdges'></path><path d='M657.2,-85.5L536.4,-126.6L570,-27.1Z' fill='rgb(188,143,111)' shape-rendering='crispEdges'></path><path d='M513.2,-124.5L131,-124.4L439.5,-114.5Z' fill='rgb(255,188,129)' shape-rendering='crispEdges'></path><path d='M638.2,509.9L725.2,482.4L702,425.1Z' fill='rgb(102,37,6)' shape-rendering='crispEdges'></path><path d='M702,425.1L725.2,482.4L726.1,259.6Z' fill='rgb(107,39,6)' shape-rendering='crispEdges'></path><path d='M-62.5,104.1L-45.6,183.3L18.5,119.3Z' fill='rgb(255,230,165)' shape-rendering='crispEdges'></path><path d='M18.5,119.3L-45.6,183.3L11.8,176.7Z' fill='rgb(255,221,152)' shape-rendering='crispEdges'></path><path d='M-62.4,329L-33.1,415.8L9.7,344.5Z' fill='rgb(205,149,112)' shape-rendering='crispEdges'></path><path d='M-62.4,329L9.7,344.5L-9.7,287.1Z' fill='rgb(229,161,116)' shape-rendering='crispEdges'></path><path d='M9.7,344.5L-33.1,415.8L47.6,452.4Z' fill='rgb(182,140,108)' shape-rendering='crispEdges'></path><path d='M47.6,452.4L22.8,527.3L111.9,519.8Z' fill='rgb(181,138,95)' shape-rendering='crispEdges'></path><path d='M705,57.6L688.9,-34L609.7,27.6Z' fill='rgb(182,140,104)' shape-rendering='crispEdges'></path><path d='M642.4,-47.5L657.2,-85.5L570,-27.1Z' fill='rgb(183,141,110)' shape-rendering='crispEdges'></path><path d='M-92.6,283L-62.4,329L-9.7,287.1Z' fill='rgb(241,167,118)' shape-rendering='crispEdges'></path><path d='M-41.6,508.7L22.8,527.3L47.6,452.4Z' fill='rgb(182,140,108)' shape-rendering='crispEdges'></path><path d='M111.9,519.8L22.8,527.3L564.2,521.7Z' fill='rgb(176,111,39)' shape-rendering='crispEdges'></path><path d='M39,-89.3L18,-13.9L139.9,-29.7Z' fill='rgb(255,251,211)' shape-rendering='crispEdges'></path><path d='M-51.2,56.1L-62.5,104.1L18.5,119.3Z' fill='rgb(255,242,190)' shape-rendering='crispEdges'></path><path d='M688.9,-34L657.2,-85.5L642.4,-47.5Z' fill='rgb(183,141,110)' shape-rendering='crispEdges'></path><path d='M536.4,-126.6L131,-124.4L513.2,-124.5Z' fill='rgb(252,180,125)' shape-rendering='crispEdges'></path><path d='M178,-113.2L131,-124.4L139.9,-29.7Z' fill='rgb(255,241,187)' shape-rendering='crispEdges'></path><path d='M-51.2,56.1L18.5,119.3L45.4,57.6Z' fill='rgb(255,245,195)' shape-rendering='crispEdges'></path><path d='M-45.6,183.3L-92.6,283L-9.7,287.1Z' fill='rgb(255,184,127)' shape-rendering='crispEdges'></path><path d='M-89.1,432L-41.6,508.7L-33.1,415.8Z' fill='rgb(183,141,110)' shape-rendering='crispEdges'></path><path d='M-103.5,176L-92.6,283L-45.6,183.3Z' fill='rgb(255,198,135)' shape-rendering='crispEdges'></path><path d='M18,-13.9L-51.2,56.1L45.4,57.6Z' fill='rgb(255,252,214)' shape-rendering='crispEdges'></path><path d='M131,-124.4L39,-89.3L139.9,-29.7Z' fill='rgb(255,247,200)' shape-rendering='crispEdges'></path><path d='M18,-13.9L-27.6,-18L-51.2,56.1Z' fill='rgb(255,254,226)' shape-rendering='crispEdges'></path><path d='M-123.3,147.5L-103.5,176L-62.5,104.1Z' fill='rgb(255,227,160)' shape-rendering='crispEdges'></path><path d='M-62.5,104.1L-103.5,176L-45.6,183.3Z' fill='rgb(255,223,154)' shape-rendering='crispEdges'></path><path d='M-33.1,415.8L-41.6,508.7L47.6,452.4Z' fill='rgb(183,141,110)' shape-rendering='crispEdges'></path><path d='M-89.1,432L-33.1,415.8L-62.4,329Z' fill='rgb(187,143,111)' shape-rendering='crispEdges'></path><path d='M39,-89.3L-27.6,-18L18,-13.9Z' fill='rgb(255,254,226)' shape-rendering='crispEdges'></path><path d='M-118.4,41.5L-123.3,147.5L-62.5,104.1Z' fill='rgb(255,241,188)' shape-rendering='crispEdges'></path><path d='M-133.7,335.4L-62.4,329L-92.6,283Z' fill='rgb(232,162,117)' shape-rendering='crispEdges'></path><path d='M-133.7,335.4L-89.1,432L-62.4,329Z' fill='rgb(203,149,112)' shape-rendering='crispEdges'></path><path d='M-118.4,41.5L-62.5,104.1L-51.2,56.1Z' fill='rgb(255,247,201)' shape-rendering='crispEdges'></path><path d='M-103.5,176L-133.7,335.4L-92.6,283Z' fill='rgb(251,179,125)' shape-rendering='crispEdges'></path><path d='M-123.3,147.5L-133.7,335.4L-103.5,176Z' fill='rgb(255,196,134)' shape-rendering='crispEdges'></path><path d='M705,57.6L708.8,-126.1L688.9,-34Z' fill='rgb(183,141,110)' shape-rendering='crispEdges'></path><path d='M688.9,-34L708.8,-126.1L657.2,-85.5Z' fill='rgb(183,141,110)' shape-rendering='crispEdges'></path><path d='M657.2,-85.5L708.8,-126.1L536.4,-126.6Z' fill='rgb(183,141,110)' shape-rendering='crispEdges'></path><path d='M726.1,259.6L708.8,-126.1L705,57.6Z' fill='rgb(180,135,86)' shape-rendering='crispEdges'></path><path d='M39,-89.3L-16.6,-108.5L-27.6,-18Z' fill='rgb(255,255,229)' shape-rendering='crispEdges'></path><path d='M-115.8,-25.3L-118.4,41.5L-51.2,56.1Z' fill='rgb(255,253,219)' shape-rendering='crispEdges'></path><path d='M131,-124.4L-16.6,-108.5L39,-89.3Z' fill='rgb(255,252,215)' shape-rendering='crispEdges'></path><path d='M-115.8,-25.3L-51.2,56.1L-27.6,-18Z' fill='rgb(255,255,227)' shape-rendering='crispEdges'></path><path d='M-123.3,147.5L-115.8,-25.3L-133.7,335.4Z' fill='rgb(255,224,155)' shape-rendering='crispEdges'></path><path d='M-133.7,335.4L-115.1,485.4L-89.1,432Z' fill='rgb(183,141,110)' shape-rendering='crispEdges'></path><path d='M-89.1,432L-115.1,485.4L-41.6,508.7Z' fill='rgb(183,141,110)' shape-rendering='crispEdges'></path><path d='M-109,-104.7L-115.8,-25.3L-27.6,-18Z' fill='rgb(255,255,229)' shape-rendering='crispEdges'></path><path d='M-118.4,41.5L-115.8,-25.3L-123.3,147.5Z' fill='rgb(255,250,207)' shape-rendering='crispEdges'></path><path d='M131,-124.4L-109,-104.7L-16.6,-108.5Z' fill='rgb(255,255,228)' shape-rendering='crispEdges'></path><path d='M-16.6,-108.5L-109,-104.7L-27.6,-18Z' fill='rgb(255,255,229)' shape-rendering='crispEdges'></path></svg>\"`;\n"
  },
  {
    "path": "src/pattern.js",
    "content": "import { createCanvas } from 'canvas' // this is a simple shim in browsers\nimport getScalingRatio from './utils/getScalingRatio'\nconst isBrowser = (typeof window !== 'undefined' && typeof document !== 'undefined')\nconst doc = isBrowser && document\n\n// utility for building up SVG node trees with the DOM API\nconst sDOM = (tagName, attrs = {}, children, existingRoot) => {\n  const elem = existingRoot || doc.createElementNS('http://www.w3.org/2000/svg', tagName)\n  Object.keys(attrs).forEach(\n    k => attrs[k] !== undefined && elem.setAttribute(k, attrs[k])\n  )\n  children && children.forEach(c => elem.appendChild(c))\n  return elem\n}\n\n// serialize attrs object to XML attributes. Assumes everything is already\n// escaped (safe input).\nconst serializeAttrs = attrs => (\n  Object.entries(attrs)\n    .filter(([_, v]) => v !== undefined)\n    .map(([k, v]) => `${k}='${v}'`)\n    .join(' ')\n)\n\n// minimal XML-tree builder for use in Node\nconst sNode = (tagName, attrs = {}, children) => ({\n  tagName,\n  attrs,\n  children,\n  toString: () => `<${tagName} ${serializeAttrs(attrs)}>${children ? children.join('') : ''}</${tagName}>`\n})\n\nexport default class Pattern {\n  constructor (points, polys, opts) {\n    this.points = points\n    this.polys = polys\n    this.opts = opts\n  }\n\n  _toSVG = (serializer, destSVG, _svgOpts = {}) => {\n    const s = serializer\n    const defaultSVGOptions = { includeNamespace: true, coordinateDecimals: 1 }\n    const svgOpts = { ...defaultSVGOptions, ..._svgOpts }\n    const { points, opts, polys } = this\n    const { width, height } = opts\n\n    // only round points if the coordinateDecimals option is non-negative\n    // set coordinateDecimals to -1 to disable point rounding\n    const roundedPoints = (svgOpts.coordinateDecimals < 0) ? points : points.map(\n      p => p.map(x => +x.toFixed(svgOpts.coordinateDecimals))\n    )\n\n    const paths = polys.map((poly) => {\n      const xys = poly.vertexIndices.map(i => `${roundedPoints[i][0]},${roundedPoints[i][1]}`)\n      const d = 'M' + xys.join('L') + 'Z'\n      const hasStroke = opts.strokeWidth > 0\n      // shape-rendering crispEdges resolves the antialiasing issues, at the\n      // potential cost of some visual degradation. For the best performance\n      // *and* best visual rendering, use Canvas.\n      return s('path', {\n        d,\n        fill: opts.fill ? poly.color.css() : undefined,\n        stroke: hasStroke ? poly.color.css() : undefined,\n        'stroke-width': hasStroke ? opts.strokeWidth : undefined,\n        'stroke-linejoin': hasStroke ? 'round' : undefined,\n        'shape-rendering': opts.fill ? 'crispEdges' : undefined\n      })\n    })\n\n    const svg = s(\n      'svg',\n      {\n        xmlns: svgOpts.includeNamespace ? 'http://www.w3.org/2000/svg' : undefined,\n        width,\n        height\n      },\n      paths,\n      destSVG\n    )\n\n    return svg\n  }\n\n  toSVGTree = (svgOpts) => this._toSVG(sNode, null, svgOpts)\n\n  toSVG = isBrowser\n    ? (destSVG, svgOpts) => this._toSVG(sDOM, destSVG, svgOpts)\n    : (destSVG, svgOpts) => this.toSVGTree(svgOpts)\n\n  toCanvas = (destCanvas, _canvasOpts = {}) => {\n    const defaultCanvasOptions = {\n      scaling: isBrowser ? 'auto' : false,\n      applyCssScaling: !!isBrowser\n    }\n    const canvasOpts = { ...defaultCanvasOptions, ..._canvasOpts }\n    const { points, polys, opts } = this\n\n    const canvas = destCanvas || createCanvas(opts.width, opts.height) // doc.createElement('canvas')\n    const ctx = canvas.getContext('2d')\n\n    if (canvasOpts.scaling) {\n      const drawRatio = canvasOpts.scaling === 'auto'\n        ? getScalingRatio(ctx)\n        : canvasOpts.scaling\n\n      if (drawRatio !== 1) {\n        // set the 'real' canvas size to the higher width/height\n        canvas.width = opts.width * drawRatio\n        canvas.height = opts.height * drawRatio\n\n        if (canvasOpts.applyCssScaling) {\n          // ...then scale it back down with CSS\n          canvas.style.width = opts.width + 'px'\n          canvas.style.height = opts.height + 'px'\n        }\n      } else {\n        // this is a normal 1:1 device: don't apply scaling\n        canvas.width = opts.width\n        canvas.height = opts.height\n        if (canvasOpts.applyCssScaling) {\n          canvas.style.width = ''\n          canvas.style.height = ''\n        }\n      }\n      ctx.scale(drawRatio, drawRatio)\n    }\n\n    const drawPoly = (poly, fill, stroke) => {\n      const vertexIndices = poly.vertexIndices\n      ctx.lineJoin = 'round'\n      ctx.beginPath()\n      ctx.moveTo(points[vertexIndices[0]][0], points[vertexIndices[0]][1])\n      ctx.lineTo(points[vertexIndices[1]][0], points[vertexIndices[1]][1])\n      ctx.lineTo(points[vertexIndices[2]][0], points[vertexIndices[2]][1])\n      ctx.closePath()\n      if (fill) {\n        ctx.fillStyle = fill.color.css()\n        ctx.fill()\n      }\n      if (stroke) {\n        ctx.strokeStyle = stroke.color.css()\n        ctx.lineWidth = stroke.width\n        ctx.stroke()\n      }\n    }\n\n    if (opts.fill && opts.strokeWidth < 1) {\n      // draw background strokes at edge bounds to solve for white gaps due to\n      // canvas antialiasing. See https://stackoverflow.com/q/19319963/381299\n      polys.forEach(poly => drawPoly(poly, null, { color: poly.color, width: 2 }))\n    }\n\n    // draw visible fills and strokes\n    polys.forEach(poly => drawPoly(\n      poly,\n      opts.fill && { color: poly.color },\n      (opts.strokeWidth > 0) && { color: poly.color, width: opts.strokeWidth }\n    ))\n\n    return canvas\n  }\n}\n"
  },
  {
    "path": "src/trianglify.browser.test.js",
    "content": "/**\n * @jest-environment jsdom\n */\n/* eslint-env jest */\n// Because Trianglify is authored using ES modules syntax (which Rollup likes)\n// it can't be unit-tested on a per-file basis using Jest without maintaining\n// a separate compiler configuration for test files.\n//\n// In the interest of sanity, this means that instead of unit-testing Trianglify,\n// I'm importing the built `dist` files and running a set of integration tests\n// against the public API only.\n//\n// I hope to start unit-testing in the future, when native support for ES modules\n// lands in Node and Jest (See https://github.com/facebook/jest/issues/9430)\n\n// pull in the transpiled, browser-bundle version of trianglify.\n// this is needed so that we get the browser-targeted Canvas shim, and\n// NOT the node library\nconst trianglify = require('../dist/trianglify.bundle.debug.js')\nconst Pattern = trianglify.Pattern\n\ndescribe('Public API', () => {\n  test('default export should be a function', () => {\n    expect(trianglify).toBeInstanceOf(Function)\n  })\n\n  test('should export the colorbrewer palette', () => {\n    expect(trianglify.utils.colorbrewer).toBeDefined()\n    expect(trianglify.utils.colorbrewer.YlGn).toBeDefined()\n  })\n\n  test('should export the mix utility', () => {\n    expect(trianglify.utils.mix).toBeDefined()\n    expect(trianglify.utils.mix).toBeInstanceOf(Function)\n  })\n\n  test('should export the color function generators', () => {\n    expect(trianglify.colorFunctions.interpolateLinear).toBeDefined()\n    expect(trianglify.colorFunctions.interpolateLinear).toBeInstanceOf(Function)\n    expect(trianglify.colorFunctions.sparkle).toBeInstanceOf(Function)\n    expect(trianglify.colorFunctions.shadows).toBeInstanceOf(Function)\n  })\n})\n\ndescribe('Options Parsing', () => {\n  test('should throw an error on unrecognized options', () => {\n    expect(\n      () => trianglify({ height: 100, width: 100, bad_option: true })\n    ).toThrow()\n  })\n\n  test('should throw an error on invalid dimensions', () => {\n    expect(\n      () => trianglify({ height: 100, width: -1 })\n    ).toThrow()\n\n    expect(\n      () => trianglify({ height: -1, width: 100 })\n    ).toThrow()\n  })\n})\n\ndescribe('Pattern generation', () => {\n  test('return a Pattern given valid options', () => {\n    expect(trianglify({ height: 100, width: 100 })).toBeInstanceOf(Pattern)\n  })\n\n  test('should use default options when invoked', () => {\n    const pattern = trianglify()\n    expect(pattern.opts).toEqual(trianglify.defaultOptions)\n  })\n\n  test('should override opts with user-provided options', () => {\n    const pattern = trianglify({ height: 100, width: 100, cellSize: 1234 })\n    expect(pattern.opts.cellSize).toEqual(1234)\n  })\n\n  test('should accept the random color option without erroring', () => {\n    expect(() => {\n      trianglify({ xColors: 'random' })\n      trianglify({ yColors: 'random' })\n    }).not.toThrow()\n  })\n\n  test('should accept the match color option without erroring', () => {\n    expect(() => {\n      trianglify({ xColors: 'random', yColors: 'match' })\n    }).not.toThrow()\n  })\n\n  test('should accept a named colorbrewer palette without erroring', () => {\n    expect(() => {\n      trianglify({ xColors: 'RdBu' })\n      trianglify({ yColors: 'OrRd' })\n    }).not.toThrow()\n  })\n\n  test('should error on a names palette that does not exist', () => {\n    expect(() => {\n      trianglify({ xColors: 'Foo' })\n      trianglify({ yColors: 'Bar' })\n    }).toThrow()\n  })\n\n  test('should generate well-formed geometry', () => {\n    const pattern = trianglify({ height: 100, width: 100, cellSize: 20 })\n    // we care about pattern.points and pattern.polys here\n    expect(pattern.points).toBeInstanceOf(Array)\n    // assert that points is an array of [x, y] tuples\n    pattern.points.forEach(point => {\n      expect(point).toBeInstanceOf(Array)\n      expect(point).toHaveLength(2)\n    })\n\n    // asset the polys looks right\n    expect(pattern.polys).toBeInstanceOf(Array)\n    pattern.polys.forEach(poly => {\n      expect(poly).toBeInstanceOf(Object)\n      expect(Object.keys(poly)).toEqual(['vertexIndices', 'centroid', 'color'])\n    })\n  })\n\n  test('should be random by default', () => {\n    const pattern1 = trianglify()\n    const pattern2 = trianglify()\n    expect(pattern1.toSVG()).not.toEqual(pattern2.toSVG())\n  })\n\n  test('should be deterministic when seeded', () => {\n    const pattern1 = trianglify({ seed: 'deadbeef' })\n    const pattern2 = trianglify({ seed: 'deadbeef' })\n    expect(pattern1.toSVG()).toEqual(pattern2.toSVG())\n  })\n\n  test('should match snapshot for non-breaking version bumps', () => {\n    expect(trianglify({ seed: 'snapshotText' }).toSVG()).toMatchSnapshot()\n  })\n})\n\ndescribe('Pattern outputs in browser environment', () => {\n  describe('#toSVG', () => {\n    test('returns a well-formed SVG node', () => {\n      const pattern = trianglify()\n      const svgDOM = pattern.toSVG()\n      expect(svgDOM.tagName).toEqual('svg')\n      expect(svgDOM.children).toBeInstanceOf(global.HTMLCollection)\n      Array.from(svgDOM.children).forEach(node => {\n        expect(node.tagName).toEqual('path')\n      })\n      expect(svgDOM.children).toHaveLength(pattern.polys.length)\n    })\n\n    test('supports rendering to the destSVG target', () => {\n      const destSVG = document.createElementNS('http://www.w3.org/2000/svg', 'svg')\n      expect(destSVG.children).toHaveLength(0)\n      const pattern = trianglify({ seed: 'destSVG works' })\n      // side-effect-ful render to destSVG\n      pattern.toSVG(destSVG)\n      expect(destSVG.children).toHaveLength(pattern.polys.length)\n      expect(destSVG).toMatchSnapshot()\n    })\n  })\n\n  describe('#toSVGTree', () => {\n    const pattern = trianglify({ seed: 'foobar' })\n    const svgTree = pattern.toSVGTree()\n\n    test('returns a synthetic tree of object literals', () => {\n      expect(Object.keys(svgTree)).toEqual(['tagName', 'attrs', 'children', 'toString'])\n    })\n\n    test('serializes to an SVG string', () => {\n      expect(svgTree.toString()).toMatchSnapshot()\n    })\n  })\n\n  describe('#toCanvas', () => {\n    test('returns a Canvas node', () => {\n      const pattern = trianglify()\n      const canvas = pattern.toCanvas()\n      expect(canvas).toBeInstanceOf(global.HTMLElement)\n      expect(canvas.tagName).toEqual('CANVAS')\n      // there's not really any way to test the canvas contents here\n    })\n  })\n})\n"
  },
  {
    "path": "src/trianglify.js",
    "content": "/*\n * Trianglify.js\n * by @qrohlf\n *\n * Licensed under the GPLv3\n */\n\nimport Delaunator from 'delaunator'\n// TODO - evaluate smaller alternatives\n// (chroma bloats bundle by 40k, minified)\nimport chroma from 'chroma-js'\n\nimport colorbrewer from './utils/colorbrewer'\nimport Pattern from './pattern'\nimport mulberry32 from './utils/mulberry32'\nimport * as geom from './utils/geom'\nimport * as colorFunctions from './utils/colorFunctions'\n\nconst defaultOptions = {\n  width: 600,\n  height: 400,\n  cellSize: 75,\n  variance: 0.75,\n  seed: null,\n  xColors: 'random',\n  yColors: 'match',\n  palette: colorbrewer,\n  colorSpace: 'lab',\n  colorFunction: colorFunctions.interpolateLinear(0.5),\n  fill: true,\n  strokeWidth: 0,\n  points: null\n}\n\n// This function does the \"core\" render-independent work:\n//\n// 1. Parse and munge options\n// 2. Setup cell geometry\n// 3. Generate random points within cell geometry\n// 4. Use the Delaunator library to run the triangulation\n// 5. Do color interpolation to establish the fundamental coloring of the shapes\nexport default function trianglify (_opts = {}) {\n  Object.keys(_opts).forEach(k => {\n    if (defaultOptions[k] === undefined) {\n      throw TypeError(`Unrecognized option: ${k}`)\n    }\n  })\n  const opts = { ...defaultOptions, ..._opts }\n\n  if (!(opts.height > 0)) {\n    throw TypeError(`invalid height: ${opts.height}`)\n  }\n  if (!(opts.width > 0)) {\n    throw TypeError(`invalid width: ${opts.width}`)\n  }\n\n  // standard randomizer, used for point gen and layout\n  const rand = mulberry32(opts.seed)\n\n  const randomFromPalette = () => {\n    if (opts.palette instanceof Array) {\n      return opts.palette[Math.floor(rand() * opts.palette.length)]\n    }\n    const keys = Object.keys(opts.palette)\n    return opts.palette[keys[Math.floor(rand() * keys.length)]]\n  }\n\n  // The first step here is to set up our color scales for the X and Y axis.\n  // First, munge the shortcut options like 'random' or 'match' into real color\n  // arrays. Then, set up a Chroma scale in the appropriate color space.\n  const processColorOpts = (colorOpt) => {\n    switch (true) {\n      case Array.isArray(colorOpt):\n        return colorOpt\n      case !!opts.palette[colorOpt]:\n        return opts.palette[colorOpt]\n      case colorOpt === 'random':\n        return randomFromPalette()\n      default:\n        throw TypeError(`Unrecognized color option: ${colorOpt}`)\n    }\n  }\n\n  const xColors = processColorOpts(opts.xColors)\n  const yColors = opts.yColors === 'match'\n    ? xColors\n    : processColorOpts(opts.yColors)\n\n  const xScale = chroma.scale(xColors).mode(opts.colorSpace)\n  const yScale = chroma.scale(yColors).mode(opts.colorSpace)\n\n  // Our next step is to generate a pseudo-random grid of {x, y} points,\n  // (or to simply utilize the points that were passed to us)\n  const points = opts.points || getPoints(opts, rand)\n\n  // Once we have the points array, run the triangulation\n  var geomIndices = Delaunator.from(points).triangles\n  // ...and then generate geometry and color data:\n\n  // use a different (salted) randomizer for the color function so that\n  // swapping out color functions doesn't change the pattern geometry itself\n  const salt = 42\n  const cRand = mulberry32(opts.seed ? opts.seed + salt : null)\n  const polys = []\n\n  for (let i = 0; i < geomIndices.length; i += 3) {\n    // convert shallow array-packed vertex indices into 3-tuples\n    const vertexIndices = [\n      geomIndices[i],\n      geomIndices[i + 1],\n      geomIndices[i + 2]\n    ]\n\n    // grab a copy of the actual vertices to use for calculations\n    const vertices = vertexIndices.map(i => points[i])\n\n    const { width, height } = opts\n    const norm = num => Math.max(0, Math.min(1, num))\n    const centroid = geom.getCentroid(vertices)\n    const xPercent = norm(centroid.x / width)\n    const yPercent = norm(centroid.y / height)\n\n    const color = opts.colorFunction({\n      centroid, // centroid of polygon, non-normalized\n      xPercent, // x-coordinate of centroid, normalized to [0, 1]\n      yPercent, // y-coordinate of centroid, normalized to [0, 1]\n      vertexIndices, // vertex indices of the polygon\n      vertices, // [x, y] vertices of the polygon\n      xScale, // x-colors scale for the pattern\n      yScale, // y-colors scale for the pattern\n      points, // array of generated points for the pattern\n      opts, // options used to initialize the pattern\n      random: cRand // seeded randomization function for use by color functions\n    })\n\n    polys.push({\n      vertexIndices,\n      centroid,\n      color // chroma color object\n    })\n  }\n\n  return new Pattern(points, polys, opts)\n}\n\nconst getPoints = (opts, random) => {\n  const { width, height, cellSize, variance } = opts\n\n  // pad by 2 cells outside the visible area on each side to ensure we fully\n  // cover the 'artboard'\n  const colCount = Math.floor(width / cellSize) + 4\n  const rowCount = Math.floor(height / cellSize) + 4\n\n  // determine bleed values to ensure that the grid is centered within the\n  // artboard\n  const bleedX = ((colCount * cellSize) - width) / 2\n  const bleedY = ((rowCount * cellSize) - height) / 2\n\n  // apply variance to cellSize to get cellJitter in pixels\n  const cellJitter = cellSize * variance\n  const getJitter = () => (random() - 0.5) * cellJitter\n\n  const pointCount = colCount * rowCount\n\n  const halfCell = cellSize / 2\n\n  const points = Array(pointCount).fill(null).map((_, i) => {\n    const col = i % colCount\n    const row = Math.floor(i / colCount)\n\n    // [x, y, z]\n    return [\n      -bleedX + col * cellSize + halfCell + getJitter(),\n      -bleedY + row * cellSize + halfCell + getJitter()\n    ]\n  })\n\n  return points\n}\n\n// tweak some of the exports here\ntrianglify.utils = {\n  mix: chroma.mix,\n  colorbrewer\n}\n\ntrianglify.colorFunctions = colorFunctions\ntrianglify.Pattern = Pattern\ntrianglify.defaultOptions = defaultOptions\n"
  },
  {
    "path": "src/trianglify.node.test.js",
    "content": "/**\n * @jest-environment node\n */\n/* eslint-env jest */\n// Here, we test the node-specific functionality of Trianglify.\nconst trianglify = require('../dist/trianglify.js')\nconst { Canvas } = require('canvas')\nconst Pattern = trianglify.Pattern\n\ndescribe('Pattern generation', () => {\n  test('return a Pattern given valid options', () => {\n    expect(trianglify({ height: 100, width: 100 })).toBeInstanceOf(Pattern)\n  })\n\n  test('should be random by default', () => {\n    const pattern1 = trianglify()\n    const pattern2 = trianglify()\n    expect(pattern1.toSVG()).not.toEqual(pattern2.toSVG())\n  })\n\n  test('should match snapshot for non-breaking version bumps', () => {\n    expect(trianglify({ seed: 'snapshotText' }).toSVG().toString()).toMatchSnapshot()\n  })\n})\n\ndescribe('Pattern outputs in a node environment', () => {\n  describe('#toSVG', () => {\n    const pattern = trianglify()\n    const svgTree = pattern.toSVG()\n\n    test('returns a synthetic tree of object literals', () => {\n      expect(Object.keys(svgTree)).toEqual(['tagName', 'attrs', 'children', 'toString'])\n    })\n  })\n\n  describe('#toCanvas', () => {\n    const pattern = trianglify()\n    const canvas = pattern.toCanvas()\n    test('returns a node-canvas Canvas object', () => {\n      expect(canvas).toBeInstanceOf(Canvas)\n      expect(canvas.createPNGStream).toBeInstanceOf(Function)\n    })\n  })\n})\n"
  },
  {
    "path": "src/utils/colorFunctions.js",
    "content": "import chroma from 'chroma-js'\n// Built in color functions provided for your convenience.\n//\n// Usage example:\n//\n// const pattern = trianglify({\n//  width: 300,\n//  height: 200,\n//  colorFunction: trianglify.colorFunctions.sparkle(0.2)\n// })\n//\n// the snippet above gives you a trianglify pattern with a 20% random\n// jitter applied to the x and y gradient scales\n\n// Linear interpolation of two gradients, one for the x and one for the y\n// axis. This is the default Trianglify color function.\n// The bias parameter controls how prevalent the y axis is versus the x axis\nexport const interpolateLinear = (bias = 0.5) =>\n  ({ xPercent, yPercent, xScale, yScale, opts }) =>\n    chroma.mix(xScale(xPercent), yScale(yPercent), bias, opts.colorSpace)\n\n// Give the pattern a 'sparkle' effect by introducing random noise into the\n// x and y gradients, making for higher contrast between cells.\nexport const sparkle = (jitterFactor = 0.15) =>\n  ({ xPercent, yPercent, xScale, yScale, opts, random }) => {\n    const jitter = () => (random() - 0.5) * jitterFactor\n    const a = xScale(xPercent + jitter())\n    const b = yScale(yPercent + jitter())\n    return chroma.mix(a, b, 0.5, opts.colorSpace)\n  }\n\n// This is similar to the sparkle effect, but instead of swapping colors around\n// it darkens cells by a random amount. The shadowIntensity parameter controls\n// how dark the darkest shadows are.\nexport const shadows = (shadowIntensity = 0.8) => {\n  return ({ xPercent, yPercent, xScale, yScale, opts, random }) => {\n    const a = xScale(xPercent)\n    const b = yScale(yPercent)\n    const color = chroma.mix(a, b, 0.5, opts.colorSpace)\n    return color.darken(shadowIntensity * random())\n  }\n}\n"
  },
  {
    "path": "src/utils/colorbrewer.js",
    "content": "/*\n * colorbrewer.js\n *\n * Colorbrewer colors, by Cindy Brewer\n */\n\nexport default {\n  YlGn: ['#ffffe5', '#f7fcb9', '#d9f0a3', '#addd8e', '#78c679', '#41ab5d', '#238443', '#006837', '#004529'],\n  YlGnBu: ['#ffffd9', '#edf8b1', '#c7e9b4', '#7fcdbb', '#41b6c4', '#1d91c0', '#225ea8', '#253494', '#081d58'],\n  GnBu: ['#f7fcf0', '#e0f3db', '#ccebc5', '#a8ddb5', '#7bccc4', '#4eb3d3', '#2b8cbe', '#0868ac', '#084081'],\n  BuGn: ['#f7fcfd', '#e5f5f9', '#ccece6', '#99d8c9', '#66c2a4', '#41ae76', '#238b45', '#006d2c', '#00441b'],\n  PuBuGn: ['#fff7fb', '#ece2f0', '#d0d1e6', '#a6bddb', '#67a9cf', '#3690c0', '#02818a', '#016c59', '#014636'],\n  PuBu: ['#fff7fb', '#ece7f2', '#d0d1e6', '#a6bddb', '#74a9cf', '#3690c0', '#0570b0', '#045a8d', '#023858'],\n  BuPu: ['#f7fcfd', '#e0ecf4', '#bfd3e6', '#9ebcda', '#8c96c6', '#8c6bb1', '#88419d', '#810f7c', '#4d004b'],\n  RdPu: ['#fff7f3', '#fde0dd', '#fcc5c0', '#fa9fb5', '#f768a1', '#dd3497', '#ae017e', '#7a0177', '#49006a'],\n  PuRd: ['#f7f4f9', '#e7e1ef', '#d4b9da', '#c994c7', '#df65b0', '#e7298a', '#ce1256', '#980043', '#67001f'],\n  OrRd: ['#fff7ec', '#fee8c8', '#fdd49e', '#fdbb84', '#fc8d59', '#ef6548', '#d7301f', '#b30000', '#7f0000'],\n  YlOrRd: ['#ffffcc', '#ffeda0', '#fed976', '#feb24c', '#fd8d3c', '#fc4e2a', '#e31a1c', '#bd0026', '#800026'],\n  YlOrBr: ['#ffffe5', '#fff7bc', '#fee391', '#fec44f', '#fe9929', '#ec7014', '#cc4c02', '#993404', '#662506'],\n  Purples: ['#fcfbfd', '#efedf5', '#dadaeb', '#bcbddc', '#9e9ac8', '#807dba', '#6a51a3', '#54278f', '#3f007d'],\n  Blues: ['#f7fbff', '#deebf7', '#c6dbef', '#9ecae1', '#6baed6', '#4292c6', '#2171b5', '#08519c', '#08306b'],\n  Greens: ['#f7fcf5', '#e5f5e0', '#c7e9c0', '#a1d99b', '#74c476', '#41ab5d', '#238b45', '#006d2c', '#00441b'],\n  Oranges: ['#fff5eb', '#fee6ce', '#fdd0a2', '#fdae6b', '#fd8d3c', '#f16913', '#d94801', '#a63603', '#7f2704'],\n  Reds: ['#fff5f0', '#fee0d2', '#fcbba1', '#fc9272', '#fb6a4a', '#ef3b2c', '#cb181d', '#a50f15', '#67000d'],\n  Greys: ['#ffffff', '#f0f0f0', '#d9d9d9', '#bdbdbd', '#969696', '#737373', '#525252', '#252525', '#000000'],\n  PuOr: ['#7f3b08', '#b35806', '#e08214', '#fdb863', '#fee0b6', '#f7f7f7', '#d8daeb', '#b2abd2', '#8073ac', '#542788', '#2d004b'],\n  BrBG: ['#543005', '#8c510a', '#bf812d', '#dfc27d', '#f6e8c3', '#f5f5f5', '#c7eae5', '#80cdc1', '#35978f', '#01665e', '#003c30'],\n  PRGn: ['#40004b', '#762a83', '#9970ab', '#c2a5cf', '#e7d4e8', '#f7f7f7', '#d9f0d3', '#a6dba0', '#5aae61', '#1b7837', '#00441b'],\n  PiYG: ['#8e0152', '#c51b7d', '#de77ae', '#f1b6da', '#fde0ef', '#f7f7f7', '#e6f5d0', '#b8e186', '#7fbc41', '#4d9221', '#276419'],\n  RdBu: ['#67001f', '#b2182b', '#d6604d', '#f4a582', '#fddbc7', '#f7f7f7', '#d1e5f0', '#92c5de', '#4393c3', '#2166ac', '#053061'],\n  RdGy: ['#67001f', '#b2182b', '#d6604d', '#f4a582', '#fddbc7', '#ffffff', '#e0e0e0', '#bababa', '#878787', '#4d4d4d', '#1a1a1a'],\n  RdYlBu: ['#a50026', '#d73027', '#f46d43', '#fdae61', '#fee090', '#ffffbf', '#e0f3f8', '#abd9e9', '#74add1', '#4575b4', '#313695'],\n  Spectral: ['#9e0142', '#d53e4f', '#f46d43', '#fdae61', '#fee08b', '#ffffbf', '#e6f598', '#abdda4', '#66c2a5', '#3288bd', '#5e4fa2'],\n  RdYlGn: ['#a50026', '#d73027', '#f46d43', '#fdae61', '#fee08b', '#ffffbf', '#d9ef8b', '#a6d96a', '#66bd63', '#1a9850', '#006837']\n}\n"
  },
  {
    "path": "src/utils/debugRender.js",
    "content": "export const debugRender = (opts, points) => {\n  const doc = window.document\n  const svg = window.document.createElementNS('http://www.w3.org/2000/svg', 'svg')\n  svg.setAttribute('width', opts.width + 400)\n  svg.setAttribute('height', opts.height + 400)\n\n  points.forEach(p => {\n    const circle = doc.createElementNS('http://www.w3.org/2000/svg', 'circle')\n    circle.setAttribute('cx', p[0])\n    circle.setAttribute('cy', p[1])\n    circle.setAttribute('r', 2)\n    svg.appendChild(circle)\n  })\n\n  const bounds = doc.createElementNS('http://www.w3.org/2000/svg', 'rect')\n  bounds.setAttribute('x', 0)\n  bounds.setAttribute('y', 0)\n  bounds.setAttribute('width', opts.width)\n  bounds.setAttribute('height', opts.height)\n  bounds.setAttribute('stroke-width', 1)\n  bounds.setAttribute('stroke', 'blue')\n  bounds.setAttribute('fill', 'none')\n  svg.appendChild(bounds)\n\n  svg.setAttribute('viewBox', `-100 -100 ${opts.width + 200} ${opts.height + 200}`)\n  return svg\n}\n"
  },
  {
    "path": "src/utils/geom.js",
    "content": "// Given an array of coordinates representing a triangle, find the centroid\n// of the triangle and return it as an {x, y} object\n// Accepts a single [[x, y], [x, y], [x, y]] argument\nexport const getCentroid = d => {\n  return {\n    x: (d[0][0] + d[1][0] + d[2][0]) / 3,\n    y: (d[0][1] + d[1][1] + d[2][1]) / 3\n  }\n}\n\nexport const getTopmostVertexIndex = (vertexIndices, points) => (\n  vertexIndices.reduce(\n    (topmost, i) => (points[i][1] < points[topmost][1] ? i : topmost),\n    vertexIndices[0]\n  )\n)\n"
  },
  {
    "path": "src/utils/getScalingRatio.js",
    "content": "export default function (ctx) {\n  // adapted from https://gist.github.com/callumlocke/cc258a193839691f60dd\n  const backingStoreRatio = (\n    ctx.webkitBackingStorePixelRatio ||\n    ctx.mozBackingStorePixelRatio ||\n    ctx.msBackingStorePixelRatio ||\n    ctx.oBackingStorePixelRatio ||\n    ctx.backingStorePixelRatio || 1\n  )\n\n  const devicePixelRatio = (typeof window !== 'undefined' && window.devicePixelRatio) || 1\n  const drawRatio = devicePixelRatio / backingStoreRatio\n  return drawRatio\n}\n"
  },
  {
    "path": "src/utils/mulberry32.js",
    "content": "// Fast seeded RNG adapted from the public-domain implementation\n// by @byrc: https://github.com/bryc/code/blob/master/jshash/PRNGs.md\n//\n// Usage:\n// const randFn = mulberry32('string seed')\n// const randomNumber = randFn() // [0, 1] random float\nexport default function mulberry32 (seed) {\n  if (!seed) { seed = Math.random().toString(36) } // support no-seed usage\n  var a = xmur3(seed)()\n  return function () {\n    a |= 0; a = a + 0x6D2B79F5 | 0\n    var t = Math.imul(a ^ a >>> 15, 1 | a)\n    t = t + Math.imul(t ^ t >>> 7, 61 | t) ^ t\n    return ((t ^ t >>> 14) >>> 0) / 4294967296\n  }\n}\n\nfunction xmur3 (str) {\n  for (var i = 0, h = 1779033703 ^ str.length; i < str.length; i++) {\n    h = Math.imul(h ^ str.charCodeAt(i), 3432918353)\n    h = h << 13 | h >>> 19\n  }\n  return function () {\n    h = Math.imul(h ^ h >>> 16, 2246822507)\n    h = Math.imul(h ^ h >>> 13, 3266489909)\n    return (h ^= h >>> 16) >>> 0\n  }\n}\n"
  }
]