Skip to main content
-3 votes
0 answers
22 views

Optimizing weather animations (snow/rain/stars) for mobile - alternatives to 100+ CSS animated elements? [closed]

I'm building a weather-themed portfolio with interactive animations that must maintain performance on mobile devices (≥ iPhone 8/Android 9). While I've made optimizations, I'm hitting performance ...
Oyemahak's user avatar
0 votes
1 answer
50 views

How to hide background of matchedTransitionSource?

How can I hide the background of an animated NavigationLink while using the swipe-to-go-back gesture? Here's what I currently have: and what I want it to look like: similar to the iOS Photos app. I'm ...
routern's user avatar
  • 17
-1 votes
2 answers
76 views

Parameter not found although present in function call (don't understand the syntax) in python [closed]

This code does not compile and it gives an error message: TypeError: update() missing 1 required positional argument: 'posY' Why is it missing posY although I have given this parameter to the function?...
Manuel Lenz's user avatar
-4 votes
0 answers
32 views

Some questions about backgrounds in Manim, like whether they can be dynamic [closed]

I have been playing around with Manim and I'm wondering what's the best way to display color patterns based on some logic. As an example, e.g. the Mandelbrot set or Julia sets can be visualized by ...
QuantumWiz's user avatar
0 votes
1 answer
73 views

Keep two view positions synchronized during animation

I have a questions about syncing view positions during an animation change. Here's the version I'm aiming for, but notice when the keyboard appears, the view height changes immediately with no ...
msadoon's user avatar
  • 145
0 votes
0 answers
19 views

Unity ReadObject in profiler causing spike for sprite animations

So it appears in the profiler that whenever one of our sprite animations is played for the first time, it causes a spike on the CPU as the sprite atlases are loaded into memory. This can cause a ...
TrashMachine's user avatar
0 votes
1 answer
29 views

Setting the initial frame on Lottie animation based on the theme from localStorage in React

I have a React component that implements a dark mode toggle using the following Lottie animation: https://lottiefiles.com/free-animation/button-switch-ui-AX5XJZQdq8 The animation has different frames ...
jacobadam's user avatar
0 votes
1 answer
22 views

Improving JavaScript Refresh Rate Estimation with `requestAnimationFrame` [duplicate]

I've written a simple JavaScript function to estimate the screen's refresh rate using requestAnimationFrame: let frameCount = 0; let startTime = performance.now(); let refreshRateEstimate = 0; ...
asmtilde's user avatar
0 votes
2 answers
87 views

A water animation with velocity heatmap and changing surface level in python

I am trying to make an animation of water from data I generated from a simulation. I have two datasets (Hraw and Uraw) with identical dimensions with x-coordinates and time coordinates. Uraw also ...
Darren Zammit's user avatar
0 votes
0 answers
53 views

Swift animation issue for creating a view pager

I have created a view pager and for showing a simple image banner but the issue is the animation is not working properly. the issue is the transition b/w image 0 to image 1 is very fast without a ...
Robin kumar's user avatar
0 votes
0 answers
66 views

Animation on Scroll - Intersection Observer Javascript not working in WordPress?

I'm trying to get animate.css to fire up a CSS animation when the CSS selector comes into view when scrolling down a page. The animations work fine at the top of the page - so that bit works okay. It'...
Brian's user avatar
  • 95
0 votes
0 answers
30 views

Build a full screen popup menu similar a iMessage App in SwiftUI

I'd like to create a full-screen popup menu similar to the iMessage app in SwiftUI. The button + invoke iMessage menu: https://youtube.com/shorts/NfcEq6A1noM?si=ahH0Sf8W4OgQlpJj This code opens the ...
Codelaby's user avatar
  • 2,951
0 votes
1 answer
51 views

FPS drop with Angular Gradient border during SwiftUI animation

I am adding a border and blur effect on a shape during an animation (root view appearing on page) and seeing FPS drops when using an AngularGradient as the color of the border. I dont see the drops ...
AntcDev's user avatar
  • 89
1 vote
1 answer
35 views

In Godot how can I make the animation wait a bit?

func Damage_animation() -> void: sprite.modulate = Color(1, 0.3, 0.3, 0.6) await get_tree().create_timer(2) sprite.modulate = Color(1, 1, 1, 1) This function is called when a bullet ...
Coshgun's user avatar
0 votes
1 answer
47 views

Can I play random attack animations without making state for each animation?

My player can use X weapons and for each weapon type I have X attack animations Is there is a way to change state’s motion in runtime? So I don’t need to create 4+ states for each attack animation ...
Ilya's user avatar
  • 393

15 30 50 per page
1
2 3 4 5
2991