Frames Per Second

Published by Jenny Fieldings in

Create a function that returns the number of frames shown in a given number of minutes for a certain FPS.

Examples

frames(1, 1) ➞ 60

frames(10, 1) ➞ 600

frames(10, 25) ➞ 15000

Notes

FPS stands for "frames per second" and it's the number of frames a computer screen shows every second.

Watch a quick demo on how Edabit works.