Skip to content

Instantly share code, notes, and snippets.

@chranderson
Created May 31, 2015 19:52
Show Gist options
  • Save chranderson/17cd114b616e8d53a70b to your computer and use it in GitHub Desktop.
Save chranderson/17cd114b616e8d53a70b to your computer and use it in GitHub Desktop.
EjZeYG
<svg id="animatedLogo" class="logo">
<g id="digital">
<path id="D" fill="#FFFFFF" d="M46.8,31.4H33.6c-0.5,0-0.9,0.4-1,0.8L24,63.9c-0.1,0.5,0.2,0.9,0.7,0.9h13c10.3,0,19.6-7,22.2-16.8
C62.5,38.3,57,31.4,46.8,31.4z M39.4,59.5h-7.1c-0.5,0-0.8-0.4-0.7-0.9l5.9-21.9c0.1-0.5,0.6-0.8,1-0.8h7c6.7,0,10.6,4.9,8.7,11.9
C52.3,54.7,46,59.5,39.4,59.5z"/>
<path id="I" fill="#FFFFFF" d="M68.7,64.9h4.3c0.5,0,0.9-0.4,1-0.8l8.7-32.5c0.1-0.5-0.2-0.9-0.7-0.9h-4.3c-0.5,0-0.9,0.4-1,0.8
L68,63.9C67.9,64.4,68.2,64.9,68.7,64.9z"/>
<path id="G" fill="#FFFFFF" d="M112.7,36c3.2,0,6.3,1.2,8.3,3.3c0.3,0.3,0.9,0.3,1.2-0.1l3-2.9c0.4-0.4,0.4-0.9,0.1-1.3
c-2.6-2.6-6.7-4.2-11.2-4.2c-10.3,0-20.2,7.4-22.8,17.1c-2.6,9.7,3.3,17.2,13.3,17.2c4.5,0,9.6-1.7,14-4.2c0.3-0.2,0.5-0.4,0.5-0.7
l3-11.3c0.1-0.5-0.2-0.9-0.7-0.9h-7.4c-0.3,0-0.7,0.2-0.9,0.5l-2.4,3.3c-0.4,0.6-0.1,1.3,0.5,1.3l3.4,0.1c0.5,0,0.8,0.4,0.7,0.9
l-0.8,3.1c-0.1,0.3-0.3,0.6-0.6,0.7c-2.6,1.3-5.5,2.1-7.9,2.1c-6.9,0-11-5.3-9.1-12.1C98.8,41.3,105.7,36,112.7,36z"/>
<path id="I2" fill="#FFFFFF" d="M135,64.9h3.6c0.5,0,0.9-0.4,1-0.8l8.5-31.8c0.1-0.5-0.2-0.9-0.7-0.9h-3.6c-0.5,0-0.9,0.4-1,0.8
l-8.5,31.8C134.2,64.4,134.5,64.9,135,64.9z"/>
<path id="T" fill="#FFFFFF" d="M161.1,35.9h8.8c0.5,0,0.8,0.4,0.7,0.9l-7.3,27.1c-0.1,0.5,0.2,0.9,0.7,0.9h4.3c0.5,0,0.9-0.4,1-0.8
l7.3-27.3c0.1-0.5,0.6-0.8,1-0.8h9c0.5,0,0.9-0.4,1-0.8l0.8-2.8c0.1-0.5-0.2-0.9-0.7-0.9h-25.7c-0.5,0-0.9,0.4-1,0.8l-0.8,2.8
C160.3,35.5,160.6,35.9,161.1,35.9z"/>
<path id="A" fill="#FFFFFF" d="M219.1,47.5l-2.8-15.6c-0.1-0.3-0.3-0.6-0.7-0.6h-4.7c-0.3,0-0.7,0.2-0.9,0.5l-11.4,15.8
c-0.2,0.3-4.5,6.5-4.9,7.1l-6.4,8.9c-0.4,0.6-0.1,1.3,0.5,1.3h4c0.3,0,0.7-0.2,0.9-0.5l7.3-10.5c0.2-0.3,0.5-0.5,0.9-0.5h12.6
c0.4,0,0.6,0.2,0.7,0.6l1.7,10.3c0.1,0.3,0.3,0.6,0.7,0.6h4.2c0.6,0,1.2-0.6,1.1-1.2l-1.6-9L219.1,47.5z M204.8,46.8l5.5-7.9
c0.5-0.7,1.5-0.6,1.6,0.1l1.2,7.9c0.1,0.6-0.5,1.2-1.1,1.2h-6.7C204.7,48.1,204.4,47.4,204.8,46.8z"/>
<path id="L" fill="#FFFFFF" d="M244.6,58.6l7-26.3c0.1-0.5-0.2-0.9-0.7-0.9h-4.3c-0.5,0-0.9,0.4-1,0.8l-8.5,31.8
c-0.1,0.5,0.2,0.9,0.7,0.9h18.8c0.5,0,0.9-0.4,1-0.8l1-3.6c0.1-0.5-0.2-0.9-0.7-0.9h-12.6C244.8,59.5,244.5,59.1,244.6,58.6z"/>
</g>
<g id="the">
<path class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c0.5-1.3,2.6-4.9,4.3-7.2C186.6,76.3,186.2,76.4,185.9,76.4z"/>
</g>
<g id="outline">
<polyline id="wireRight" class="st7" points="65.8,14.8 287.6,14.8 270,80.8 198.8,80.8 "/>
<polyline id="wireLeft" class="st7" points="81.8,80.8 2.6,80.8 19.6,14.8 32.8,14.8 "/>
</g>
</svg>
jQuery("#wireRight")
.delay(1000)
// .velocity("forwards")
.velocity({
strokeDashoffset: 0
}, {
duration: 800
}, "easeInOutQuart");
jQuery("#wireLeft")
.delay(1000)
// .velocity("forwards")
.velocity({
strokeDashoffset: 0
}, {
duration: 1200
}, "easeInOutQuart");
var letterDuration = 0;
jQuery("#D")
.delay(200)
//.velocity("forwards")
.velocity({
opacity: 1,
fill: "#ffffff",
scale: "110%"
}, {
duration: letterDuration
}, "easeInElastic")
.velocity({
scale: "100%",
}, {
duration: 200
}, "easeInElastic");
jQuery("#I")
.delay(325)
// .velocity("forwards")
.velocity({
opacity: 1,
height: "100%",
width: "100%",
scale: "105%",
fill: "#ffffff"
}, {
duration: letterDuration
}, "easeIn")
.velocity({
scale: "100%",
}, {
duration: 200
}, "easeInElastic");
jQuery("#G")
.delay(450)
// .velocity("forwards")
.velocity({
opacity: 1,
fill: "#ffffff",
scale: "105%"
}, {
duration: letterDuration
}, "easeIn")
.velocity({
scale: "100%",
}, {
duration: 200
}, "easeInElastic");
jQuery("#I2")
.delay(575)
// .velocity("forwards")
.velocity({
opacity: 1,
fill: "#ffffff",
scale: "105%"
}, {
duration: letterDuration
}, "easeIn")
.velocity({
scale: "100%",
}, {
duration: 200
}, "easeInElastic");
jQuery("#T")
.delay(700)
// .velocity("forwards")
.velocity({
opacity: 1,
fill: "#ffffff",
scale: "105%"
}, {
duration: letterDuration
}, "easeIn")
.velocity({
scale: "100%",
}, {
duration: 200
}, "easeInElastic");
jQuery("#A")
.delay(825)
// .velocity("forwards")
.velocity({
opacity: 1,
fill: "#ffffff",
scale: "105%",
}, {
duration: letterDuration
}, "easeIn")
.velocity({
scale: "100%",
}, {
duration: 200
}, "easeInElastic");
jQuery("#L")
.delay(950)
//.velocity("forwards")
.velocity({
opacity: 1,
fill: "#ffffff",
scale: "105%"
}, {
duration: letterDuration
}, "easeIn")
.velocity({
scale: "100%",
}, {
duration: 200
}, "easeInElastic");
jQuery(".logo")
.delay(600)
.velocity({
scale: "110%"
}, {
duration: 2000
}, "easeInElastic");
jQuery("#the, #department")
.delay(1800)
.velocity({
opacity: 1,
scale: "95%"
}, {
duration: 1000
}, "easeIn");
@import "bourbon";
@import "neat";
$red: #EF7B47;
$white: #f1f1f1;
$gray: #7accc8;
$black: #212121;
body {
text-align: center;
padding: 5em;
background: $black;
}
.logo {
width: 300px;
margin: 0 auto;
/* @include transform(scale(50%)); */
/* @include transform(scaleY(50%)); */
}
#wireLeft, #wireRight {
fill: none;
stroke: $red;
stroke-width: 4;
stroke-miterlimit: 10;
}
#wireLeft {
stroke-dasharray: 200;
stroke-dashoffset: 200;
}
#wireRight {
stroke-dasharray: 365;
stroke-dashoffset: 365;
}
#D, #I, #G, #I2, #T, #A, #L {
opacity: 0;
/* @include size(50%); */
@include transform(scale(150%));
}
#the, #department {
opacity: 0;
fill: $gray;
@include transform(scale(110%));
@include transform-origin(center center);
}
#department {
stroke: $gray;
stroke-width: 0.25;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment