Settings

Theme

Thi.ng – open-source building blocks for computational design and art

thi.ng

103 points by nmstoker 2 days ago · 18 comments

Reader

kkukshtel 27 minutes ago

This has been around for a long time and I've always been so surprised it has had seemingly so little traction outside of the author's own projects. The love and care and thoughtfulness of every library has always been so great to explore.

p0w3n3d 3 hours ago

I see very nasty GPU bugs on this page. never witnessed it before. My laptop is macbook m3.

I managed to record them https://youtu.be/9EpfeUbkPT8

lioeters 5 hours ago

Main monorepo: https://codeberg.org/thi.ng/umbrella

Looks like a collection of many useful general-purpose dependency-free modules written in TypeScript.

modemuser 3 hours ago

When the five cubes a bit down on the page spin diagonally, my whole browser window including address bar and tab bar starts glitching. Chrome on macOS.

  • thenthenthen 2 hours ago

    On ios safari the bottom 5 cubes are just 1 flat pancake, chrome ios does render the cubes but have slight artifacting on the edges mmmmm

dimovich 6 hours ago

thi-ng/geom is my favorite Clojure project.

  • uxcolumbo 5 hours ago

    What makes it your favorite Clojure project?

    • geokon 3 hours ago

      It's extremely modular and simple and extensible. It's a collecting of small libaries that makes generating arbitrary vector graphics extremely fun. You have a base SVG layer and on top you have a charting library, 3D models and other stuff. It also comes with a ton of cool math mini libraries. If something is missing it's very easy to write your own.

      All the pieces are very decoupled and in pure Clojure (unlike a lot of the heavier scicloj stuff that's being use nowadays)

uxcolumbo 5 hours ago

I believe the new libs are now all in TS and not Clojure anymore.

Does that mean TS is better suited for computational art?

Or are there other reasons why this lib was moved to TS?

  • geokon 3 hours ago

    You can find his talk about it a bit on Twitter and in the Github issues. But as far as I remember it mostly boils down to the fact that thing/geom got very little traction and external contributions. He developed this huge ecosystem on his own to make digital art but it wasn't being really picked up by others. Digital art is typically quite collaborative with people giving workshops and stuff. The switch to TS was so that other's would join up and develop the library together.

    Note that part of the problem was that the library was written in a highly unusual literate style. So you had to clone the repo, then use Emac's Orgmode to tangle it to get the Clojure source code. This created a lot of friction for people to contribute.

    Also before deps.edn (Clojure built-in dependency management) was added to the language you had to use leiningen which didn't make using a locally cloned fork as easy as it is now (now you just point to the library file directory and it "just works")

    • WillAdams 2 hours ago

      I really wish that there was an agreed-upon/universally-accepted Literate Programming system (or that for a given system, sufficiently varied tools for availing oneself of them as to foster acceptance), but pretty much every programmer's approach is unique, incompatible, and a hurdle for anyone else to use their code....

  • simongray 4 hours ago

    > Or are there other reasons why this lib was moved to TS?

    I'm pretty sure reach was the motivation. The author basically wrote his own TypeScript libraries duplicating a bunch of Clojure stuff, so the code is quite Clojure-like still.

hamburgererror 5 hours ago

Is there a particular motivation for chosing Clojure?

jdw64 2 hours ago

Coooooooool

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection