2022 Developer Survey is open! Take survey.

Questions tagged [animation]

Animation is the rapid display of a sequence of visuals in order to create an illusion of movement or change.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
12 views

Creating an animation of seaborn plot takes ages when using more than one line/scatterplot

When creating an animation of a seaborn plot with more than one line / scatterplot it takes ages and I can't explain myself why it is that way. In my example data I have the moving data of different ...
user avatar
  • 9
0 votes
1 answer
14 views

Animate ViewBuilder content size change in SwiftUI

I am wondering how I can animate the content size of a ViewBuilder view. I have this: struct CardView<Content>: View where Content: View { private let content: Content init(@...
user avatar
  • 4,577
1 vote
2 answers
39 views

SwiftUI: remove view at animation end?

I have the following code: enum AnimationDirection { case opening case closing } struct AnimtionStateMod: AnimatableModifier { var progress: CGFloat = 0 private(set) var ...
user avatar
  • 15.3k
0 votes
0 answers
37 views

Keyframes opacity with image css [duplicate]

I have created a double sided box, that when you hover, shows the flip side. I have added in a keyframe that goes from opacity: 0 to opacity: 1 to create a fade effect on hover. It works to flip the ...
user avatar
1 vote
1 answer
20 views

Python function animation for two graphes (displayed after each other)

I have two data sets y1 = vol1 and y2 = vol2 for the same x range (0 to 5000 in steps of 10). I would like to use function animation in order to first animate y1 and after that animate y2 while the ...
user avatar
  • 25
0 votes
0 answers
9 views

SVG.js: How to set up animation but play it later (dynamically, e.g. on button click)?

I'm working with the SVG.js API for the first time. I'd like to set up an animation (i.e. define what shape to animate and how to animate it/what parameters to animate) but trigger/play it at an ...
user avatar
  • 713
0 votes
0 answers
6 views

Control vmin and vmax in Iris 'animate'?

Does anyone know how (if?) I can control the vmin and vmax of an Iris quickplot pcolormesh animation using iris.experimental.animate.animate? wind = iris.load_cube('/my/pp/file') cube_iter = wind....
user avatar
0 votes
2 answers
54 views

In SwiftUI how do I animate changes one at a time when they occur in a called method?

Although I get an animation when I tap the button, it's not the animation I want. The entire view is being replaced at once, but I want to see each element change in sequence. I tried in both the ...
user avatar
  • 4,287
0 votes
1 answer
16 views

Animate Textview continually

I want to animate a textview but it has to continue to animation all time until click the button. Now it works just for one time, how can implement for all time until clicked button? Animation: <?...
user avatar
0 votes
0 answers
12 views

Animation Is Interfering with Other View's Visibility Change in Android

I have two views in an android studio program, one that holds a custom drawable and a black view that overlays it. The point of the overlaying view is to transition from clear to opaque at need, ...
user avatar
  • 2,994
3 votes
2 answers
59 views

SVG continuous inwards square spiral animation with pure CSS/JS

I need some help with this kinda specific animation. It is a square spiral pattern that keeps going inwards until it's fully complete. I somewhat did manage to get it going but I don't know how to ...
user avatar
0 votes
2 answers
41 views

I want this message to be shown at intervals after first run

I made this welcome feature using HTML and CSS, which I want to display at intervals. --------------------------- What I want to achieve --------------------------- First, this feature should be ...
user avatar
1 vote
0 answers
32 views

How can I make animation with threads

I am trying to make a perpetual animationwith C#. However it crashes after some time (less than 30 seconds). I tried to use Application.DoEvents(), but it didn't work because (as I read somewhere) it ...
user avatar
  • 11
1 vote
1 answer
15 views

colorbar in matplotlib animation

I would like to add a colorbar to some data to make an animation. However, I keep on creating new color bars in the figure and don't know how to remove them. A reproducible example is: import numpy as ...
user avatar
2 votes
1 answer
25 views

Matplotlib save animaiton as video but get empty content

I am trying to make an animation with continue rotating an image, but the output video file has empty content(Only axis left), how to fix it? import math import numpy as np import matplotlib.pyplot ...
user avatar

15 30 50 per page
1
2 3 4 5
2881