by iam-TJ · 4y ago · 0 comments
Very neat, and impressive. The one downside I noticed for the exemplar page is the browser CPU load. constant 33% of 1 CPU on an AMD Ryzen 7 1800X with Firefox v103.0.2, and around 32% with Chromium v104.0.5112.79.
I guess that's fair though since the 'page' is playing Towers of Hanoi AND animating the Hilbert curve AND a linear watch (clock)!
I enjoy the presentation itself too - no wasted space, nice multi column, no space-wasting top-bar, no annoying sidebars.
Being able to invoke the code editor with the floating resizeable text-area feels so natural.
The one thing that would be good seeing as the page is a viewport onto a larger canvas is auto-scrolling the viewport when the pointer approaches the margins - so we don't have to chase, make visible, and manually grab the browser scroll bars. That would make the page naturally follow where our attention currently is.
Certainly brings a whole new meaning to "Single Page Application".
Not even going to attempt to view it on a small device though!
The only downside is requiring client-side Javascript to render - I wonder if there's a way to have a fallback to render server-side in that case?
I've been procrastinating over choice of some kind of simple wiki-like static site generator for recording many real-time stream-of-consciousness disparate unrelated bug investigations,fixes and code hacking across a wide range of open-source software.
This has a quirkiness to it that I like and it feels like a nice fit for someone with a coding ethos (even if not usually into functional!).
It may even conquer my preference for Markdown!
Time to explore!
You write: "The one thing that would be good seeing as the page is a viewport onto a larger canvas is auto-scrolling the viewport when the pointer approaches the margins - so we don't have to chase, make visible, and manually grab the browser scroll bars. That would make the page naturally follow where our attention currently is." On my Powerbook I move the page using two fingers on the trackpad and on my iPad or smartphone I use one finger. No need scroll-bars.
You write: "The one downside I noticed for the exemplar page is the browser CPU load. constant 33% of 1 CPU on an AMD Ryzen 7 1800X with Firefox v103.0.2, and around 32% with Chromium v104.0.5112.79." In fact you can see on top of the frame-editor the cost of computing the page, it's about 30ms on my iPad. When the page is loaded no more CPU cost. The Hilbert curve CSS animation and the linear_watch (JS setInterval()) have a very small cost.
The mail system
<marty.alain@free.fr>: host mx1.free.fr[212.27.48.7] said: 550 spam detected
(in reply to end of DATA command)