cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              <svg id="pegasusGrid" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="250 250 350 350">

</svg>
            
          
!
            
              body, html{

  width:100%;
  height: 100%;
  padding: 0;
  margin: 0;
  background-color: black;

}

svg {
  max-width: 100%;
  max-height:100%;
  display:block;
  margin: auto;
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
}

svg#pegasusGrid g path.pegasus{
fill:white;

}

svg#pegasusGrid g:nth-child(odd) path.pegasus{
fill:red;

}

svg#pegasusGrid g:hover path.pegasus{
fill :#0033CC;

}


            
          
!
            
                  var svg = document.getElementById('pegasusGrid');
    
    var pegasusgrid = function(svgElement, columns, rows){
    
        var pegasusPoints = "m 75.40625,0.00653133 c -0.75921,0.072554 -1.491,0.72571825 -2.15625,1.96874997 -0.8643,1.61496 -1.73584,1.952315 -3.9375,1.46875 -1.9693,-0.432532 -5.51318,0.451567 -11.875,2.9375 -4.99996,1.95378 -13.17896,4.3178887 -18.15625,5.2812497 -9.02612,1.747015 -9.05851,1.759095 -9.9375,5.25 -2.56438,10.18441 -2.49891,10.55604 2.40625,14.65625 2.49211,2.083142 4.53125,4.434226 4.53125,5.21875 0,0.784524 -1.80727,3.399769 -4.03125,5.8125 -2.22397,2.412731 -3.80608,4.785989 -3.5,5.28125 0.30609,0.495262 4.13229,-0.405984 8.5,-2 9.63752,-3.517262 21.13087,-4.692106 29.28125,-3 3.1625,0.656569 5.75,1.62836 5.75,2.1875 0,1.92484 -6.95792,13.463339 -9.59375,15.90625 -1.45208,1.3458 -5.91699,6.4875 -9.90625,11.4375 -7.5542,9.373495 -12.47752,18.064958 -14.4375,25.34375 -1.38479,5.142729 -3.18449,6.002599 -13.9375,6.749999 -14.20021,0.98701 -13.7876,0.79728 -17.25,7.65625 -1.70525,3.37808 -4.00564,7.39224 -5.125,8.90625 l -2.03125,2.75 4.78125,5.28125 c 2.63217,2.91952 5.94505,7.1125 7.375,9.3125 1.42994,2.2 3.03987,4.31516 3.5625,4.6875 1.16865,0.83259 5.27906,-1.21965 9.4375,-4.71875 4.49159,-3.77942 4.18717,-6.83989 -1,-9.6875 -2.27458,-1.24867 -5.08708,-2.82109 -6.25,-3.5 -1.16292,-0.67892 -2.5148,-1.39218 -3,-1.5625 -0.82512,-0.28964 1.92624,-6.71875 2.875,-6.71875 0.23957,0 4.28128,0.89974 9,2 13.37133,3.11778 20.97724,7.59387 25.21875,14.8125 l 2.53125,4.3125 -2.09375,2.1875 c -2.67779,2.82742 -8.52682,5.80801 -19.15625,9.71875 -13.15032,4.83821 -15.47017,6.12913 -15.8125,8.96875 -0.47372,3.92934 -4.1058,18.07991 -5.84375,22.71875 -0.96177,2.56708 -1.3269,5.26151 -0.90625,6.9375 0.687,2.73724 12.10277,14.30374 14.15625,14.34375 1.14657,0.0223 7.40625,-8.19675 7.40625,-9.71875 0,-1.07183 -5.50403,-5.28125 -6.90625,-5.28125 -1.86933,0 -2.16449,-1.94814 -0.65625,-4.25 0.83327,-1.27173 1.93737,-5.37273 2.46875,-9.125 0.53139,-3.75227 1.12596,-6.9697 1.3125,-7.15625 0.18655,-0.18654 3.47834,-0.84441 7.3125,-1.4375 3.83415,-0.59309 11.91875,-2.57674 17.96875,-4.4375 6.05,-1.86076 12.47744,-3.68908 14.28125,-4.0625 1.80381,-0.37343 4.52579,-2.04323 6.0625,-3.6875 l 2.8125,-2.96875 2.625,3.4375 c 2.43956,3.19843 3.31815,3.5513 11.9375,5.03125 5.11247,0.87782 13.20113,2.04873 18,2.59375 11.66267,1.32455 13.35945,2.52873 14.03125,9.9375 0.58822,6.48696 2.44996,10.68401 7.40625,16.75 3.70665,4.53658 4.23293,8.29981 1.96875,13.71875 -0.76375,1.82793 -7.29674,8.8892 -14.875,16.0625 -9.54396,9.03396 -14.04303,14.04476 -15.25,16.96875 -6.76165,16.38063 -6.96065,17.0348 -5.28125,18.375 0.69992,0.55855 2.63125,1.24429 4.28125,1.53125 1.65,0.28695 5.925,1.4474 9.5,2.5625 8.08715,2.52251 8.46127,2.52952 10.09375,0.5625 1.11838,-1.34756 1.06059,-2.09237 -0.375,-4.59375 -1.88892,-3.29125 -2.2582,-8.93189 -0.75,-11.75 0.98552,-1.84146 17.89646,-12.41358 28.03125,-17.53125 3.025,-1.52751 7.3,-4.02915 9.5,-5.53125 2.2,-1.50209 6.7,-4.13205 10,-5.875 3.3,-1.74294 6.51798,-3.87498 7.15625,-4.71875 1.71405,-2.26592 -0.0186,-7.15106 -4.03125,-11.34375 -1.87234,-1.95632 -4.16393,-5.06056 -5.09375,-6.90625 -1.62661,-3.22883 -1.59664,-3.70181 0.84375,-12.5 1.395,-5.02931 2.8108,-11.40625 3.15625,-14.15625 0.34545,-2.75 0.8498,-5.73142 1.09375,-6.625 0.52324,-1.91656 6.16663,-4.19248 15.875,-6.40625 7.31695,-1.66847 13.70622,-4.81104 16.875,-8.3125 3.64999,-4.0332 -0.63946,-10.47943 -10,-15.03125 -2.68433,-1.30534 -6.225,-3.04462 -7.875,-3.875 -4.29595,-2.16199 -9.39232,-3.19742 -10.09375,-2.0625 -0.76073,1.23089 2.29335,4.61767 5.8125,6.4375 3.84323,1.98741 6.18154,6.73962 4.6875,9.53125 -1.54461,2.88614 -5.54101,6.295 -10.5625,9 -4.86991,2.62335 -6.16084,2.02223 -8.25,-3.84375 -0.74694,-2.09729 -4.21487,-7.03342 -7.71875,-10.96875 -6.87705,-7.72387 -6.90391,-7.81426 -2.78125,-14.4375 1.22942,-1.97513 2.79889,-5.50366 3.5,-7.84375 1.64611,-5.49421 3.48112,-6.17952 17.78125,-6.6875 6.25319,-0.22213 11.67132,-0.60199 12.0625,-0.84375 0.39118,-0.24176 1.28826,-2.928029 1.96875,-5.968749 0.68048,-3.04073 1.6436,-5.776911 2.15625,-6.09375 0.51266,-0.316838 0.9375,-1.247688 0.9375,-2.0625 0,-2.530743 6.76669,-11.067258 21.34375,-26.90625 2.5309,-2.75 5.3847,-6.441047 6.34375,-8.21875 0.61098,-1.132505 0.99882,-2.041918 1.09375,-2.78125 l 0,-0.75 c -0.40335,-1.849477 -3.76725,-2.222069 -12.09375,-2.1875 -9.36608,0.03888 -10.94536,0.345474 -19.53125,3.75 -5.1427,2.039209 -9.8677,3.715361 -10.5,3.71875 -1.24287,0.0067 -1.13694,-0.06262 -16.65625,8.1875 -5.775,3.07001 -15.78165,8.2991 -22.25,11.625 -11.40854,5.866048 -20.02463,11.838906 -21.09375,14.625 -0.28722,0.74847 0.12431,3.74978 0.90625,6.6875 1.81047,6.801909 1.84024,10.843749 0.0937,10.843749 -0.7389,0 -3.7764,-0.82654 -6.75,-1.84375 -2.9736,-1.0172 -8.55625,-2.39853 -12.40625,-3.09375 -8.44946,-1.525789 -11.5,-3.259119 -11.5,-6.499999 0,-1.32246 1.26898,-5.981949 2.8125,-10.34375 2.82812,-7.991957 6.37088,-13.636322 9.21875,-14.65625 2.13705,-0.765356 23.26505,-21.448946 25.3125,-24.78125 2.39869,-3.903939 2.05795,-7.126089 -1.09375,-10.5 -6.68839,-7.159947 -10.49405,-14.506034 -10.21875,-19.75 0.0876,-1.66795 0.11821,-3.581851 0.0625,-4.25 C 118.17075,7.7452033 113.4998,6.5566483 101.28125,5.7877813 85.6749,4.8057323 79.2809,3.6626646 77.75,1.5690313 76.94388,0.46660973 76.16546,-0.06602247 75.40625,0.00653133 z M 60.03125,11.162781 c 0.50012,-0.03482 1.01516,0.382181 1.71875,1.3125 3.0063,3.975027 1.28721,6.069826 -2,2.4375 -1.40064,-1.547687 -1.55308,-2.321917 -0.65625,-3.21875 0.33632,-0.336312 0.63743,-0.510357 0.9375,-0.53125 z";

        var outlinePoints = "m 75.40625,0.00653133 c -0.75921,0.072554 -1.491,0.72571825 -2.15625,1.96874997 -0.8643,1.61496 -1.73584,1.952315 -3.9375,1.46875 -1.9693,-0.432532 -5.51318,0.451567 -11.875,2.9375 -4.99996,1.95378 -13.17896,4.3178887 -18.15625,5.2812497 -9.02612,1.747015 -9.05851,1.759095 -9.9375,5.25 -2.56438,10.18441 -2.49891,10.55604 2.40625,14.65625 2.49211,2.083142 4.53125,4.434226 4.53125,5.21875 0,0.784524 -1.80727,3.399769 -4.03125,5.8125 -2.22397,2.412731 -3.80608,4.785989 -3.5,5.28125 0.30609,0.495262 4.13229,-0.405984 8.5,-2 9.63752,-3.517262 21.13087,-4.692106 29.28125,-3 3.1625,0.656569 5.75,1.62836 5.75,2.1875 0,1.92484 -6.95792,13.463339 -9.59375,15.90625 -1.45208,1.3458 -5.91699,6.4875 -9.90625,11.4375 -7.5542,9.373495 -12.47752,18.064958 -14.4375,25.34375 -1.38479,5.142729 -3.18449,6.002599 -13.9375,6.749999 -14.20021,0.98701 -13.7876,0.79728 -17.25,7.65625 -1.70525,3.37808 -4.00564,7.39224 -5.125,8.90625 l -2.03125,2.75 4.78125,5.28125 c 2.63217,2.91952 5.94505,7.1125 7.375,9.3125 1.42994,2.2 3.03987,4.31516 3.5625,4.6875 1.16865,0.83259 5.27906,-1.21965 9.4375,-4.71875 4.49159,-3.77942 4.18717,-6.83989 -1,-9.6875 -2.27458,-1.24867 -5.08708,-2.82109 -6.25,-3.5 -1.16292,-0.67892 -2.5148,-1.39218 -3,-1.5625 -0.82512,-0.28964 1.92624,-6.71875 2.875,-6.71875 0.23957,0 4.28128,0.89974 9,2 13.37133,3.11778 20.97724,7.59387 25.21875,14.8125 l 2.53125,4.3125 -2.09375,2.1875 c -2.67779,2.82742 -8.52682,5.80801 -19.15625,9.71875 -13.15032,4.83821 -15.47017,6.12913 -15.8125,8.96875 -0.47372,3.92934 -4.1058,18.07991 -5.84375,22.71875 -0.96177,2.56708 -1.3269,5.26151 -0.90625,6.9375 0.687,2.73724 12.10277,14.30374 14.15625,14.34375 1.14657,0.0223 7.40625,-8.19675 7.40625,-9.71875 0,-1.07183 -5.50403,-5.28125 -6.90625,-5.28125 -1.86933,0 -2.16449,-1.94814 -0.65625,-4.25 0.83327,-1.27173 1.93737,-5.37273 2.46875,-9.125 0.53139,-3.75227 1.12596,-6.9697 1.3125,-7.15625 0.18655,-0.18654 3.47834,-0.84441 7.3125,-1.4375 3.83415,-0.59309 11.91875,-2.57674 17.96875,-4.4375 6.05,-1.86076 12.47744,-3.68908 14.28125,-4.0625 1.80381,-0.37343 4.52579,-2.04323 6.0625,-3.6875 l 2.8125,-2.96875 2.625,3.4375 c 2.43956,3.19843 3.31815,3.5513 11.9375,5.03125 5.11247,0.87782 13.20113,2.04873 18,2.59375 11.66267,1.32455 13.35945,2.52873 14.03125,9.9375 0.58822,6.48696 2.44996,10.68401 7.40625,16.75 3.70665,4.53658 4.23293,8.29981 1.96875,13.71875 -0.76375,1.82793 -7.29674,8.8892 -14.875,16.0625 -9.54396,9.03396 -14.04303,14.04476 -15.25,16.96875 -6.76165,16.38063 -6.96065,17.0348 -5.28125,18.375 0.69992,0.55855 2.63125,1.24429 4.28125,1.53125 1.65,0.28695 5.925,1.4474 9.5,2.5625 8.08715,2.52251 8.46127,2.52952 10.09375,0.5625 1.11838,-1.34756 1.06059,-2.09237 -0.375,-4.59375 -1.88892,-3.29125 -2.2582,-8.93189 -0.75,-11.75 0.98552,-1.84146 17.89646,-12.41358 28.03125,-17.53125 3.025,-1.52751 7.3,-4.02915 9.5,-5.53125 2.2,-1.50209 6.7,-4.13205 10,-5.875 3.3,-1.74294 6.51798,-3.87498 7.15625,-4.71875 1.71405,-2.26592 -0.0186,-7.15106 -4.03125,-11.34375 -1.87234,-1.95632 -4.16393,-5.06056 -5.09375,-6.90625 -1.62661,-3.22883 -1.59664,-3.70181 0.84375,-12.5 1.395,-5.02931 2.8108,-11.40625 3.15625,-14.15625 0.34545,-2.75 0.8498,-5.73142 1.09375,-6.625 0.52324,-1.91656 6.16663,-4.19248 15.875,-6.40625 7.31695,-1.66847 13.70622,-4.81104 16.875,-8.3125 3.64999,-4.0332 -0.63946,-10.47943 -10,-15.03125 -2.68433,-1.30534 -6.225,-3.04462 -7.875,-3.875 -4.29595,-2.16199 -9.39232,-3.19742 -10.09375,-2.0625 -0.76073,1.23089 2.29335,4.61767 5.8125,6.4375 3.84323,1.98741 6.18154,6.73962 4.6875,9.53125 -1.54461,2.88614 -5.54101,6.295 -10.5625,9 -4.86991,2.62335 -6.16084,2.02223 -8.25,-3.84375 -0.74694,-2.09729 -4.21487,-7.03342 -7.71875,-10.96875 -6.87705,-7.72387 -6.90391,-7.81426 -2.78125,-14.4375 1.22942,-1.97513 2.79889,-5.50366 3.5,-7.84375 1.64611,-5.49421 3.48112,-6.17952 17.78125,-6.6875 6.25319,-0.22213 11.67132,-0.60199 12.0625,-0.84375 0.39118,-0.24176 1.28826,-2.928029 1.96875,-5.968749 0.68048,-3.04073 1.6436,-5.776911 2.15625,-6.09375 0.51266,-0.316838 0.9375,-1.247688 0.9375,-2.0625 0,-2.530743 6.76669,-11.067258 21.34375,-26.90625 2.5309,-2.75 5.3847,-6.441047 6.34375,-8.21875 2.67798,-4.963906 1.11127,-5.769032 -11,-5.71875 -9.36608,0.03888 -10.94536,0.345474 -19.53125,3.75 -5.1427,2.039209 -9.8677,3.715361 -10.5,3.71875 -1.24287,0.0067 -1.13694,-0.06262 -16.65625,8.1875 -5.775,3.07001 -15.78165,8.2991 -22.25,11.625 -11.40854,5.866048 -20.02463,11.838906 -21.09375,14.625 -0.28722,0.74847 0.12431,3.74978 0.90625,6.6875 1.81047,6.801909 1.84024,10.843749 0.0937,10.843749 -0.7389,0 -3.7764,-0.82654 -6.75,-1.84375 -2.9736,-1.0172 -8.55625,-2.39853 -12.40625,-3.09375 -8.44946,-1.525789 -11.5,-3.259119 -11.5,-6.499999 0,-1.32246 1.26898,-5.981949 2.8125,-10.34375 2.82812,-7.991957 6.37088,-13.636322 9.21875,-14.65625 2.13705,-0.765356 23.26505,-21.448946 25.3125,-24.78125 2.39869,-3.903939 2.05795,-7.126089 -1.09375,-10.5 -6.68839,-7.159947 -10.49405,-14.506034 -10.21875,-19.75 0.0876,-1.66795 0.11821,-3.581851 0.0625,-4.25 C 118.17075,7.7452033 113.4998,6.5566483 101.28125,5.7877813 85.6749,4.8057323 79.2809,3.6626646 77.75,1.5690313 76.94388,0.46660973 76.16546,-0.06602247 75.40625,0.00653133 z m -8.25,4.90624997 c 0.95272,0 2.53365,4.935103 1.8125,5.6562497 -0.22727,0.227274 -1.82097,-0.395327 -3.53125,-1.3749997 -3.09044,-1.770243 -3.13476,-1.738824 -8.875,1.4374997 -3.17671,1.757814 -5.78125,3.557814 -5.78125,4 0,0.442186 1.5408,0.944509 3.4375,1.125 1.8967,0.180491 4.76074,1.417991 6.34375,2.75 1.583,1.332009 3.48655,2.40625 4.25,2.40625 0.76345,0 1.88005,0.9 2.46875,2 1.38965,2.596581 4,2.605179 4,0 0,-1.226142 0.96038,-2.407151 2.4375,-2.96875 3.60983,-1.372454 4.71987,-4.258475 3.9375,-10.1562497 -0.85069,-6.412869 1.19693,-6.433494 3.53125,-0.03125 1.23581,3.3893927 1.2906,4.6213037 0.3125,6.1874997 -1.73959,2.785515 -1.52004,3.96875 0.75,3.96875 1.08732,0 2.70651,-1.08341 3.59375,-2.4375 1.37687,-2.10138 1.44205,-3.016804 0.375,-6.25 -1.46799,-4.4480437 -1.31521,-4.9091387 1.46875,-4.4374997 6.49151,1.099745 15.62328,8.9177507 19.59375,16.7812497 1.74261,3.451243 2.5658,6.984749 2.84375,12.1875 0.33996,6.363209 -0.0458,8.468373 -2.84375,16 -1.77201,4.769996 -5.25828,12.70625 -7.75,17.65625 -4.90413,9.74245 -9.25,21.519707 -9.25,25.0625 0,4.355 2.97616,6.284649 13,8.343749 12.14662,2.49517 22.38714,6.29759 22.8125,8.46875 0.50669,2.58629 -3.69638,3.66701 -7.75,2 -4.87483,-2.00474 -6.30894,-0.10255 -1.9375,2.5625 4.78016,2.91422 8.4325,2.66125 11.9375,-0.84375 2.45138,-2.45138 2.9375,-3.74381 2.9375,-7.9375 0,-2.75035 -0.51225,-7.272519 -1.15625,-10.062499 -0.95755,-4.14832 -0.912,-5.574537 0.25,-7.75 1.68211,-3.149228 9.78675,-8.536007 26.90625,-17.875 6.875,-3.750435 16.55,-9.11247 21.5,-11.9375 16.58425,-9.46485 27.9751,-12.728291 38.875,-11.09375 4.36806,0.655031 4.57077,0.804073 3.46875,2.875 -3.3002,6.201793 -11.45782,13.76093 -13.09375,12.125 -1.55019,-1.550197 -22.97618,3.82529 -32.25,8.09375 -19.53488,8.99132 -36.50957,17.694804 -36.03125,18.46875 0.75281,1.218075 5.94705,-0.709079 17.03125,-6.28125 13.07143,-6.571173 29.95706,-13.202721 40.125,-15.75 4.87413,-1.221072 9.4375,-2.423691 10.125,-2.6875 2.73065,-1.047811 0.98436,2.326687 -4,7.75 -2.8875,3.141789 -5.95834,6.749847 -6.8125,8 -1.52482,2.231723 -6.84257,3.733397 -24.5,6.90625 -5.47458,0.983725 -25.06531,8.34805 -28.09375,10.5625 -3.52346,2.576419 -0.45095,2.680159 6.34375,0.21875 19.86437,-7.195954 24.47546,-8.597475 31.71875,-9.6875 4.34877,-0.654437 8.57912,-1.463849 9.40625,-1.78125 1.18759,-0.455722 1.347,-0.06624 0.78125,1.84375 -0.39404,1.330268 -1.2487,4.43125 -1.90625,6.90625 l -1.1875,4.499999 -6,-0.3125 c -10.29775,-0.552679 -37.16219,4.406 -40.46875,7.46875 -1.26403,1.17082 -1.12727,1.35725 1,1.34375 1.35536,-0.009 5.16875,-0.65694 8.46875,-1.4375 3.3,-0.78059 6.32309,-1.10607 6.71875,-0.71875 0.39567,0.38731 -0.35351,3.00068 -1.65625,5.8125 l -2.375,5.125 -5.34375,-1.03125 c -7.18604,-1.37852 -8.29652,-1.42228 -8.59375,-0.25 -0.13946,0.55 2.11054,1.61762 5,2.34375 7.84409,1.97126 8.07163,2.78225 2.03125,7 l -3.1875,2.25 -3.96875,-2.5 c -2.17651,-1.37397 -4.24006,-2.95896 -4.59375,-3.53125 -0.90077,-1.45748 -3.53129,-1.32351 -3.53125,0.1875 2e-5,0.6875 1.57502,2.52655 3.5,4.0625 1.92498,1.53595 3.5,3.1835 3.5,3.65625 0,0.86809 -5.3228,3.03125 -7.4375,3.03125 -0.62927,0 -1.83523,-1.9125 -2.6875,-4.25 -1.60642,-4.40586 -4.08749,-5.62161 -4.71875,-2.34375 -0.19928,1.03479 0.2095,2.94812 0.90625,4.25 1.64546,3.07458 0.81659,3.75316 -3.53125,2.9375 -3.35213,-0.62887 -3.53125,-0.88719 -3.53125,-4.625 0,-2.95187 -0.40424,-3.96875 -1.59375,-3.96875 -0.87649,0 -1.83734,0.9 -2.125,2 -0.71401,2.73039 -3.45153,2.5121 -6.28125,-0.5 -2.53141,-2.69456 -4,-3.18703 -4,-1.34375 0,2.33961 8.05303,8.72013 13.6875,10.84375 4.3476,1.63865 7.05831,2.05158 10.75,1.625 5.03026,-0.58127 18.55694,-6.39945 21.9375,-9.4375 1.78424,-1.60347 2.12193,-1.40539 7.34375,4.3125 3.0137,3.3 6.49286,8.25 7.75,11 1.25714,2.75 3.26806,5.88802 4.46875,6.96875 2.04851,1.84384 2.07385,2.05348 0.4375,3.25 -1.18023,0.86301 -1.98216,3.45612 -2.53125,8.03125 -0.44621,3.71796 -2.01775,10.94274 -3.46875,16.0625 l -2.625,9.3125 2.34375,4.5625 c 1.29046,2.50907 3.42054,5.28516 4.75,6.15625 2.53864,1.66338 5.61229,7.62865 4.6875,9.125 -0.29739,0.48119 -3.57365,2.54743 -7.28125,4.59375 -3.70761,2.04633 -7.425,4.30416 -8.25,5 -0.825,0.69585 -5.1,3.17269 -9.5,5.5 -8.91412,4.715 -17.40722,9.62605 -25.15625,14.5625 -3.7874,2.41273 -5.35205,4.10504 -5.84375,6.34375 -0.36842,1.67739 -1.0359,3.03125 -1.5,3.03125 -1.5024,0 -7,-5.12685 -7,-6.53125 0,-0.74969 1.91966,-2.68769 4.28125,-4.3125 2.36159,-1.62482 5.71803,-4.26877 7.4375,-5.875 1.71947,-1.60623 7.53106,-6.43178 12.9375,-10.71875 11.06439,-8.77339 13.35435,-11.05068 13.34375,-13.40625 -0.004,-0.90157 -3.84039,-5.70625 -8.5,-10.65625 -13.7959,-14.65569 -16.50472,-22.77822 -10.53125,-31.59375 1.63999,-2.42026 2.99,-4.74375 3,-5.15625 0.044,-1.81341 -2.69918,-0.48281 -5.125,2.46875 -2.42332,2.9485 -2.86336,3.10167 -5.28125,2 -1.45121,-0.66121 -8.12442,-1.85494 -14.84375,-2.65625 -23.6001,-2.81442 -26.27333,-3.91126 -25.1875,-10.3125 0.30321,-1.7875 0.17181,-3.25 -0.3125,-3.25 -0.4843,0 -2.91508,2.01276 -5.40625,4.46875 -3.26163,3.21556 -5.83413,4.7555 -9.15625,5.5 -2.53737,0.56864 -6.30044,1.69506 -8.375,2.5 -4.80689,1.86509 -17.71251,5.18055 -23.59375,6.0625 -3.86009,0.57885 -4.8099,0.38516 -6.34375,-1.40625 -0.98985,-1.15605 -2.35973,-2.125 -3.0625,-2.125 -1.53356,0 -1.68456,2.19044 -0.25,3.625 0.56509,0.56509 1.07685,3.51425 1.15625,6.53125 0.18533,7.04397 -2.59584,13.20668 -6.1875,13.6875 -4.3197,0.57828 -4.14725,1.69033 0.5,3.0625 2.46722,0.72848 4.5,1.64539 4.5,2.03125 0,0.38586 -1.41396,1.74312 -3.15625,3.03125 l -3.1875,2.34375 -2.8125,-3.15625 c -3.15616,-3.53235 -3.47412,-5.70408 -1.5,-10.4375 0.73813,-1.76983 2.36056,-7.49375 3.59375,-12.71875 1.2332,-5.225 2.57695,-10.14861 3,-10.96875 0.70308,-1.36301 4.03612,-2.78065 18.65625,-7.875 11.01443,-3.83796 18.37765,-10.10733 18.40625,-15.65625 0.006,-1.1 0.90725,-3.35 2,-5 1.09275,-1.65 1.996,-3.5625 2,-4.25 0.0133,-2.52516 -3.11906,-1.14982 -5.125,2.25 -1.13578,1.925 -2.38848,3.5 -2.78125,3.5 -0.39278,0 -2.04085,-1.39464 -3.65625,-3.09375 -1.6154,-1.6991 -4.15877,-3.71775 -5.65625,-4.5 -2.26948,-1.18554 -2.63136,-1.90569 -2.15625,-4.28125 0.35041,-1.75203 -0.0993,-4.11236 -1.15625,-6.15625 -2.57384,-4.97725 -1.53696,-13.670279 2.75,-22.968749 3.33023,-7.223331 8.13177,-13.716722 19.59375,-26.5 2.95891,-3.3 5.79651,-6.9 6.28125,-8 3.06098,-6.946022 5.64892,-9.945799 9.21875,-10.6875 3.89621,-0.809513 10.32804,-4.470295 12.53125,-7.125 2.30493,-2.777277 2.66128,-9.437438 0.625,-11.6875 -3.32205,-3.670846 -5.68889,-2.136041 -3.375,2.1875 0.60034,1.121755 0.78846,3.566696 0.4375,5.4375 -0.52912,2.820417 -1.45154,3.838909 -5.53125,5.90625 -2.70609,1.371283 -6.56042,2.46875 -8.5625,2.46875 -3.72853,0 -16.17803,-2.508424 -20.15625,-4.0625 -1.64849,-0.643977 -2.45387,-0.44924 -3.125,0.75 -0.77758,1.389461 -8.6861,4.137228 -17.15625,5.9375 l -2.5,0.53125 2.125,-1.8125 c 1.17726,-0.999387 3.53976,-2.59433 5.25,-3.53125 2.18236,-1.195565 3.125,-2.451214 3.125,-4.1875 0,-3.090615 -4.6062,-6.916041 -7.46875,-6.21875 -2.64573,0.644475 -5.96402,-1.820169 -5.1875,-3.84375 0.32672,-0.851424 1.72084,-1.5625 3.09375,-1.5625 2.87564,0 4.5625,-2.501582 4.5625,-6.78125 0,-2.739431 0.35223,-2.991284 5.375,-4 2.95237,-0.592921 9.45796,-2.698241 14.46875,-4.6562497 5.01079,-1.958008 9.52904,-3.5625 10.03125,-3.5625 z m 35.3125,2.9375 c 3.94123,-0.030761 11.96073,0.9293635 13.0625,1.84375 0.88556,0.7349497 1.28469,2.2607097 1,3.7499997 -0.52566,2.749816 -2.26584,3.020501 -8.21875,1.3125 -3.03547,-0.870931 -8.03125,-4.9196007 -8.03125,-6.4999997 0,-0.269932 0.87376,-0.3959964 2.1875,-0.40625 z m -28.8125,1.25 c 0.0682,-0.025114 0.13568,0.010677 0.21875,0.09375 0.33225,0.332292 0.38263,1.1843747 0.0937,1.9062497 -0.31922,0.797733 -0.54575,0.571193 -0.59375,-0.59375 -0.0326,-0.7906242 0.0766,-1.3309077 0.28125,-1.4062497 z m -13.625,2.0624997 c 0.50012,-0.03482 1.01516,0.382181 1.71875,1.3125 3.0063,3.975027 1.28721,6.069826 -2,2.4375 -1.40064,-1.547687 -1.55308,-2.321917 -0.65625,-3.21875 0.33632,-0.336312 0.63743,-0.510357 0.9375,-0.53125 z m 12.625,3.09375 c 0.35859,-0.06029 0.625,0.156906 0.625,0.59375 0,0.582459 -0.45,1.0625 -1,1.0625 -0.55,0 -1,-0.194959 -1,-0.4375 0,-0.242541 0.45,-0.722581 1,-1.0625 0.1375,-0.08498 0.25547,-0.136154 0.375,-0.15625 z m -40.1875,3.78125 c 0.5708,-0.08545 0.84375,0.28125 0.625,0.9375 -0.24062,0.721875 -1.02812,1.509375 -1.75,1.75 -0.75,0.25 -1.125,-0.125 -0.875,-0.875 0.24063,-0.721875 1.02813,-1.509375 1.75,-1.75 0.0937,-0.03125 0.16846,-0.05029 0.25,-0.0625 z m 79.34375,1.0625 c 0.62895,0.01366 1.41933,0.10567 2.21875,0.28125 2.01981,0.443625 3.43718,1.699642 4.59375,4.125 0.91551,1.919838 1.65625,3.68116 1.65625,3.9375 0,0.808079 -3.41892,0.378022 -5.6875,-0.71875 -2.19149,-1.059499 -5.08085,-6.3879 -4.03125,-7.4375 0.15485,-0.15485 0.62105,-0.201162 1.25,-0.1875 z m 4.21875,11.5625 c 0.90781,0.003 2.31428,0.496547 4.46875,1.34375 6.46525,2.542327 8.78125,4.509904 8.78125,7.5 0,1.257297 -0.3375,2.484956 -0.75,2.71875 -0.4125,0.233793 -3.675,-0.571128 -7.25,-1.78125 -5.91359,-2.001725 -6.52616,-2.440968 -6.6875,-5.09375 -0.20245,-3.328769 -0.0755,-4.69242 1.4375,-4.6875 z m -0.21875,12.1875 c 1.12133,-0.06975 2.66429,0.232552 4.78125,0.84375 2.84902,0.82255 5.36241,1.666896 5.59375,1.875 0.23134,0.208104 -0.61655,1.470919 -1.90625,2.84375 -2.52186,2.684391 -3.95867,2.914467 -8.25,1.21875 -1.78603,-0.705751 -2.75,-1.819099 -2.75,-3.1875 0,-2.344839 0.66237,-3.477505 2.53125,-3.59375 z m 0.21875,10.1875 c 2.98544,-0.0072 2.69609,1.19255 -0.65625,4.78125 -3.18552,3.410109 -4.2966,3.752018 -5.90625,1.8125 -2.02796,-2.443541 0.88137,-6.180466 5.09375,-6.53125 0.5607,-0.04669 1.04226,-0.06147 1.46875,-0.0625 z m 10.4375,33.03125 c 0.15491,-0.03261 0.27145,-0.0098 0.375,0.09375 0.18474,0.184745 -0.28642,2.133554 -1.0625,4.3125 -0.77608,2.178949 -1.44465,3.42376 -1.46875,2.78125 -0.0241,-0.64252 -0.28712,-1.825933 -0.59375,-2.625 -0.43622,-1.136785 1.66561,-4.3342 2.75,-4.5625 z m 0.1875,13.28125 c 0.159,0.0026 0.39945,0.295241 0.71875,0.843749 1.14579,1.96831 0.84457,7.36455 -0.34375,6.15625 -0.4125,-0.41943 -0.73545,-2.37291 -0.71875,-4.34375 0.0157,-1.845 0.0788,-2.660584 0.34375,-2.656249 z m -91.625,5.593749 0.5,3.78125 c 0.27923,2.08186 1.41364,5.68683 2.53125,8 1.1176,2.31317 1.87678,4.1875 1.6875,4.1875 -0.18928,0 -1.60795,-0.46457 -3.15625,-1.0625 -1.5483,-0.59793 -5.9625,-1.88884 -9.8125,-2.84375 -5.3399,-1.32445 -7.07428,-2.18652 -7.34375,-3.65625 -0.4079,-2.22478 -3.03617,-5.4375 -4.4375,-5.4375 -0.55766,0 -0.64672,1.51034 -0.25,3.625 0.40166,2.14103 0.17666,4.82221 -0.53125,6.53125 -1.0683,2.57911 -1.53687,2.82541 -4.4375,2.28125 -3.46113,-0.64931 -5.31222,0.67749 -3.25,2.34375 0.68145,0.5506 3.8375,1.82534 7,2.8125 3.1625,0.98716 5.75,2.30001 5.75,2.9375 0,0.6375 -1.74869,1.67544 -3.875,2.3125 -5.24305,1.57086 -5.14547,1.6057 -9.375,-3.09375 -3.65062,-4.05622 -3.6837,-4.18524 -1.90625,-6.1875 1.00022,-1.12673 2.97699,-4.58881 4.40625,-7.6875 2.4611,-5.33576 2.87464,-5.67584 7.4375,-6.6875 2.64984,-0.5875 6.1625,-1.00415 7.8125,-0.90625 1.65,0.0979 4.85926,-0.13699 7.125,-0.53125 l 4.125,-0.71875 z m 151.125,21.96875 c 1.24394,0 6.125,8.39026 6.125,10.53125 0,2.50728 -3.35623,5.90726 -7.3125,7.40625 -4.8285,1.82947 -4.88339,1.21951 -0.21875,-3.25 2.48466,-2.38072 4.53125,-4.97826 4.53125,-5.78125 0,-0.80299 -0.86554,-3.14621 -1.90625,-5.1875 -1.04071,-2.04129 -1.58657,-3.71875 -1.21875,-3.71875 z m 8.4375,3.375 c 0.30633,-0.10431 1.13666,0.33918 2.65625,1.125 2.47192,1.27828 6.03125,5.96197 6.03125,7.9375 0,1.16849 -4.57166,4.62596 -8.625,6.53125 -6.82896,3.20999 -8.72332,2.66221 -3,-0.875 4.76217,-2.94319 6.29745,-7.02064 4.21875,-11.1875 -1.17773,-2.36083 -1.6751,-3.39714 -1.28125,-3.53125 z m -171.25,0.6875 c 1.03187,-0.1114 2.17949,0.42044 2.59375,1.5 0.34512,0.89938 -0.40307,2.61836 -1.78125,4.09375 -1.30708,1.39927 -3.57291,3.17864 -5.03125,3.9375 -2.45328,1.27659 -2.77104,1.19468 -4.25,-1.0625 -2.3426,-3.57525 -2.00807,-4.31976 2.375,-5.5 2.17678,-0.58615 4.23181,-1.52745 4.5625,-2.0625 0.34878,-0.56435 0.91213,-0.83941 1.53125,-0.90625 z m 6.125,62.1875 c 0.24676,-0.0125 0.3999,0.0249 0.46875,0.0937 0.15209,0.15209 -0.89724,1.93574 -2.34375,3.96875 -1.4465,2.033 -2.99469,3.6875 -3.4375,3.6875 -1.19527,0 -3.04858,-3.87888 -2.375,-4.96875 0.49657,-0.80347 5.9602,-2.69398 7.6875,-2.78125 z m 107.8125,4.75 c 0.50081,0 2.09324,1.5737 3.5625,3.5 2.31759,3.03852 2.50148,3.73575 1.3125,5.1875 -1.66439,2.03223 -23.08,19.40054 -30.125,24.4375 -2.78883,1.99393 -5.88598,5.14393 -6.875,7 -0.98903,1.85607 -1.82075,2.88668 -1.84375,2.28125 -0.14442,-3.79248 3.52036,-8.41718 16.53125,-20.9375 11.37716,-10.94818 14.70667,-14.74129 15.5,-17.6875 0.55623,-2.06568 1.43669,-3.78125 1.9375,-3.78125 z m -30,47.15625 4.28125,2.40625 c 4.59722,2.56943 9.2093,7.86601 8.21875,9.46875 -0.74297,1.20216 -0.65223,1.20584 -8,-0.96875 -6.37128,-1.8856 -6.52941,-2.14845 -5,-8.71875 l 0.5,-2.1875 z m -6.71875,1.25 c 0.40031,0.0859 0.71875,1.31847 0.71875,3.03125 0,3.24355 -0.82807,4.42192 -2.1875,3.0625 -0.74734,-0.74734 0.26301,-5.41388 1.3125,-6.0625 0.0605,-0.0374 0.0991,-0.0435 0.15625,-0.0312 z";

        function getpegasus(){
        var group = document.createElementNS('http://www.w3.org/2000/svg', 'g');
        
        var pegasusBack = document.createElementNS('http://www.w3.org/2000/svg', 'path');
        pegasusBack.setAttribute('d', pegasusPoints);
        pegasusBack.setAttribute('class', 'pegasus');
        pegasusBack.setAttribute('stroke-width', '2');
        pegasusBack.setAttribute('stroke', 'black');

        group.appendChild(pegasusBack);
        
        var pegasusOutline = document.createElementNS('http://www.w3.org/2000/svg', 'path');
        pegasusOutline.setAttribute('d', outlinePoints);
        pegasusOutline.setAttribute('fill', 'black');
        group.appendChild(pegasusOutline);
        
        return group;
        }
        
        for(y = 0 ; y < rows ; y++)
        for(x = 0 ; x < columns ; x++){
        
        var pegasus = getpegasus();
        pegasus.setAttribute('transform','translate('+[x*156,y*156].join(',')+')');
        svgElement.appendChild(pegasus);
        }
        
    }
    
    pegasusgrid(svg, 5,5);
    


            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console