588 questions
0
votes
1
answer
90
views
Motion React cascading animation
I am trying to make a hamburger dropdown with animations on each of the menu options. Unfortunately, I have a problem with the exit animation.
I don't know how should I implement it, but what is ...
0
votes
0
answers
50
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 ...
2
votes
3
answers
280
views
Axis motion with dynamically changing position and velocity
I’m working on a project where I need to control an axis with dynamically changing velocity and target position. In the standard motion function blocks such as MC_MoveAbsolute and MC_MoveRelative, ...
1
vote
0
answers
26
views
Frame Motion Animation
I have a scrollable element horizontal, I want to start the animation even they are hidden on x-axis, I want to detect my element if they visible on Y-Axis only I am using frame motion, I tried put ...
0
votes
0
answers
72
views
useScroll + useSpring = refresh issue with React Motion
When using useScroll and useSpring in Motion.
If you have some scroll progress then, on page refresh :
The animation restarts and animate progressively to match scroll value,
instead of directly be on ...
0
votes
0
answers
22
views
If I pass a NodeListOf<HTMLElement> to the Motion's InView function, is an Intersection Observer created for each Element or is a general one created?
I am working with Motion's InView function to detect different elements within the ViewPort, so I am currently giving it a NodeListOf.
When I do this, it creates a general Intersection Observer, one ...
1
vote
1
answer
225
views
Motion not recognizing global.css variables
I am trying to animate some things using Motion (previously Framer Motion) for React (19) in a NextJS 15 project.
The problem is, that I cannot apply the colors defined in the global.css file in ...
0
votes
0
answers
244
views
Framer Motion useScroll does not work when container prop is declared
Basically, when useScroll is used on its own without attaching the container prop, it detects the scroll and changes the motion value. But I do not want this because it detects the entire page.
I just ...
1
vote
1
answer
146
views
Trigger animation when another starts in motion
I am using motion to animate a background color whenever the variable colorHex changes, which works nicely. I would also like to scale up and back down each time the color changes. For this I've used ...
1
vote
0
answers
127
views
How to apply sensor data to three.js model for simple motion capture
I have an issue currently about a small motion capture project.
I have a list of sensor data comes from real world (simply bind on arms and legs and chest, only 5 of them), and the data is already ...
0
votes
1
answer
165
views
Python - Kalman Filter (Unscented) not working corretly
I am trying to implement a Kalman Filter which is used to filter calculated values of Speed, Heading, Acceleration and Yaw Rate. I also use the Kalman Filter to predict future values and use those to ...
1
vote
2
answers
116
views
How can I fit my data better or shift my data? My fit is way below my data
We had to motion detect a pendulum by filming it,track the pendulum with a given software and store the t,x and y values in a txt-file. Since my hands were very shaky, the graph is very shaky (image ...
1
vote
1
answer
59
views
How are images and src links stored as variables to be selected in JS?
Attempting to create functionality for an image selector carousel
functionality of image selector:
- click an img in container below main image
- clicked img displays in main image container
- ...
1
vote
0
answers
48
views
How to implement a random natural motion for a single particle?
I have a Drone class implemented as a Thread that is called from a Map class and every X milliseconds the movement() function of the Drone class is called to update the position and show it on the map....
4
votes
2
answers
4k
views
How to setup the initial value with framer motion useAnimate hook
The motion component has an initial prop:
<motion.div
initial={{ x: "100%" }}
animate={{ x: "calc(100vw - 50%)" }}
/>
while using useAnimate with useInView hook:
const [...
0
votes
1
answer
1k
views
Motion Eye wont Toggle Motion Detection through Web Control
INFO
I have a Raspberry Pi 4 setup with Raspberry Pi OS Lite (64 bit) (Debian Bullseye port). On top of that, I followed this guide to install Motion Eye.
https://github.com/motioneye-project/...
0
votes
0
answers
287
views
Framer motion and Next JS Bug, animations always show on top
Im having a problem with Framer motion and NextJS,
I have an animated Logo, and also have a menu as a modal, but when the modal is activated the Logo always show on top, this is happening for every ...
0
votes
1
answer
394
views
How to change axis velocity during Gcode operation
Good work everyone,
I have been working on a 3 axis CNC machine for a while. A lot of things are going great! But I couldn't find how to increase or decrease the axis speeds while processing the g ...
1
vote
0
answers
24
views
Should two separate COM devices be placed into the same thread?
I'm looking to control a motion controller with a joystick. Should I place the Joystick in the same thread as the motion controller or place it in its own thread?
Currently I have a UI that send ...
0
votes
0
answers
110
views
Animating organisms motion with matplotlib
I am trying to create an organism evolution simulation with python. I have just started, so I am only at the very beginnig and I already failed miserably.
I have created the class for organism and the ...
-1
votes
1
answer
28
views
What does the else statement changing the counter do?
My instructions are to track a person's motion forward and backward (every step they take). Total steps are generated from 10-85, forward and backward steps max range is between 2-20. Forward steps ...
-1
votes
1
answer
164
views
How can I print the number of steps forward, backward, and total?
Here's my code:
import math
import random
while True:
fwd= random.randint(2,20)
bkwd= random.randint(2,fwd)
total=random.randint(10,85)
f= 0
b = 0
t= 0
if bkwd > fwd:
...
1
vote
0
answers
14
views
Where can I get instructions on creating this impression of motion on the web?
IMO It has the appearance of a Hover effect. I'm sorry I haven't figured it out; could you assist me in finding the answer using this gif?
0
votes
0
answers
360
views
Get Humanoid Motion data in npy format
I am using pybullet as 3d engine to my project of redoing my own algo, that make a humanoid learn to do some motion. for my algo i need a dataset of motion, like deepmimic and amp algo need. so i need ...
1
vote
1
answer
235
views
Inconsistency in ODE solution using solve_ivp when adding events
I am using scipy.solve_ivp to solve an ODE in a loop, such that in every iteration I change some term in the ODE (which is like the force applied).
In terms of my problem - I just cant seem to ...