kkukshtel27 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.
p0w3n3d3 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
thenthenthen2 hours ago
Almost wondering if it’s intentional! Pretty bug!
lhousaan hour ago
the flicker gets really bad on my browser
lioeters5 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.
guidoschmidt2 hours ago
thi.ng is great and should really get more attention. The packages have a very clean and atomic structure, you can easily pick one or more and use them in your project.
fun fact: you can reach each package from a https://thi.ng/PACKAGE short URL, e.g. https://thi.ng/color.
I started using the thi.ng collection a couple of years ago when I had more time for creative code sketching (https://guidoschmidt.cc/sketchbook, father of two now, with full time work + family its hard for me to find time and motivation at the moment. Hopefully will get back to it more in the future), still only scratched the surface yet.
https://www.creativeapplications.net/people/karsten-schmidt/ has a great history of Karsten's work. Also worth checking out his mastodon profile: https://mastodon.thi.ng/@toxi
modemuser3 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.
thenthenthen2 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
dimovich6 hours ago
thi-ng/geom is my favorite Clojure project.
uxcolumbo5 hours ago
What makes it your favorite Clojure project?
geokon3 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)
uxcolumbo5 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?
geokon3 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")
WillAdams2 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....
simongray4 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.
hamburgererror5 hours ago
Is there a particular motivation for chosing Clojure?
OtomotO5 hours ago
https://github.com/thi-ng/ there doesn't seem to be a lot of clojure anymore? Unless clojurescript is tagged as typescript in github that is?!
jdw642 hours ago
Coooooooool