Opened 10 years ago

Last modified 9 years ago

#3658 new defect

XOs (and all icons) in Neighborhood should reposition smoothly

Reported by: Eben Owned by: marco
Priority: normal Milestone: 9.1.0-cancelled
Component: sugar Version:
Keywords: 9.1.0:? Cc:
Blocked By: Blocking:
Deployments affected: Action Needed:
Verified: no


Once we have grouping properly working, and it's in early stages now, we need to make sure that XOs don't jump around the screen seemingly unpredictably. Instead, they should glide across the view into a new position, so that a child observing the mesh sees fluid (or close to it) movement instead of "flashing" XOs. This can happen in surprisingly few frames while still reading clearly.

In the early mockups I used a "naive" ease-out algorithm in the form of:

curr_position += (target_position - curr_position)*k

where k is in range (0, 1), defining how fast it reaches target_position, with 1 meaning immediately and 0 meaning never. It might be better to use a sinusoidal curve instead, so the XO accelerates both into and out of the move, but that might take a few more frames.

Change History (2)

comment:1 Changed 10 years ago by jg

  • Milestone changed from Untriaged to V1.1

comment:2 Changed 9 years ago by marco

  • Keywords 9.1.0:? added
  • Milestone changed from Future Release to 9.1.0
Note: See TracTickets for help on using tickets.