Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save adg29/64d7e37ac33e13bceb14 to your computer and use it in GitHub Desktop.
Save adg29/64d7e37ac33e13bceb14 to your computer and use it in GitHub Desktop.
Test of animating external and inline svg file
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<!DOCTYPE html>
<meta charset="utf-8">
<link href="style.css" type="text/css" rel="stylesheet"/>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/1.15.0/TweenMax.min.js"></script>
<script>
$(function() {
var colors = ["#FF0000", "#FFFF00", "#00FF00", "#00FFFF", "#0000FF", "#FF00FF", "#ED1C24", "#FFF200", "#00A651", "#00AEEF", "#2E3192", "#EC008C", "#FF0000"];
var container = $("#container");
// var svgUrl = "http://rawgit.com/adg29/1e7460829be46be22035/raw/494de785a8083c074971c0ea336cf8b1fb5b7201/left-hands.svg";
var svgUrl = "http://rawgit.com/adg29/64d7e37ac33e13bceb14/raw/2bf32b13530f2793bae5290adcb12e58d06a13d0/bad-trip.svg";
var timeline = new TimelineMax({
delay: 2,
repeat: -1
});
$.get(svgUrl)
.then(injectSvg)
.always(startAnimation);
function injectSvg(xmlDoc) {
var svg = $(xmlDoc).find("svg");
container.append(svg);
}
function startAnimation() {
for (var i = 0; i < colors.length; i++) {
timeline.to(".gs-ani-path.gs-ani-fill", 1, {
fill: colors[i],
ease: Linear.ease
});
}
}
});
</script>
<title>
Test of animating external and inline svg file
</title>
<h2>Loaded via Ajax</h2>
<div id="container"></div>
<h2>Embedded Object <small>SVG is Encapsulated, External document</small></h2>
<div>
<object id="svg-object" data="bad-trip.svg" type="image/svg+xml"></object>
</div>
<h2>Use Tag <small>SVG is Encapsulated, No IE Support</small></h2>
<div>
<svg>
<use xlink:href="bad-trip.svg#bad-trip"></use>
</svg>
</div>
<h2>Inline SVG</h2>
<div>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="bad-trip" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 612 792" enable-background="new 0 0 612 792" xml:space="preserve">
<g>
<g>
<path fill="#FDFCFC" d="M356.1,320.5c6.5,38.5,13,76.4,19,114.9c-5.9-1.8-11.3-4.1-16-4.7c-3.6-27.8-7.7-55.7-10.7-82.9
c-0.6-5.3-2.4-10.7-2.4-16.6c0-3.6,0-5.9,4.1-7.1C351.3,322.8,353.1,321.7,356.1,320.5z"/>
<path fill="#FDFCFC" d="M167.7,335.3c5.9-18.4,4.7-38.5,18.4-53.9c1.8,1.8,0.6,4.1,0.6,5.9c-2.4,11.8-4.7,23.7-6.5,36.1
c-3,16-6.5,32.6-8.9,48.6c-0.6,4.7-2.4,7.7-6.5,10.1c-3,1.8-5.3,4.1-8.9,5.9c2.4-10.7,4.7-20.1,7.1-30.2c0-0.6,0.6-1.8,0.6-1.8
c7.7-1.2,4.1-10.1,10.1-12.4c-3-1.2-3.6,1.2-5.3,0c-0.6-3.6,1.8-5.9,3-8.9C170.1,334.7,168.9,334.7,167.7,335.3z"/>
<path fill="#FDFCFC" d="M328.8,197.9c7.1,0,7.7,4.1,8.3,8.9c3,20.7,6.5,41.5,10.1,62.2c0,1.2,0,1.8,0.6,3.6
c-3.6-0.6-7.1-1.2-10.1-1.8C334.7,246.4,331.8,222.1,328.8,197.9z"/>
<path fill="#FDFCFC" d="M186.6,277.8c-4.1-10.7-7.7-20.7-1.8-31.4c3-5.9,5.3-13,7.7-19c2.4-7.1,7.1-13.6,5.3-23.1
c3,3.6,2.4,6.5,1.8,8.9c-3.6,19-7.1,37.9-10.1,56.9C189,272.5,188.4,274.9,186.6,277.8z"/>
<path fill="#FDFCFC" d="M130.4,499.4c0-9.5,3-17.2,5.9-26.1c2.4,1.8,4.1,3.6,6.5,5.3c4.1,3.6,3.6,5.3,0,9.5
C138.7,492.3,134.5,495.8,130.4,499.4z"/>
<path fill="#FDFCFC" d="M241.1,168.2c1.2,4.1-0.6,5.9-4.1,5.9c-8.3,0-16-1.8-24.3-3c-1.2-1.8-0.6-3.6-1.8-5.9
C221.6,166.5,231.1,167.6,241.1,168.2z"/>
<path fill="#FDFCFC" d="M253,123.2c5.9,3,11.3,1.2,17.2,0c-1.2,6.5-4.1,11.3-5.9,17.2C260.1,134.5,256.5,128.5,253,123.2z"/>
<path fill="#FDFCFC" d="M328.8,392.7c0,1.2,1.2,1.8,2.4,3c1.8,1.8,1.2,4.7-1.2,4.7c-3,0.6-4.1,2.4-5.3,4.7c-1.2,1.8-3,3-4.7,3
c-1.2,0-1.8-0.6-2.4-1.2c-0.6-1.2-0.6-2.4,0.6-3C322.3,401,322.9,393.9,328.8,392.7z"/>
<path fill="#FDFCFC" d="M286.7,90.6c-5.3,11.3-7.7,12.4-14.8,6.5C276.7,95.4,281.4,93,286.7,90.6z"/>
<path fill="#FDFCFC" d="M237,93c5.3,2.4,9.5,4.1,13.6,5.9C244.7,103.7,241.1,101.9,237,93z"/>
<path fill="#FDFCFC" d="M292.1,315.7c-1.8,4.1-1.8,4.1-7.1,3.6c0-2.4-0.6-5.3-0.6-7.7C287.9,310.4,289.1,314,292.1,315.7z"/>
<g>
<path class="gs-ani-path" fill="#311C29" d="M419.4,411.1c7.7,32.6,15.4,65.2,21.3,98.3c3.6,20.1,7.1,40.3,8.3,61c0.6,8.9,0,17.8-4.1,26.7
c-5.9,11.3-12.4,17.8-24.9,21.3c0.6,3,3.6,3.6,4.7,6.5c-29,0-57.5,0-87.1,0c1.8,3,0,4.1-1.8,5.3c-6.5,4.1-12.4,8.3-20.1,9.5
c-3,0.6-4.1,3.6-7.7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18.4
c0-1.2-0.6-3,1.2-3.6c6.5-1.8,4.1-7.1,4.1-11.3c0-1.8-1.2-4.1-3.6-3.6c-3.6,0-3.6,2.4-3.6,4.1
C242.9,377.9,244.7,379.1,242.9,380.9z M328.8,197.9c3,24.3,5.9,48.6,8.9,72.9c3,0.6,5.9,1.2,10.1,1.8c0-1.8-0.6-3-0.6-3.6
c-3.6-20.7-7.1-41.5-10.1-62.2C336.5,202,335.9,197.9,328.8,197.9z M256.5,706.7c0-3,0-5.3,0-8.3c0-4.1,0-8.3,3.6-11.8
c3-2.4,1.8-10.1-1.2-13.6c-2.4,3-1.2,6.5-2.4,10.1c-2.4-4.1-1.8-7.7-1.2-11.3c1.2-7.1,4.7-14.2-3-21.3
c-7.1,10.1-1.2,20.7-4.1,30.8c-1.8-2.4-1.2-4.7-1.2-7.1c0-2.4,0-5.3-1.2-7.7c-0.6-1.2-1.2-1.8-2.4-1.8c-1.2,0-1.8,0.6-1.8,1.8
c-0.6,7.1-3,14.8,1.2,20.1c5.9,6.5,4.7,13,4.1,19.5C250,707.3,253,707.3,256.5,706.7z M186.6,277.8c1.8-3,2.4-5.3,3-7.7
c3.6-19,7.1-37.9,10.1-56.9c0.6-2.4,1.2-5.3-1.8-8.9c1.2,9.5-3,16-5.3,23.1c-2.4,6.5-4.7,13-7.7,19
C178.9,257.1,181.9,267.2,186.6,277.8z M260.7,318.1c8.9,2.4,10.7,1.2,9.5-7.1c-0.6-3-1.2-6.5,0-8.9c1.8-2.4,1.2-5.3,2.4-7.7
c1.2-1.8-0.6-2.4-1.8-3.6c-1.2-1.8-1.8,0.6-3,1.2c-1.2-1.2-1.2-4.7-4.1-3.6c-2.4,0.6-1.2,3.6-1.8,5.3c-0.6,2.4,1.2,4.7-0.6,7.1
c-1.8,0-0.6-3.6-3.6-2.4c-1.8,3-1.8,6.5,0.6,8.9C263.1,309.8,263.1,313.4,260.7,318.1z M363.8,237.5c4.7-3,5.3-9.5,1.2-13
c-1.8,1.2-0.6,3.6-1.8,4.7c-1.2-3.6,0-8.3-4.7-10.7c-1.8,4.7-0.6,9.5-0.6,12.4c0-0.6-0.6-1.8-1.8-3c-1.8-1.2-3.6-1.2-3.6,1.2
c0,3.6-1.2,8.3,1.8,9.5c4.7,2.4,5.3,5.9,5.3,10.1c0,1.8,1.2,3,3.6,2.4c2.4,0,2.4-1.8,2.4-3.6
C364.3,244.1,363.8,241.1,363.8,237.5z M130.4,499.4c4.1-3.6,8.3-7.7,11.8-11.8c4.1-4.1,4.1-5.9,0-9.5c-1.8-1.8-4.1-3-6.5-5.3
C133.3,482.2,130.4,490.5,130.4,499.4z M241.1,168.2c-10.1-0.6-19.5-1.8-30.2-3.6c0.6,2.4,0,4.1,1.8,5.9c7.7,1.8,16,3,24.3,3
C241.1,173.6,242.9,172.4,241.1,168.2z M273.7,228.7c3.6,0,4.7-1.2,4.7-4.1c0-3.6-0.6-7.7,1.8-11.3c0.6-1.2,0.6-3-0.6-4.1
c-1.8-1.8-4.1-6.5-5.9-4.1c-2.4,2.4-5.9,6.5-3,11.3C273.1,220.4,273.1,224.5,273.7,228.7z M253,123.2c3.6,5.3,7.1,11.3,11.3,17.2
c2.4-5.9,5.3-11.3,5.9-17.2C264.2,124.4,258.3,126.2,253,123.2z M328.8,392.7c-5.9,1.8-6.5,8.3-11.3,11.3c-1.2,0.6-1.2,1.8-0.6,3
c0.6,0.6,1.2,1.8,2.4,1.2c1.8-0.6,3.6-1.8,4.7-3c1.2-2.4,2.4-4.1,5.3-4.7c2.4-0.6,2.4-3,1.2-4.7
C330.6,393.9,328.8,393.3,328.8,392.7z M286.2,219.2c2.4,0,6.5,1.8,6.5-2.4s-1.8-8.9-4.1-12.4
C287.9,209.1,284.4,213.8,286.2,219.2z M286.7,90.6c-5.3,2.4-10.1,4.7-14.8,6.5C279,103.1,281.4,101.9,286.7,90.6z M237,93
c4.1,8.9,7.7,10.7,13.6,5.9C246.5,97.1,242.3,95.4,237,93z M221,88.3c-3.6-1.8-4.7,0.6-5.3,3.6C218.6,92.4,221.6,92.4,221,88.3z
M322.9,97.7c-1.8-1.8-1.8-4.7-5.3-2.4C318.1,97.7,318.7,100.1,322.9,97.7z M209.7,95.4c-4.7,0-4.7,0-4.7,3.6
C208,99.5,209.7,98.9,209.7,95.4z M331.2,103.7c0-3.6-1.8-4.1-4.7-3C327,103.1,327.6,104.8,331.2,103.7z M307.5,88.9
c0.6,4.1,2.4,4.1,5.3,3C311,88.9,311,88.9,307.5,88.9z M199.1,101.9c-3-0.6-4.1,0.6-4.7,3.6C197.3,106,198.5,104.8,199.1,101.9z"
/>
<path class="gs-ani-path gs-ani-fill" fill="#C9478F" d="M395.7,504.1c-8.9-1.2-12.4-4.1-13-13.6c0-4.1,0-8.3,0.6-12.4c0.6-2.4,0-5.9,4.1-5.3c3,0.6,4.7,3,4.1,6.5
c-0.6,3,1.8,5.3,0.6,8.3c0,0.6,0.6,3,3,3c1.8-5.3,1.2-11.3,0.6-16.6c-0.6-5.3-0.6-10.1,1.8-15.4c1.8-4.1,5.3-4.7,8.3-1.8
c2.4,2.4,3,5.3,3.6,8.3c1.2,7.1,0.6,14.2,1.2,21.9c4.7-5.3-1.2-13,4.7-16.6c5.9,5.3,6.5,21.3,0.6,26.1c-1.8,1.8-4.1,0.6-6.5,1.8
c-0.6,7.7,0.6,15.4,1.2,23.1c0,3.6,0.6,6.5,0,10.1c-0.6,3,1.8,6.5-2.4,8.3c-4.1,1.8-8.3,2.4-11.8-0.6
C397.5,527.8,396.3,516,395.7,504.1z"/>
<path class="gs-ani-path gs-ani-fill" fill="#C9478F" d="M242.9,380.9c1.8-1.2,0.6-2.4,0.6-3.6c0-1.8,0-4.1,2.4-4.7c2.4-0.6,3.6,1.8,3.6,3.6
c0,4.1,2.4,8.9-4.1,11.3c-1.8,0.6-1.2,2.4-1.2,3.6c0,5.9,0,12.4,0,18.4c0,3.6-1.2,5.9-4.7,5.9c-3,0-5.9-1.2-5.3-5.3
c0-2.4,0-4.7,0-7.1c0-3.6-0.6-6.5-5.3-5.9h-0.6c-7.1-4.7-3-11.8-3.6-17.8c-0.6-3,2.4-4.7,5.9-4.1c2.4,3.6,1.2,7.7,2.4,12.4
c3-4.1,2.4-8.3,0.6-11.3c-1.8-3.6,0-5.9,0.6-8.9c1.2-3,3.6-3,5.9-0.6c1.8,2.4,1.2,4.7,1.8,7.7
C242.3,376.2,241.1,378.5,242.9,380.9z"/>
<path class="gs-ani-path gs-ani-fill" fill="#C9478F" d="M256.5,706.7c-3.6,1.2-5.9,0.6-8.3-0.6c0-7.1,1.2-13.6-4.1-19.5c-4.1-4.7-1.8-13-1.2-20.1
c0-0.6,0.6-1.8,1.8-1.8c1.2,0,1.8,1.2,2.4,1.8c1.2,2.4,0.6,5.3,1.2,7.7c0,2.4,0,4.7,1.2,7.1c3-10.1-3-20.7,4.1-30.8
c7.7,7.1,4.1,14.2,3,21.3c-0.6,4.1-1.2,7.7,1.2,11.3c1.2-3.6,0-7.1,2.4-10.1c3,3.6,4.1,11.3,1.2,13.6c-4.1,3.6-3.6,7.7-3.6,11.8
C256.5,701.4,256.5,703.7,256.5,706.7z"/>
<path class="gs-ani-path gs-ani-fill" fill="#C9478F" d="M260.7,318.1c2.4-4.1,2.4-7.7-1.8-11.3c-3-2.4-2.4-5.9-0.6-8.9c3-1.2,1.8,2.4,3.6,2.4
c1.8-2.4,0.6-4.7,0.6-7.1c0-1.8-1.2-4.1,1.8-5.3c3-1.2,3,2.4,4.1,3.6c1.2,0,1.2-3,3-1.2c0.6,1.2,2.4,1.8,1.8,3.6
c-1.2,2.4-0.6,5.3-2.4,7.7c-1.8,2.4-0.6,5.9,0,8.9C271.3,318.7,269.6,320.5,260.7,318.1z"/>
<path class="gs-ani-path gs-ani-fill" fill="#C9478F" d="M363.8,237.5c0.6,3.6,0.6,6.5,1.2,10.1c0,1.8,0,3.6-2.4,3.6c-1.8,0-3.6-0.6-3.6-2.4
c0-4.1-0.6-7.7-5.3-10.1c-2.4-1.8-1.8-6.5-1.8-9.5c0-2.4,1.8-2.4,3.6-1.2c1.2,1.2,1.8,2.4,1.8,3c0-3-1.2-7.7,0.6-12.4
c5.3,2.4,3.6,7.1,4.7,10.7c1.2-1.2-0.6-3.6,1.8-4.7C369.1,228.1,368.5,234.6,363.8,237.5z"/>
<path class="gs-ani-path gs-ani-fill" fill="#C9478F" d="M273.7,228.7c-0.6-4.7-0.6-8.9-3-12.4c-3-4.1,0.6-8.9,3-11.3c2.4-2.4,4.1,2.4,5.9,4.1
c0.6,0.6,1.2,3,0.6,4.1c-2.4,3.6-1.8,7.7-1.8,11.3C278.5,227.5,277.3,229.2,273.7,228.7z"/>
<path class="gs-ani-path gs-ani-fill" fill="#C9478F" d="M286.2,219.2c-2.4-5.9,1.8-10.1,2.4-14.8c2.4,4.1,4.1,8.3,4.1,12.4C292.7,221,288.5,219.2,286.2,219.2z"
/>
<path class="gs-ani-path gs-ani-fill" fill="#C9478F" d="M292.1,315.7c-2.4-1.8-4.1-5.3-7.7-4.1c-1.8-4.1,3.6-4.1,3.6-8.3c2.4,5.9,4.1,10.7,9.5,11.8
C295.6,315.7,293.9,315.7,292.1,315.7z"/>
</g>
<path fill="#FDFCFC" d="M221,88.3c0,4.1-2.4,4.1-5.3,3.6C216.3,88.9,217.4,86.5,221,88.3z"/>
<path fill="#FDFCFC" d="M322.9,97.7c-4.1,1.8-4.7,0-5.3-2.4C320.5,93,321.1,96,322.9,97.7z"/>
<path fill="#FDFCFC" d="M209.7,95.4c-0.6,3.6-2.4,4.1-4.7,3.6C205.6,96,205.6,96,209.7,95.4z"/>
<path fill="#FDFCFC" d="M331.2,103.7c-3,0.6-4.1-1.2-4.7-3C329.4,99.5,331.2,100.1,331.2,103.7z"/>
<path fill="#FDFCFC" d="M307.5,88.9c3.6,0,3.6,0,5.3,3C309.9,93,308.1,93,307.5,88.9z"/>
<path fill="#FDFCFC" d="M199.1,101.9c0,3.6-1.8,4.1-4.7,3.6C194.9,102.5,196.1,101.3,199.1,101.9z"/>
<path fill="#FDFCFC" d="M419.4,411.1c0-0.6-0.6-1.8-0.6-2.4c1.8,0,1.2,1.2,1.8,1.8C420,410.5,419.4,410.5,419.4,411.1z"/>
</g>
</g>
</svg>
</div>
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
body {
font-family: sans-serif;
}
h2 {
color: #444;
border-bottom: 1px solid #aaa;
font-size: 18px;
margin: 18px 0 6px;
}
small {
color: #888;
font-weight: normal;
margin-left: 10px;
}
svg,
#svg-object {
border: 2px solid crimson;
height: 200px;
padding: 10px 5px 0 10px;
}
/*** SVG Styles ***/
.left-hand {
border-color: green;
}
path.left-hand-palm {
fill: blue;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment