19 questions from the last 30 days
5
votes
3
answers
126
views
Toggle switch with sliding background and labels of dynamic length
With Vue.js I'm trying to replicate this toggle button from TailGrids:
This kind of switch isn't among the TailGrids examples. I was able to reproduce the general style with Tailwind. I also found ...
-2
votes
5
answers
204
views
SVG <animate> rewind works in Firefox, not in Chrome
Here's a snippet where the user controls the progress of SVG <animate> using a slider. It works in Firefox. But in Chrome, after sliding it to the very end, sliding anywhere makes it go to the ...
3
votes
1
answer
261
views
Improving View.animate() performance on older Android versions
I'm developing an Android game that animates rectangular views moving horizontally across the screen using View.animate().translationX(...). The animation is just a plain rectangle moving left over a ...
2
votes
1
answer
83
views
Animate camera to set positions
I’m trying to rotate/position a camera to arbitrary views of a model using three.js.
https://jsfiddle.net/17gf8q6o/
Problem: some of the animations go through the model (e.g. from top to bottom), ...
0
votes
0
answers
166
views
Show specific frames of SVG animation
I have an SVG with <animate> elements. I can modify their attributes if necessary.
I want to let the browser play the <animate> elements as well as have the capability to seek to certain ...
1
vote
2
answers
86
views
AnimatedContent size change animation not working smoothly in Jetpack Compose dialog
I'm trying to animate a size change inside a Dialog in Jetpack Compose using AnimatedContent. The goal is to smoothly transition between two different UI states that have different heights. However, ...
0
votes
0
answers
74
views
Animation not animating correctly in assimp [closed]
I'm using assimp in my C game engine (which uses Vulkan) to try and animate a model but it's animating extremely weirdly. The animation implementation is based off the learnopengl.com skeletal ...
2
votes
1
answer
76
views
A sequence of two FromToByAction does not behave as expected
Similar to this question, I have an issue with the use of sequenced animations in RealityKit.
I have the following function:
func openSlider(duration: TimeInterval, stayingOpenFor: TimeInterval) {
...
0
votes
0
answers
68
views
Custom infinite carousel animation starts to jitter and slow down after running smoothly for a bit
I am working on an an infinite carousel animation - animating the scroll of the parent element instead of the position of the elements. But after running smoothly for a bit the animation slows down ...
1
vote
1
answer
47
views
Trying to make an image rotate as it scales/moves between two different hierarchies with matchedGeometryEffect
Is this even theoretically possible?
The goal is for the globe to spin in 3D space as it transitions from one point to the other. The problem is that the way the views are, it would be arduous and ...
0
votes
1
answer
46
views
Python error when starting QGIS animation workbench plugin
I happily came across the "animation workbench" plugin for QGIS, because it seems to provide exactly, what I'm looking for: easy creation of animations of panning and zooming in maps.
...
-1
votes
0
answers
54
views
Why does SVG <animate> mix additive and non-additive principles [closed]
For SVG <animate> with a to attribute but no from attribute, the spec says:
the animation is defined to be a kind of mix of additive and non-additive.
and explains:
when you start the same ...
-1
votes
1
answer
53
views
Smoothing scroll animations in js
So my question is extremely simple, i see it on lots of websites
https://www.jordangilroy.com/#work
this one for example is my reference, when you scroll it feels alot smoother and the animations ...
1
vote
1
answer
98
views
Difference in behaviour between two RealityKit animation techniques
In the following two code blocks:
.generate
return try AnimationResource.generate(with: FromToByAnimation(from: DoorwaySegment.closedRotation,
...
1
vote
1
answer
41
views
Canvas Sketch is not rendering the specified colour
The code works perfectly, including the animation. But I'm unable to change the background colour to anything except black when using rgb, hex or hsl codes. Only way to change the background colour is ...
-1
votes
0
answers
29
views
White flash when switching tabs in Expo Router — even without animations [closed]
I’m building a React Native app using Expo Router, and I’ve run into a strange issue. Whenever I switch betwen tabs, there’s a brief white flash or fade, even if I turn off animations completely.
I've ...
0
votes
0
answers
33
views
Button animation: text gets cut off
I'm trying to create an interactive hover button using Motion that:
Shows idleText by default with a white background
On hover, reveals hoverText while animating the white background away using ...
0
votes
0
answers
41
views
How to use MTTransitions (MetalPetal) in SwiftUI for image transition? Only .none effect is working
I’m trying to use MTTransitions with SwiftUI to create image transitions using Metal. It works perfectly in UIKit, but when I try to integrate it into SwiftUI using UIViewRepresentable, only the .none ...
0
votes
0
answers
22
views
Flutter AutoRouter: Sharp jerk at the end of FadeTransition to nested route with transparent background
Problem
I'm using Flutter with AutoRouter to navigate between pages, and I observe a sharp jerk at the end of the animation when transitioning to a nested route (ScheduleLessonRoute). The issue does ...