today's experiment: silky smooth fixed-height virtual table, rendered with canvas
93,573 次观看
50 条评论
评论来自 X (Twitter) 上的原帖

@vishyfishy2
try it → this was inspired by @Antfroze's sql studio (beautiful), @itseieio's everyuuid (fun!), and ideas from @4rcherhume! the bit i like the most is that the scrollbars are real DOM scrollbars, not fake ones :d
47 个赞

@itsonlysoleil
very cool. if you mapped each uuid to a oklch and then did a gradual gradient with looping for set (perception is like ~10^6 even ignoring screen gamuts) I think the effect feels even more insane also would your virtualization break if we toggle scroll speed with hotkeys. hmm
10 个赞

@vishyfishy2
> would your virtualization break i don't think so, that's a good idea let me try this oklch idea
5 个赞

@itsonlysoleil
Yeah if you don’t get it done by tomorrow would be down to PR this weekend just busy tn
2 个赞

@snmzeno
made something with virtual tables too - infinitely scrollable bar chart
6 个赞

@vishyfishy2
very nice! bonus brownie points for oppenheimer soundtrack
4 个赞

@4rcherhume
when resizable columns though 👀
6 个赞

@mazeincoding
this is honestly amazing, better than v0 could've ever done
3 个赞

@rankdim
table rendering with canvas ?
2 个赞

@vishyfishy2
yes

@rankdim
interested in implementation, cool
3 个赞

@stephenhaney
aww yeah
1 个赞

@AlexisPaques
So JS libraries are so bloated nowadays we are now going back to just drawing our interfaces in a canvas. Amazing demo!
1 个赞

@Goofygiraffe06
well, I found a beautiful csv reader
1 个赞

@JokingRajat
Maybe I'm dumb, but why does a single scroll tick make it go to some random number that is 100s of millions rows ahead? Or is it not supposed to show me 40-70 on scroll?
1 个赞

@jianxliao
been there, done that
1 个赞

@vishyfishy2
damn

@jianxliao
hahaha did not mean anything else! seriously every front end engineers could build this as a test of skills

@vishyfishy2
new interview question just dropped...

@izadoesdev
give it to me
1 个赞





















