Skip to content

Commit

Permalink
Update infinite-floors.html for 2^53-1 floors
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnole25 authored Apr 22, 2024
1 parent bca2ccb commit 296bd58
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions infinite-floors.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@
</head>
<body>
<h1>(Practically) Infinite Floors</h1>
<p>Sorry if the title is misleading. This building has 1 quadrillion floors. At floor 25000, you enter space.</p>
<span>Floor </span><input type="number" id="floor" value=0 min=0 max=1e15>
<p>Sorry if the title is misleading. This building has 9007199254740991 floors. At floor 25000, you enter space.</p>
<span>Floor </span><input type="number" id="floor" value=0 min=0>
<canvas id="myCanvas" width="512" height="512"></canvas>
<script>
floor.max = Number.MAX_SAFE_INTEGER;
let c = document.getElementById("myCanvas");
let ctx = c.getContext("2d");
let space = 25000;
Expand Down

0 comments on commit 296bd58

Please sign in to comment.