# data[].attributes.body
Create svg in the format of the island, when the user hovers, it goes to the perspective of the island.

# data[].attributes.attachment_link.title
Loader by Nawsome made with CSS | Uiverse.io

# data[].attributes.attachment_link.description
This Loader was posted by Nawsome. Tagged with: loader. You can create your own elements by signing up with GitHub.

# data[].attributes.attachment_link.title
Loader by JkHuger made with CSS | Uiverse.io

# data[].attributes.attachment_link.description
This Loader was posted by JkHuger. Tagged with: loader. You can create your own elements by signing up with GitHub.

# data[].attributes.attachment_link.description
Creative developer living in Paris, freelancer, former lead developer at Immersive Garden, former developer at Uzik and teacher.

# data[].attributes.attachment_link.title
Loader by Nawsome made with CSS | Uiverse.io

# data[].attributes.attachment_link.description
This Loader was posted by Nawsome. Tagged with: 3d, loader, cube. You can create your own elements by signing up with GitHub.

# data[].attributes.attachment_link.title
Loader by Nawsome made with CSS | Uiverse.io

# data[].attributes.attachment_link.description
This Loader was posted by Nawsome. Tagged with: loader. You can create your own elements by signing up with GitHub.

# data[].attributes.attachment_link.title
Loader by alexruix made with CSS | Uiverse.io

# data[].attributes.attachment_link.description
This Loader was posted by alexruix. Tagged with: loader. You can create your own elements by signing up with GitHub.

# data[].attributes.attachment_link.title
Loader by doniaskima made with CSS | Uiverse.io

# data[].attributes.attachment_link.description
This Loader was posted by doniaskima. Tagged with: simple, material design, loader. You can create your own elements by signing up with GitHub.

# data[].attributes.attachment_link.title
Loader by NourSafta made with CSS | Uiverse.io

# data[].attributes.attachment_link.description
This Loader was posted by NourSafta. Tagged with: circle loader, cool loader. You can create your own elements by signing up with GitHub.

# data[].attributes.attachment_link.title
Loader by EddyBel made with CSS | Uiverse.io

# data[].attributes.attachment_link.description
This Loader was posted by EddyBel. Tagged with: loader. You can create your own elements by signing up with GitHub.

# data[].attributes.attachment_link.title
Loader by JkHuger made with CSS | Uiverse.io

# data[].attributes.attachment_link.description
This Loader was posted by JkHuger. Tagged with: animation, loader, text. You can create your own elements by signing up with GitHub.

# data[].attributes.body
https://uiverse.io/Shoh2008/hot-dragonfly-11

# data[].attributes.attachment_link.readable_text
I bet all of you have seen that little trick where an SVG path is animated to look like it's drawing itself. It's super cool. Jake Archibald pioneered the technique and has a super good interactive blog post on how it works. Brian Suda wrote about it on 24 Ways. Polygon used it to great effect on a custom-designed article and wrote about it. Codrops has some neat examples.

I have very little to add, except my brain just kinda figured it out, so I thought I would explain it one more time the way it clicked for me.

1. You have an SVG shape

2. The shape must have a stroke

3. Strokes can be dashed

We could do that from Illustrator, but we can also do it programmatically. Let's target the path with CSS (assuming we're using inline SVG here, or via an <object>) and apply the dash that way.

.path { stroke-dasharray: 20; }

That gives us dashes of 20px in length.

.path { stroke-dasharray: 100; }

Watch as we animate the offset of those long strokes:

That was a simple as:

.path { stroke-dasharray: 100; animation: dash 5s linear; } @keyframes dash { to { stroke-dashoffset: 1000; } }

Nothing really to see, it looks just like the complete shape if it wasn't dashed at all. You just need to make stroke-dasharray a longer value than the length of the stroke.

It will look like the shape isn't there at all.

If doing it with CSS, you'll want the animation to have animation-fill-mode of forwards so the final state remains how the animation ends.

.path { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: dash 5s linear forwards; } @keyframes dash { to { stroke-dashoffset: 0; } }

Tada!

So why all the JavaScript?

Most of the examples you see of SVG line animations use JavaScript. That's because it's hard to know what the length of that stroke actually is. We just used 1000 in our example because that happens to be about the right length.

You can get that length in JavaScript like:

var path = document.querySelector('.path'); var length = path.getTotalLength();

Then use it however you will. Those articles I linked to at the top go far more into all this, so I'll let you consult those for more fancy stuff. I just wanted to cover the concept so perhaps it can click for you too.

There is a trick as well! Check out A Trick That Makes Drawing SVG Lines Way Easier.

# data[].attributes.attachment_link.title
How SVG Line Animation Works | CSS-Tricks

# data[].attributes.attachment_link.description
I bet all of you have seen that little trick where an SVG path is animated to look like it's drawing itself. It's super cool. Jake Archibald pioneered the

# data[].attributes.body
Text animation switching the words with my skills (ux, ui, threejs, createjs, etc.)

# data[].attributes.body
Create a loading bar in the perspective of the island

# data[].attributes.body
Create an abstract svg and apply perspective of the island

# data[].attributes.body
J'ai décidé de partir sur un loader pour mon portfolio (en construction).

Comme le portfolio utilise le ThreeJS, il est nécessaire de créer un écran de chargement pour donner du temps à l'expérience Webgl de charger tout les éléments en 3D.

# data[].attributes.attachment_link.title
Smooth as Butter: Achieving 60 FPS Animations with CSS3

# data[].attributes.attachment_link.description
Animating elements in your mobile applications is easy.