deno run --allow-hrtime <script>
Use --allow-hrtime
to increase runtime precision of a render loop.
Copyright © 2024 Chance Snow. All rights reserved. Copyright © 2020 Joel. All rights reserved.
Adapted from the render_loop
Crystal library, licensed under the MIT License.
Informed by Robert Nystrom's book, Game Programming Patterns.