Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Image draw and resize animation

$
0
0

@alessandroc wrote:

Hi,
I need to display a grid of thumbnails (of image).
When the user taps on a thumbnai I would like to perform the following animation:

  • the thumbnail shall move the center of the screen
  • the thumbnail size shall increase and the containing image shall be resize accordingly.

I’m using using the following ofImage method to perform the animation:

  • draw
  • resize

The animation is not so smooth and the problem is the resize method since, as I have read in this forum, is run on CPU.

I would like to know it there is an alternative approach in order to implement an animation as described above with a better perfomance.

Thanks
Alessandro

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles