跳过导航
today's experiment: silky smooth fixed-height virtual table, rendered with canvas
0:00 / 0:34

today's experiment: silky smooth fixed-height virtual table, rendered with canvas

f1shy-dev

@vishyfishy25150 位关注者

在 X 上查看
903 个赞下载原帖

93,573 次观看

today's experiment: silky smooth fixed-height virtual table, rendered with canvas tested with 10^50+ rows of dynamic data

50 条评论

评论来自 X (Twitter) 上的原帖

  • f1shy-dev 的头像

    @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 个赞

  • Cheikh Fiteni 的头像

    @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 个赞

  • f1shy-dev 的头像

    @vishyfishy2

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

    5 个赞

  • Cheikh Fiteni 的头像

    @itsonlysoleil

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

    2 个赞

  • zeno 的头像

    @snmzeno

    made something with virtual tables too - infinitely scrollable bar chart

    6 个赞

  • f1shy-dev 的头像

    @vishyfishy2

    very nice! bonus brownie points for oppenheimer soundtrack

    4 个赞

  • Archer 的头像

    @4rcherhume

    when resizable columns though 👀

    6 个赞

  • Maze 的头像

    @mazeincoding

    this is honestly amazing, better than v0 could've ever done

    3 个赞

  • rank 的头像

    @rankdim

    table rendering with canvas ?

    2 个赞

  • f1shy-dev 的头像

    @vishyfishy2

    yes

  • rank 的头像

    @rankdim

    interested in implementation, cool

    3 个赞

  • Stephen Haney 的头像

    @stephenhaney

    aww yeah

    1 个赞

  • Alexis Paques 的头像

    @AlexisPaques

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

    1 个赞

  • Rahul Narsingipyta 的头像

    @Goofygiraffe06

    well, I found a beautiful csv reader

    1 个赞

  • Rajat Kulkarni 的头像

    @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 个赞

  • jian 的头像

    @jianxliao

    been there, done that

    1 个赞

  • f1shy-dev 的头像

    @vishyfishy2

    damn

  • jian 的头像

    @jianxliao

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

  • f1shy-dev 的头像

    @vishyfishy2

    new interview question just dropped...

  • Iza 的头像

    @izadoesdev

    give it to me

    1 个赞