Skip to main content

Questions tagged [animation]

-1 votes
2 answers
174 views

How are operating system animations displayed (concurrency)?

How are operating system animations displayed (concurrency)? E.g. window resizing. I've particularly always wondered about the concurrency aspect of it. Since the OS has to run many many things ...
mavavilj's user avatar
  • 495
2 votes
1 answer
940 views

Animations and React -- is it bad practice to mix them?

I have been in arguments with programmers that mixing elements with animations and react is very bad practice, and that all animations should be in a style sheet because that is something ...
Crow's user avatar
  • 121
2 votes
1 answer
669 views

C++ - How should I design my animation class?

I am working on my first sizable C++ program; a 2-D mario platformer remake. I currently have an animation class that encapsulates all of the functionality of my animations for all the bad-guys ...
Brandon Chatham's user avatar
-1 votes
1 answer
1k views

2D Animating in OpenGL [closed]

I am trying to animate a texture in OpenGL. I feel like it should be easy, as I know how to animate in SDL and other libraries but I am having trouble. I have a x,y,w,h that holds the texture ...
Mithreindeir's user avatar
0 votes
1 answer
88 views

Data structure for effects animation? [closed]

I'm making a prototype for a game. I'm working on effects at the moment, but more generally animation. Currently, I have list where newly spawned effects are added to. Then on the update section ...
user2738698's user avatar
1 vote
1 answer
578 views

Does requestAnimationFrame() really align with monitor refreshes?

Take this code: requestAnimationFrame(function (timestamp) { console.log('one', timestamp); }); requestAnimationFrame(function (timestamp) { console.log('two', timestamp); }); // logs: // "one",...
callum's user avatar
  • 10.5k
1 vote
0 answers
101 views

Approach for interruptible transition animations

I found it's very complex to manage transitional animations. For example, when changes to a model get reverted before the animations have completed, the animations for previous changes should stop and ...
Sherwood Wang's user avatar
0 votes
0 answers
45 views

Alternatives to browser based animations

I have developed a scrolling guide for a television company but attempting to use CSS animations, jquery animate, and velocity.js have all failed me. They work as intended but the animation is choppy ...
chadpeppers's user avatar
0 votes
2 answers
788 views

Looking to simulate the rolling of a ball around a roulette wheel, while the resulting number is already known

I want to make a roulette board with a ball spinning and landing on a certain field. The catch is that the field the ball will land on, is known beforehand. I want the animation to look somewhat ...
Qqwy's user avatar
  • 4,937
6 votes
2 answers
2k views

Design pattern for overlapping actions and animations?

Is there a design pattern for dealing with overlapping UI actions and animations? A few examples: Let's say I have an interactive table row that expands to reveal an extra control when the user clicks ...
Archagon's user avatar
  • 1,187
3 votes
1 answer
886 views

How do I cleanly design a central render/animation loop?

I'm learning some graphics programming, and am in the midst of my first such project of any substance. But, I am really struggling at the moment with how to architect it cleanly. Let me explain. To ...
GladstoneKeep's user avatar
1 vote
1 answer
326 views

Custom animation iOS

I have seen animation, and i can't figure out how to do something like in this video(youtube). I want to discuss how it's made. I don't think that they're using sprites. I have one idea how to do ...
Vlad Z.'s user avatar
  • 113
2 votes
3 answers
2k views

Animation in Swing

I have a project written using Swing, and I want to make it more smoothly (like JavaFX is) by adding animation to some components(JButton, JScrollPane, JSplitPane) using javax.swing.Timer. UPD: That ...
SeniorJD's user avatar
  • 123
3 votes
2 answers
625 views

Are animations and other eye candies considered non-functional requirements?

I've seen many lists on the internet that includes many 'ities' (maintainability, scalability, portability, etc), but I'm not sure if animations, screen transitions, and similar features are ...
Julio Rodrigues's user avatar
4 votes
2 answers
5k views

What's the best way to use requestAnimationFrame and fixed frame rates

I recently got into using the HTML5-requestAnimationFrame-API a lot on animation-heavy websites, especially after seeing the Jank Busters talk. This seems to work pretty well and really improve ...
m90's user avatar
  • 151

15 30 50 per page