usernolan
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by usernolan
-
-
Really appreciate the feedback @GreenSock!
I’ll try more deliberate point dragging, which is a great idea, and may also take a shot at the more advanced approach too. It’s a good reason to learn more about SVG internals. In any case it’s great to know that something like that may call for going lower level.
- 1
-
-
Hi there!
This might be more of an SVG composition question than an MorphSVGPlugin question, but hoping someone might be able to lend some tips on achieving the right effect for this:
See the Pen qBdZxJO by nolan330 (@nolan330) on CodePen
In the pen, you might notice that the morph "primarily" expands the pentagon into the dodecagon, with the triangle and square sort of collapsing ("merhhhh...") into single points respectively. I'm wondering how I might be able to refine the morph, perhaps using
shapeIndex
or tweaking the SVG itself, so that the 3 independent shapes more "equally" contribute to the final dodecagon. (I apologize I don't have a more precise vocabulary for this!)The idea was that 3 + 4 + 5 = 12 (points), and 2 * 2 * 2 = 8 (stroke, who knew stroke grew exponentially!?), so the 3 original closed shapes might sort of compose smoothly into the final dodecagon. I think it could look pretty neat if configured correctly, but it seems like it will depend on a more clever path for the 3 independent shapes.
So far, I've tried kind of a "cheat", where the shapes are just one continuous line, but I think it could still be improved:
See the Pen LYVNQmp by nolan330 (@nolan330) on CodePen
I also tried changing the
shapeIndex
on the continuous line, but it doesn't seem to significantly impact the outcome:
See the Pen oNXxEyb by nolan330 (@nolan330) on CodePen
In any case, any tips or feedback welcome! And I apologize if this is more of a SVG fundamentals question/unfit for the forum.
-nolan
-
I'm brand new to GSAP, and this resonated deeply with me as yet another goof typing at a beep-bop. This is the first time in a long while I've been so wildly excited by a technology, and even more so by its community and technological periphery. Looking forward to being a part of it.
- 2
SVG/MorphSVGPlugin Tips
in GSAP
Posted
Using a fill makes it a little easier to orchestrate something that starts to make sense:
See the Pen yLNJZJP by nolan330 (@nolan330) on CodePen
Getting close enough for what this will be used for, for now. If anyone catches anything similar or related, I'd love to see it!