Navigation überspringen
In graph theory, there are algorithms that find the shortest path between two nodes.
0:00 / 0:36

In graph theory, there are algorithms that find the shortest path between two nodes.

CSS by T. Afif

@ChallengesCss13.988 Follower

Auf X besuchen
2.826 LikesHerunterladenOriginalbeitrag

1.202.757 Aufrufe

In graph theory, there are algorithms that find the shortest path between two nodes. I made one with pure CSS (including the graph drawing). Drag the nodes, and the shortest path will update in real-time! A demo powered by all the modern CSS features🤩

42 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von Samiullah Khan

    @technbuzz

    Should I stop my search for good force graph JavaScript library and use this instead

    33 Likes

  • Profilbild von CSS by T. Afif

    @ChallengesCss

    Not really. It's kind of a static implementation tailored to that particular graph. I am still missing features to be able to create a generic algorithm but it will happen in the future 😉

    92 Likes

  • Profilbild von ._.

    @rolivaalonso

    pffffff… are youn human? 🧐

    28 Likes

  • Profilbild von CSS by T. Afif

    @ChallengesCss

    Now that many are hating AI more and more, I'd rather be a human 😅

    63 Likes

  • Profilbild von ._.

    @rolivaalonso

    😆😆😆

    2 Likes

  • Profilbild von CSS by T. Afif

    @ChallengesCss

    In case you want more CSS fun👇

    25 Likes

  • Profilbild von Marchen

    @chisaehawng

    pure css doing graph theory. wild

    18 Likes

  • Profilbild von David K 🎹

    @DavidKPiano

    This is insanely cool

    12 Likes

  • Profilbild von SolusOps

    @Void_The_Null

    is CSS Turing complete now?

    10 Likes

  • Profilbild von Amphlux.ye

    @amphlux

    I submit 1571 as my top score

    9 Likes

  • Profilbild von Kris des Chacals ∞

    @KrisDesChacals

    Next step: solve the travelling salesman problem with CSS 😄

    5 Likes

  • Profilbild von Andy

    @ClosingBrace

    You are stacked and overflowing with talent.

    2 Likes

  • Profilbild von Nakumbo

    @nakumbo

    I’m sorry for breathing the same air with you or ever opening a computer 😭

    2 Likes

  • Profilbild von IGuano

    @iiguanope

    is this just running dijkstras

    1 Like

  • Profilbild von rifusaki (woke izutsumi)

    @rifusaki

    data analysis idea @ohsweetnothin

    1 Like

  • Profilbild von SuperKreator

    @SuperKreator

    @DaegoDaeki espabila

    1 Like

  • Profilbild von huehue

    @roronoa896

    Are you real ?

    1 Like

  • Profilbild von Starálfur

    @Staring_Elf_

    CSS gone wild.

    1 Like

  • Profilbild von D7460N

    @D7460N

    This is amazing dude. Great job.

    1 Like

  • Profilbild von Josh

    @icecreamhead10

    @samwhoo Very very cool!

    1 Like