Live page: slower time scale on phones so about 20 s of blocks stay on screen
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
309ac87990
commit
dc442b5701
5 changed files with 1 additions and 1 deletions
BIN
docs/design/live-dag/after-live-desktop.png
Normal file
BIN
docs/design/live-dag/after-live-desktop.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 316 KiB |
BIN
docs/design/live-dag/after-live-mobile.png
Normal file
BIN
docs/design/live-dag/after-live-mobile.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 902 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 919 KiB After Width: | Height: | Size: 965 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 128 KiB |
|
|
@ -265,7 +265,7 @@ footer{border-top:1px solid var(--line);padding-block:48px 32px}
|
|||
// the least active share an "others" lane. Labels live in a left gutter, never on blocks. Edges go under blocks.
|
||||
var c=$('dag'),x=c.getContext('2d'),W=0,H=0,S=22,G=78,narrow=false,level=0,maxLanes=8;
|
||||
var blocks=[],byHash={},miners={},lanes=[],laneN=1,othersN=0;
|
||||
var LV=[{S:22,s:14,pps:40,npps:28},{S:16,s:12,pps:26,npps:20},{S:12,s:10,pps:18,npps:14}];
|
||||
var LV=[{S:22,s:14,pps:40,npps:14},{S:16,s:12,pps:26,npps:10},{S:12,s:10,pps:18,npps:8}];
|
||||
var pxPerSec=40,targetPx=40,bps=0,live=false,serverNow=0,serverAt=0,frozenAt=null,note='';
|
||||
var running=false,needSize=true,inView=true,ptrX=-1,ptrY=-1,ptrTouch=false,pin=null,laneLast=[],laneRun=[];
|
||||
var TOP=20,BOT=12;
|
||||
|
|
|
|||
Loading…
Reference in a new issue