[ Launch: sin waves ] 9943424 by roundrobin
See Previous Inlet [ Gist ]
-
-
Save roundrobin/9943424 to your computer and use it in GitHub Desktop.
SVG loading indicator
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
{"editor_editor":{"coffee":false,"vim":false,"emacs":false,"width":600,"height":300,"hide":false},"description":"SVG loading indicator","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"_.md":{"default":true,"vim":false,"emacs":false,"fontSize":12},"config.json":{"default":true,"vim":false,"emacs":false,"fontSize":12},"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"inlet.svg":{"default":true,"vim":false,"emacs":false,"fontSize":12},"test.css":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"period","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01,"thumbnail":"http://i.imgur.com/HnvJhqt.png","ajax-caching":true} |
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
var group = g.append("g") | |
.attr({ | |
"class": "char" | |
}) | |
var circ = group.append("circle") | |
.attr({ | |
"r" : 40, | |
"cx" : 200, | |
"cy" : 200, | |
"fill": "#009098" | |
}); | |
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
@-webkit-keyframes glow { | |
0% { -webkit-transform: scale(1); } | |
100% { -webkit-transform: scale(1.5); } | |
} | |
.char { | |
-webkit-animation-name: glow; | |
-webkit-animation-duration: 0.8s; | |
-webkit-animation-timing-function: cubic-bezier(0.330, 0.005, 0.575, 0.995); | |
-webkit-animation-iteration-count: 20; | |
-webkit-animation-direction: alternate; | |
-webkit-animation-fill-mode:forwards; | |
-webkit-transform-origin: 50%; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment