Created
March 24, 2012 14:28
-
-
Save the55/2183517 to your computer and use it in GitHub Desktop.
hot dog raphael plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// hotdog from Andrew Cameron, from The Noun Project: http://thenounproject.com/noun/hot-dog/#icon-No1820 | |
Raphael.fn.hotDog = function() { | |
this.setStart(); | |
this.path("M85.889,59.75c1.061,3.918-0.738,8.412-4.068,9.746c-20.641,8.279-42.604,8.535-63.432,0.737 c-3.362-1.257-5.263-5.71-4.292-9.649l0,0c0.971-3.948,4.147-6.031,7.134-4.918c18.851,7.058,38.729,6.827,57.413-0.667 C81.602,53.816,84.824,55.827,85.889,59.75L85.889,59.75z"); | |
this.path("M15.488,44.829c1.426,0.678,1.263,1.892,1.152,2.712c-0.116,0.863,1.747,1.009,2.305,0.786 c1.535-0.615,3.252-1.304,4.73-0.961c1.198,0.278,1.692,1.307,2.178,2.321c0.229,0.475,0.889,1.936,2.905,0.714 c1.323-0.802,2.878-1.567,4.36-1.38c1.347,0.168,2.033,1.251,2.875,2.178c1.421,1.562,2.584,0.732,3.102,0.366 c1.197-0.849,2.53-1.797,4.041-1.735c1.414,0.055,2.417,1.01,3.404,1.948c1.71,1.628,2.197,1.166,3.586-0.03 c1.08-0.929,2.177-1.873,3.634-1.932c1.535-0.063,2.91,0.854,4.143,1.676c2.047,1.366,2.512,0.902,3.619-0.39 c0.848-0.992,1.709-1.999,3.102-2.169c1.52-0.185,3.076,0.618,4.467,1.336c1.533,0.791,2.695,0.51,3.43-0.75 c0.588-1.006,1.184-2.026,2.436-2.29c1.539-0.324,3.291,0.368,4.855,0.985c0.59,0.233,2.957,0.785,2.832-0.838 c-0.064-0.816-0.016-2.032,1.578-2.63c0.207-0.078,0.445-0.1,0.689-0.075c-1.477-2.373-3.953-3.404-6.27-2.479 c-18.684,7.494-38.562,7.725-57.413,0.667c-2.111-0.787-4.315,0.024-5.77,1.959C15.469,44.822,15.479,44.825,15.488,44.829z"); | |
this.path("M97.35,49.328c-1.385-3.78-5.631-5.705-9.541-4.553c-0.553,0.163-1.605,0.405-1.453,0.728 c-0.031-0.003-0.062-0.006-0.09-0.005c-0.562,0.038-0.689,1.667-0.689,1.667c-0.041,0.166-0.041,0.397-0.027,0.744 c0.035,0.995,0.088,2.535-2.35,3.218c-1.215,0.341-2.738-0.273-4.195-0.861c-2.275-0.918-2.973-0.92-3.783,0.552 c-0.635,1.147-1.369,2.477-3.018,2.765c-1.461,0.252-2.973-0.55-4.418-1.312c-1.85-0.979-2.73-0.938-3.805,0.366 c-0.883,1.076-1.908,2.322-3.584,2.466c-1.572,0.133-2.949-0.812-4.26-1.712c-2.027-1.393-2.436-1.191-3.883,0.095 c-1.117,0.993-2.408,2.14-4.094,2.14c-1.654,0-2.839-1.167-3.865-2.177c-0.429-0.422-1.54-1.469-3.384-0.049 c-1.235,0.951-2.585,1.885-4.106,1.757c-1.646-0.141-2.566-1.405-3.362-2.497c-0.322-0.443-1.063-1.437-3.325-0.298 c-1.435,0.722-2.873,1.602-4.287,1.343c-1.612-0.297-2.223-1.654-2.75-2.826c-0.195-0.433-1.096-1.583-3.323-0.506 c-1.392,0.674-2.927,1.2-4.093,0.823c-2.333-0.753-2.069-2.382-1.916-3.333c0.098-0.603,0.034-1.132-0.098-1.272 c0.046-0.188-0.764-0.49-0.75-0.63c-0.571-0.146-0.297-0.152-0.867-0.306c-3.938-1.061-8.137,0.961-9.435,4.774 c-1.297,3.804,1.194,8.092,5.626,9.29c1.3,0.352,2.604,0.687,3.911,1.004c0.048-0.313,0.11-0.628,0.187-0.94 c0.972-3.95,3.897-6.604,7.278-6.604c0.767,0,1.528,0.139,2.263,0.412c8.886,3.328,18.316,5.939,27.504,5.939 c0,0,0.001,0,0.002,0c9.776,0,19.221-2.83,28.59-6.589c0.779-0.311,1.586-0.468,2.402-0.468c3.312,0,6.24,2.586,7.283,6.435 c0.088,0.326,0.16,0.654,0.215,0.983c1.363-0.362,2.723-0.744,4.078-1.146C96.344,57.446,98.736,53.103,97.35,49.328z"); | |
this.path("M39.951,25.378c1.052-2.366,1.315-4.996,0.526-7.626c-0.526-2.104-2.893-3.682-4.996-2.629c0,0-0.263,0.262-0.263,0.525 c0.263,2.104,1.314,3.945,0.789,6.048c-0.789,2.63-2.629,4.471-3.418,7.1c-0.79,2.367-0.526,4.997,0.525,7.101 c0.725,1.208,1.505,2.223,4.07,2.223c0.632,0,1.144-0.513,1.144-1.145c0-0.177-1.936-4.613-0.744-7.127 C38.373,28.271,39.425,26.956,39.951,25.378z"); | |
this.path("M66.887,25.378c1.053-2.366,1.314-4.996,0.525-7.626c-0.525-2.104-2.893-3.682-4.996-2.629c0,0-0.262,0.262-0.262,0.525 c0.262,2.104,1.314,3.945,0.789,6.048c-0.789,2.63-2.631,4.471-3.42,7.1c-0.789,2.367-0.525,4.997,0.527,7.101 c0.725,1.208,1.504,2.223,4.068,2.223c0.633,0,1.145-0.513,1.145-1.145c0-0.177-1.936-4.613-0.744-7.127 C65.311,28.271,66.361,26.956,66.887,25.378z"); | |
this.path("M54.676,23.8c0.527-1.578,0.266-3.156,0.266-4.733c0-1.052-0.266-1.841-0.527-2.893c-0.025-0.103-0.094-0.209-0.139-0.305 c-0.047-0.101-0.096-0.201-0.145-0.301c-0.102-0.199-0.211-0.394-0.332-0.581c-0.25-0.383-0.553-0.729-0.889-1.038 c-0.34-0.312-0.713-0.595-1.117-0.816c-0.389-0.211-0.82-0.356-1.263-0.375c-0.354-0.015-0.712,0.032-1.058,0.105 c-0.34,0.073-0.705,0.141-0.979,0.373c-0.066,0.057-0.128,0.126-0.175,0.201c-0.102,0.164-0.074,0.322-0.018,0.497 c0.035,0.11,0.048,0.225,0.078,0.336c0.036,0.138,0.071,0.275,0.108,0.412c0.074,0.279,0.15,0.557,0.228,0.835 c0.157,0.564,0.318,1.127,0.467,1.693c0.146,0.551,0.284,1.106,0.382,1.668c0.097,0.553,0.148,1.115,0.094,1.675 c-0.056,0.593-0.231,1.162-0.428,1.721c-0.024,0.068-0.044,0.142-0.074,0.208c-1.315,2.893-3.156,5.26-3.945,8.415 c-0.789,3.156-0.789,6.837,1.315,9.467c1.052,1.051,2.893,2.104,4.471,1.051c0.262-0.263,0.526-0.526,0.526-0.789 c0-0.526,0-0.789-0.264-1.315c-1.051-2.367-1.314-4.997-0.526-7.363C52.047,29.06,53.889,26.693,54.676,23.8z"); | |
return this.setFinish(); | |
}; | |
// hotdog2 from The Noun Project http://thenounproject.com/noun/hot-dog/#icon-No437 | |
Raphael.fn.hotDog2 = function() { | |
this.setStart(); | |
this.path("M64.026,1.611L1.611,64.026c-3.506,3.506-0.701,10.518,2.806,14.024L78.051,4.417C74.544,0.91,67.533-1.896,64.026,1.611z"); | |
this.path("M21.949,95.583c3.505,3.508,10.519,6.312,14.025,2.805l62.415-62.414c3.507-3.506,0.701-10.52-2.806-14.026L21.949,95.583z"); | |
this.path("M92.778,5.117L92.778,5.117c-3.506-3.506-9.115-0.701-11.92,2.104c-0.001,0-73.635,73.635-73.636,73.637 c-2.805,2.805-5.61,8.414-2.104,11.92l2.105,2.104c3.506,3.507,9.116,0.702,11.921-2.104c0,0,73.634-73.634,73.634-73.634 c2.806-2.805,5.611-8.415,2.105-11.922l-0.001,0L92.778,5.117z M81.909,18.092L81.909,18.092c-1.181,1.181-1.578,3.501-1.962,5.746 c-0.469,2.745-0.952,5.584-2.947,7.579c-2.039,2.039-5.163,2.664-8.183,3.267c-1.949,0.391-4.376,0.875-5.142,1.642 c-0.766,0.765-1.252,3.191-1.641,5.142c-0.604,3.02-1.229,6.143-3.27,8.182c-2.038,2.041-5.162,2.664-8.182,3.268 c-1.95,0.39-4.376,0.876-5.142,1.641c-0.596,0.595-1.132,3.149-1.49,4.841c-0.665,3.153-1.353,6.418-3.419,8.484 c-2.067,2.066-5.33,2.755-8.485,3.419c-1.69,0.356-4.244,0.895-4.84,1.489c-0.595,0.595-1.133,3.15-1.489,4.841 c-0.665,3.153-1.353,6.418-3.419,8.484c-1.162,1.162-3.046,1.16-4.208,0c-1.161-1.162-1.161-3.047,0-4.207 c0.817-0.817,1.387-3.525,1.806-5.505c0.647-3.072,1.259-5.975,3.104-7.82s4.747-2.458,7.82-3.105 c1.979-0.416,4.688-0.987,5.504-1.803c0.817-0.817,1.387-3.525,1.806-5.505c0.647-3.072,1.259-5.975,3.103-7.821 c2.041-2.04,5.162-2.664,8.183-3.268c1.949-0.39,4.377-0.875,5.142-1.641c0.766-0.766,1.252-3.192,1.641-5.142 c0.604-3.021,1.23-6.144,3.269-8.183c2.039-2.04,5.163-2.665,8.183-3.268c1.949-0.39,4.377-0.875,5.142-1.641 c0.655-0.654,0.993-2.63,1.29-4.373c0.516-3.015,1.099-6.431,3.619-8.952l0,0c1.162-1.162,3.047-1.162,4.208,0 C83.07,15.045,83.071,16.929,81.909,18.092z"); | |
return this.setFinish(); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hot dog!