mediamonkslabs / brush-strokes-frontend

0 stars 0 forks source link

Figure out about page animation #31

Open samsniderheld opened 5 years ago

samsniderheld commented 5 years ago

Figure out how to do about page animation and which indexes to use

samsniderheld commented 5 years ago

I've uploaded a new json file that contains 2000 encoded poses. These poses are from the larger training set, and they only appear in the desired portion of page. The file is called aboutPagePoses.json

When a user clicks on about page we should do the following:

  1. Clear current drawing / animations
  2. Pick random index from aboutPagePoses
  3. take that index and the next n number of frames according to the extra frames variable.
  4. Render all the frames
  5. pick another random index
  6. take that index and the next n number of frames according to the extra frames variable.
  7. lerp from last rendered frame to new generated frames
  8. return to step 5.

This is essentially how the normal loop works but with out user stroke input, and it uses a separate array of encoded poses. I'm unsure at this point whether or not to lerp to and from the animations in the basic drawing frames.