Adding some random shapes...

This commit is contained in:
Amadeus Demarzi 2014-07-24 00:48:39 -07:00
parent 72f0ef0e8e
commit 9d615b5a25
2 changed files with 724 additions and 0 deletions

View File

@ -0,0 +1,723 @@
// jshint unused:false
var Shapes = [
{
"Points": [
{
"id": "mpoint-0",
"x": 0.848,
"y": -0.002
},
{
"id": "mpoint-1",
"x": 0.11800000000000001,
"y": 0.015
},
{
"id": "mpoint-2",
"x": 0.46,
"y": 0.602
},
{
"id": "mpoint-5",
"x": 0.9,
"y": 0.685
},
{
"id": "mpoint-6",
"x": 0.359,
"y": 0.7979999999999999
},
{
"id": "mpoint-10",
"x": 0,
"y": 0.48200000000000004
}
],
"Polygons": [
{
"id": "mpoly-0",
"color": {
"h": 242.6086956521739,
"s": 47.58620689655173,
"l": 28.431372549019606,
"a": 1
},
"points": [
"mpoint-0",
"mpoint-1",
"mpoint-2"
]
},
{
"id": "mpoly-1",
"color": {
"h": 253.33333333333334,
"s": 30.508474576271187,
"l": 53.72549019607843,
"a": 1
},
"points": [
"mpoint-0",
"mpoint-2",
"mpoint-5"
]
},
{
"id": "mpoly-2",
"color": {
"h": 246.31578947368416,
"s": 28.934010152284262,
"l": 38.62745098039216,
"a": 1
},
"points": [
"mpoint-6",
"mpoint-5",
"mpoint-2"
]
},
{
"id": "mpoly-3",
"color": {
"h": 244.99999999999997,
"s": 51.724137931034484,
"l": 22.745098039215687,
"a": 1
},
"points": [
"mpoint-1",
"mpoint-10",
"mpoint-2"
]
},
{
"id": "mpoly-4",
"color": {
"h": 240.84507042253526,
"s": 48.29931972789116,
"l": 28.823529411764703,
"a": 1
},
"points": [
"mpoint-10",
"mpoint-6",
"mpoint-2"
]
}
]
},
{
"Points": [
{
"id": "mpoint-15",
"x": 0.6990000000000001,
"y": 0
},
{
"id": "mpoint-16",
"x": 0.10800000000000001,
"y": 0.095
},
{
"id": "mpoint-17",
"x": 0.515,
"y": 0.46
},
{
"id": "mpoint-18",
"x": 0.915,
"y": 0.245
},
{
"id": "mpoint-20",
"x": 0.89,
"y": 0.765
},
{
"id": "mpoint-21",
"x": 0.349,
"y": 0.878
},
{
"id": "mpoint-25",
"x": 0.002,
"y": 0.475
}
],
"Polygons": [
{
"id": "mpoly-5",
"color": {
"h": 242.6086956521739,
"s": 47.58620689655173,
"l": 28.431372549019606,
"a": 1
},
"points": [
"mpoint-15",
"mpoint-16",
"mpoint-17"
]
},
{
"id": "mpoly-6",
"color": {
"h": 253.33333333333334,
"s": 30.508474576271187,
"l": 53.72549019607843,
"a": 1
},
"points": [
"mpoint-18",
"mpoint-17",
"mpoint-20"
]
},
{
"id": "mpoly-7",
"color": {
"h": 246.31578947368416,
"s": 28.934010152284262,
"l": 38.62745098039216,
"a": 1
},
"points": [
"mpoint-21",
"mpoint-20",
"mpoint-17"
]
},
{
"id": "mpoly-8",
"color": {
"h": 244.99999999999997,
"s": 51.724137931034484,
"l": 22.745098039215687,
"a": 1
},
"points": [
"mpoint-16",
"mpoint-25",
"mpoint-17"
]
},
{
"id": "mpoly-9",
"color": {
"h": 240.84507042253526,
"s": 48.29931972789116,
"l": 28.823529411764703,
"a": 1
},
"points": [
"mpoint-25",
"mpoint-21",
"mpoint-17"
]
},
{
"id": "mpoly-10",
"color": {
"h": 256.74418604651163,
"s": 37.719298245614034,
"l": 44.70588235294118,
"a": 1
},
"points": [
"mpoint-15",
"mpoint-18",
"mpoint-17"
]
}
]
},
{
"Points": [
{
"id": "mpoint-33",
"x": 0.675,
"y": 0.003
},
{
"id": "mpoint-34",
"x": 0.162,
"y": 0.18
},
{
"id": "mpoint-35",
"x": 0.56,
"y": 0.325
},
{
"id": "mpoint-36",
"x": 0.895,
"y": 0.215
},
{
"id": "mpoint-38",
"x": 0.79,
"y": 0.748
},
{
"id": "mpoint-39",
"x": 0.244,
"y": 0.82
},
{
"id": "mpoint-43",
"x": 0.002,
"y": 0.682
}
],
"Polygons": [
{
"id": "mpoly-11",
"color": {
"h": 242.6086956521739,
"s": 47.58620689655173,
"l": 28.431372549019606,
"a": 1
},
"points": [
"mpoint-33",
"mpoint-34",
"mpoint-35"
]
},
{
"id": "mpoly-12",
"color": {
"h": 253.33333333333334,
"s": 30.508474576271187,
"l": 53.72549019607843,
"a": 1
},
"points": [
"mpoint-36",
"mpoint-35",
"mpoint-38"
]
},
{
"id": "mpoly-13",
"color": {
"h": 246.31578947368416,
"s": 28.934010152284262,
"l": 38.62745098039216,
"a": 1
},
"points": [
"mpoint-39",
"mpoint-38",
"mpoint-35"
]
},
{
"id": "mpoly-14",
"color": {
"h": 244.99999999999997,
"s": 51.724137931034484,
"l": 22.745098039215687,
"a": 1
},
"points": [
"mpoint-34",
"mpoint-43",
"mpoint-35"
]
},
{
"id": "mpoly-15",
"color": {
"h": 240.84507042253526,
"s": 48.29931972789116,
"l": 28.823529411764703,
"a": 1
},
"points": [
"mpoint-43",
"mpoint-39",
"mpoint-35"
]
},
{
"id": "mpoly-16",
"color": {
"h": 256.74418604651163,
"s": 37.719298245614034,
"l": 44.70588235294118,
"a": 1
},
"points": [
"mpoint-33",
"mpoint-36",
"mpoint-35"
]
}
]
},
{
"Points": [
{
"id": "mpoint-51",
"x": 0.379,
"y": 0.08800000000000001
},
{
"id": "mpoint-52",
"x": 0,
"y": 0.345
},
{
"id": "mpoint-53",
"x": 0.568,
"y": 0.56
},
{
"id": "mpoint-56",
"x": 0.715,
"y": 0.003
},
{
"id": "mpoint-57",
"x": 0.935,
"y": 0.215
},
{
"id": "mpoint-59",
"x": 0.95,
"y": 0.525
},
{
"id": "mpoint-60",
"x": 0.87,
"y": 0.785
},
{
"id": "mpoint-63",
"x": 0.499,
"y": 0.883
},
{
"id": "mpoint-66",
"x": 0.284,
"y": 0.82
},
{
"id": "mpoint-70",
"x": 0.042,
"y": 0.682
}
],
"Polygons": [
{
"id": "mpoly-17",
"color": {
"h": 242.6086956521739,
"s": 47.58620689655173,
"l": 28.431372549019606,
"a": 1
},
"points": [
"mpoint-51",
"mpoint-52",
"mpoint-53"
]
},
{
"id": "mpoly-18",
"color": {
"h": 239.17808219178082,
"s": 44.78527607361962,
"l": 31.960784313725494,
"a": 1
},
"points": [
"mpoint-51",
"mpoint-53",
"mpoint-56"
]
},
{
"id": "mpoly-19",
"color": {
"h": 253.33333333333334,
"s": 30.508474576271187,
"l": 53.72549019607843,
"a": 1
},
"points": [
"mpoint-57",
"mpoint-53",
"mpoint-59"
]
},
{
"id": "mpoly-20",
"color": {
"h": 252.8571428571429,
"s": 30.701754385964914,
"l": 55.294117647058826,
"a": 1
},
"points": [
"mpoint-60",
"mpoint-59",
"mpoint-53"
]
},
{
"id": "mpoly-21",
"color": {
"h": 255.1898734177215,
"s": 31.726907630522096,
"l": 48.82352941176471,
"a": 1
},
"points": [
"mpoint-63",
"mpoint-60",
"mpoint-53"
]
},
{
"id": "mpoly-22",
"color": {
"h": 246.31578947368416,
"s": 28.934010152284262,
"l": 38.62745098039216,
"a": 1
},
"points": [
"mpoint-66",
"mpoint-63",
"mpoint-53"
]
},
{
"id": "mpoly-23",
"color": {
"h": 244.99999999999997,
"s": 51.724137931034484,
"l": 22.745098039215687,
"a": 1
},
"points": [
"mpoint-52",
"mpoint-70",
"mpoint-53"
]
},
{
"id": "mpoly-24",
"color": {
"h": 240.84507042253526,
"s": 48.29931972789116,
"l": 28.823529411764703,
"a": 1
},
"points": [
"mpoint-70",
"mpoint-66",
"mpoint-53"
]
},
{
"id": "mpoly-25",
"color": {
"h": 256.74418604651163,
"s": 37.719298245614034,
"l": 44.70588235294118,
"a": 1
},
"points": [
"mpoint-56",
"mpoint-57",
"mpoint-53"
]
}
]
},
{
"Points": [
{
"id": "mpoint-78",
"x": 0.33899999999999997,
"y": -0.004
},
{
"id": "mpoint-79",
"x": 0.042,
"y": 0.209
},
{
"id": "mpoint-80",
"x": 0.46799999999999997,
"y": 0.361
},
{
"id": "mpoint-83",
"x": 0.675,
"y": 0.063
},
{
"id": "mpoint-84",
"x": 0.83,
"y": 0.212
},
{
"id": "mpoint-86",
"x": 0.91,
"y": 0.444
},
{
"id": "mpoint-87",
"x": 0.78,
"y": 0.778
},
{
"id": "mpoint-90",
"x": 0.45899999999999996,
"y": 0.943
},
{
"id": "mpoint-93",
"x": 0.08900000000000001,
"y": 0.787
},
{
"id": "mpoint-97",
"x": 0.002,
"y": 0.62
}
],
"Polygons": [
{
"id": "mpoly-26",
"color": {
"h": 242.6086956521739,
"s": 47.58620689655173,
"l": 28.431372549019606,
"a": 1
},
"points": [
"mpoint-78",
"mpoint-79",
"mpoint-80"
]
},
{
"id": "mpoly-27",
"color": {
"h": 239.17808219178082,
"s": 44.78527607361962,
"l": 31.960784313725494,
"a": 1
},
"points": [
"mpoint-78",
"mpoint-80",
"mpoint-83"
]
},
{
"id": "mpoly-28",
"color": {
"h": 253.33333333333334,
"s": 30.508474576271187,
"l": 53.72549019607843,
"a": 1
},
"points": [
"mpoint-84",
"mpoint-80",
"mpoint-86"
]
},
{
"id": "mpoly-29",
"color": {
"h": 252.8571428571429,
"s": 30.701754385964914,
"l": 55.294117647058826,
"a": 1
},
"points": [
"mpoint-87",
"mpoint-86",
"mpoint-80"
]
},
{
"id": "mpoly-30",
"color": {
"h": 255.1898734177215,
"s": 31.726907630522096,
"l": 48.82352941176471,
"a": 1
},
"points": [
"mpoint-90",
"mpoint-87",
"mpoint-80"
]
},
{
"id": "mpoly-31",
"color": {
"h": 246.31578947368416,
"s": 28.934010152284262,
"l": 38.62745098039216,
"a": 1
},
"points": [
"mpoint-93",
"mpoint-90",
"mpoint-80"
]
},
{
"id": "mpoly-32",
"color": {
"h": 244.99999999999997,
"s": 51.724137931034484,
"l": 22.745098039215687,
"a": 1
},
"points": [
"mpoint-79",
"mpoint-97",
"mpoint-80"
]
},
{
"id": "mpoly-33",
"color": {
"h": 240.84507042253526,
"s": 48.29931972789116,
"l": 28.823529411764703,
"a": 1
},
"points": [
"mpoint-97",
"mpoint-93",
"mpoint-80"
]
},
{
"id": "mpoly-34",
"color": {
"h": 256.74418604651163,
"s": 37.719298245614034,
"l": 44.70588235294118,
"a": 1
},
"points": [
"mpoint-83",
"mpoint-84",
"mpoint-80"
]
}
]
}
];

View File

@ -26,6 +26,7 @@
<script type="text/javascript" src="/javascripts/lib/String.substitute.js"></script> <script type="text/javascript" src="/javascripts/lib/String.substitute.js"></script>
<script type="text/javascript" src="/javascripts/lib/Vector.js"></script> <script type="text/javascript" src="/javascripts/lib/Vector.js"></script>
<script type="text/javascript" src="/javascripts/app/Logo.js"></script> <script type="text/javascript" src="/javascripts/app/Logo.js"></script>
<script type="text/javascript" src="/javascripts/app/Shapes.js"></script>
<script type="text/javascript" src="/javascripts/app/Engine.js"></script> <script type="text/javascript" src="/javascripts/app/Engine.js"></script>
<script type="text/javascript" src="/javascripts/app/Engine.Particle.js"></script> <script type="text/javascript" src="/javascripts/app/Engine.Particle.js"></script>
<script type="text/javascript" src="/javascripts/app/Engine.Particle.Fixed.js"></script> <script type="text/javascript" src="/javascripts/app/Engine.Particle.Fixed.js"></script>