Skip to content

Instantly share code, notes, and snippets.

@UuuNyaa
Created October 17, 2020 22:11
Show Gist options
  • Select an option

  • Save UuuNyaa/5e748f206b08e42d3347c334df2d131c to your computer and use it in GitHub Desktop.

Select an option

Save UuuNyaa/5e748f206b08e42d3347c334df2d131c to your computer and use it in GitHub Desktop.
import math
def estimate(start_frame, end_frame):
frame_count = end_frame - start_frame + 1
pickup_interval = int(math.ceil(frame_count / 16 / 10.0)) * 10
return [start_frame + pickup_interval * i for i in range(1,16)]
start_frame = 20070 # inclusive
end_frame = 50740 # inclusive
estimate(start_frame, end_frame)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment