Hyperspeedcube icon indicating copy to clipboard operation
Hyperspeedcube copied to clipboard

replay file viewer

Open JosieElliston opened this issue 10 months ago • 0 comments

replay file viewer

this spec is very much in progress. this might be conflating the keyframe-enabled viewer of the ~video, video generator, and log file format/contents

use cases / requirements

  • a typical speedsolve should be restored losslessly
    • but mouse may be lost?
  • view a speedsolve for verification
    • should look like a screen recording
  • view a speedsolve for learning
    • allow for slowly stepping through
  • view a fmc solve
    • ie without move timestamps
  • view a log with hsc 1 amounts of information
    • all information (other than puzzle and moves?) is extra

components

TODO: time between non time stamped twists depends on whether they're in a macro?

timeline

  • on the bottom, have a full timeline
  • above that, have a ~10 second view into the full timeline
    • to change subtimeline's interval, on the highlighted part in the full timeline, drag the edges to change the duration, drag the middle to change where it's centered
  • each timeline has keyframes
    • key up/down
    • twist
    • filter change
    • session change

playback

  • pause / play
  • speed up / slow down

menu: advance/step

  • buttons for prev / next
  • shift for 5x / control for 10x
  • advance by time
    • frame (10ms)
    • second
    • minute
    • hour
  • advance by event/keyframe
    • key up/down (hidden by default?)
    • twist
    • macro? (hidden by default?)
    • filter change
    • session change (hidden by default?)

JosieElliston avatar Feb 20 '25 03:02 JosieElliston