727 questions
0
votes
0
answers
14
views
Animating Svg path in the desktop compose app flickers without actually rendering anything. Why?
I am trying to create a path animation of Svg in the desktop compose app.
fun SvgDocument.drawCompletedFills(buildPaths: List<BuildPath>, drawScope: DrawScope, canvas: Canvas, targetLength: ...
2
votes
1
answer
90
views
Is there a way to check if an animation is playing on an SVG
I have an issue with an SVG that shows an ugly default state prior to the anim starting.
I had hoped I could set the visibility of the SVG to hidden then check the SVG anim status is playing using js ...
0
votes
1
answer
64
views
How can I prevent SVG elements from overflowing?
I have an SVG map of Africa, and I want to embed a second SVG within it. However, I’m unable to do so due to an overflow issue. I suspect that I might be facing a clipping or masking problem. Since ...
0
votes
1
answer
91
views
Need Help Recreating Fluid Box Animation from Flecto.io/About
I’m trying to recreate the box animation from Flecto.io using GSAP in this CodePen: https://codepen.io/sleepylala/pen/raNWYJy
HTML CODE:
<body>
<div class="about-header">
...
1
vote
1
answer
72
views
SVG animation height
I tried doing a height animation so the bars from my diagram go from 100% height to 30% and then back to 100%. I thought i could just do it with the attribute "height" but apparently not. ...
2
votes
1
answer
69
views
How can I simulate firefox animation behaviour on chrome when using calcMode="linear"?
I have two charts, the first one plots two functions, predators and prey. Each containing a circle with an animateMotion that goes along the function path.
The other chart is a phase curve generated ...
0
votes
0
answers
126
views
How to control the sequence of SVG animations in a single quarto slide?
I have an SVG file with multiple, sequential animations (1. an arrow appears from left to right; 2. a tirangle grows while changing color; 3. the triangle now shrinks).
I want to include the animated ...
0
votes
2
answers
70
views
How to toggle specific <animate> tags from an <use> element (SVG)
Given the following example:
<svg xmlns="http://www.w3.org/2000/svg">
<defs>
<rect id="rectangle" fill="red" width="25" height="25">
<animate
...
0
votes
1
answer
61
views
How to increase the stroke height of spinning circle SVG (How to make it thicker)
I am trying to increase the thickness of this spinning SVG circle. I don't know if it's stroke height or something. I've tried all I can but seems the SVG editor in site doesn't include the option to ...
0
votes
1
answer
72
views
svg inline css animation keyframes timing
I want to make an animated svg logo using css animation with keyframes.
The animation works well, but I can not find a way to properly time the keyframes.
I want to achieve the below timeline:
step 1:...
1
vote
2
answers
143
views
how to make SVG motion move position in a perfect sine(t) in 1 axis
I'm trying to make an object in an animated SVG image move in a perfect sine motion in one axis (up and down or left and right). For instance: x(t) = a + b * sin(t * 2PI*f)
(I'm also trying to animate ...
1
vote
1
answer
145
views
How to do svg laser pointer in js. like one in excalidraw or google slides?
I trying to create a mouse trail using svg path elements.
used beziers for smoothening but somehow smoothening is not good.
can some one help me with this.
const smoothing = 0.10;
function line(...
2
votes
1
answer
348
views
Is there a way to make an svg circular progress bar using stroke dasharray? [closed]
I have been trying to recreate this progress bar, but I have been stuck to the step where I can implement the dashes between the line. If you have any ideas it would be great.
This is what i have ...
0
votes
0
answers
17
views
Is there a way to set the inital position of the animatable objects in the specific path before they start moving along this path?
I want to set the animatable objects one by one with a certain gap on a specific path before they start moving, like the visual effect in the following picture. I tried to Google it, but I failed. I ...
0
votes
1
answer
84
views
Continous svg animation of a polyline
I have the following code (in TypeScript) that creates a polyline (based on 4 differents points x1y1, xCy1, xCy1, x2y2, where Xc is the half distance between x1 and x2 on a plane), so it is not a ...
1
vote
1
answer
549
views
how to convert my animated SVG in to GIF fromat
I didn't found any efficient solution right now,
I'm able to do it with puppeteer and FFmpeg but it takes time and
also did not get the resolution that I wanted.
currently, this approach launches svg ...
0
votes
1
answer
78
views
Why doesn't animate inside a linearGradient referenced by another linearGradient work?
Sample SVG:
<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140">
<linearGradient id="reuseme" gradientUnits="userSpaceOnUse" spreadMethod="reflect">
<stop offset="0"...
0
votes
1
answer
91
views
How can I animate the gradient of this SVG to cycle from red to blue, top to bottom repeatedly?
How can I change this SVG so that the gradient cycles from top to bottom continuously such that when the red is dropping off the bottom, it is appearing from the top and when the blue is dropping off ...
1
vote
1
answer
1k
views
SVG transform animations won't work in Safari
I've got a simple animated SVG that works great in Chrome/Firefox but it doesn't animate at all in Safari. I understand this is due to SVG 1.1 vs. 2.0 (Safari doesn't yet support 2.0) , and that ...
-1
votes
1
answer
60
views
Hover & Click on overlapped SVG's
I have a div with several SVG's textPaths that are overlapped with a position absolute. The problem is that I can hover and click in all of them in Google Chrome, but not in Safari (the ...
0
votes
2
answers
94
views
Trinity knot svg
I want to make a trinity knot infinite animation loop right now I am stuck with an infinite loop animation I just want to add one knot on top so the logo looks like a trinity knot. I am a beginner on ...
0
votes
1
answer
58
views
Safari does not show the svg
I have an svg code in my index.html file but it doesnt appear on Safari. I tryed differend solutions those are not working for me
<svg class="blob" viewBox="0 0 500 500" xmlns="http://www.w3....
1
vote
2
answers
251
views
How to Create Hand-Drawn SVG Animation with a Mask
I'm trying to create the below SVG animation with a mask. I have tried with CSS stroke properties, but I cannot get it the way I want.
Here is the W-shaped SVG I have created.
path {
stroke: ...
1
vote
0
answers
522
views
How to completely animate pathLength of svg to 0 in framer-motion?
I am trying to animate a svg path to disappear on click. The animation works, but at the end of the animation a dot is left behind.
Here is my code
export default function App() {
const [...
0
votes
0
answers
30
views
SVG: How to re-use animated symbol with <use> while varying animation attribute [duplicate]
Trying to develop some SVG icons as procedurally as possible, thought I'd start with something simple: a fading ellipsis. Got as far as defining and cloning a comprising a circle with animated ...