* const defer = useDefer()
function useDefer(maxFrameCount = 1000, stepSize = 1) {
const refreshFrameCount = () => {
requestAnimationFrame(() => {
if (frameCount >= maxFrameCount) {
return function (showInFrameCount) {
return frameCount >= showInFrameCount;