Viewing profile — ianthehenry
ianthehenry
HN member- Joined
- Tue, Sep 13, 2011, 11:13 PM UTC
- HN karma
- 1,863
- Public activity
- 176 items
- HN profile
- View on Hacker News ↗
About ianthehenry
3d lisp art playground: https://bauble.studio
book i wrote: https://janet.guide
2d lisp art playground: https://toodle.studio
Recent public activity
-
comment
Comment #49238552
I like this website a lot and used it as the base recipe book for a program that will tell you what cocktails you can make with the ingredients you have, but also what cocktails yo…
-
comment
Comment #48426775
https://github.com/ianthehenry/janet-module/blob/master/init... This is a very very barebones version of this, but it’s not too hard to construct environment tables dynamically
-
comment
Comment #48426757
The `import` macro extends the current environment with prefixed symbols from another environment. But the environment is a first-class object that you can hold and manipulate and …
-
comment
Comment #48421301
And a Blue Planet II video of a brine pool, stronger content warning for much more horrifying death: https://www.youtube.com/watch?v=ZwuVpNYrKPY
-
comment
Comment #46024293
The next chapter is about SDFs, but it is not available yet. https://www.makingsoftware.com/chapters/rays-and-sdfs
-
comment
Comment #45473683
Bonsai is a frontend framework that models data as an explicit graph, separate from any “component hierarchy” or DOM structure. State can live anywhere in the application graph, wh…
-
comment
Comment #43527620
I'm working on adding something like https://graphtoy.com/ to my lisp-based 3D art tool https://bauble.studio/ . It's really useful to visualize functions like this, especially whe…
-
comment
Comment #43298014
If this kinda thing piqued your interest and you want to play around with this idea, paste the following code into https://bauble.studio/ : (def octaves 4) (def lacunarity 2.00) (d…
-
comment
Comment #42667552
okay, that's helpful. the "undefined is not an object" bit is definitely a function of the "failed to create webgl2 context" error -- it tries to reference it unconditionally. no i…
-
comment
Comment #42667029
huh, that's no good. it works fine for me on safari 18.1. would you share the line that it's raising on? no other errors before that one?
-
comment
Comment #42666190
I ordered them from sculpteo — the only service I could find that would do it. Very happy with everything I’ve gotten from them. It is very very expensive if you want to make anyth…
- story
-
comment
Comment #42257545
It's complicated; Calvin Rose was the original creator of Fennel ("fnl"), but I understand it was just a little side project that he made over the course of a week or so in college…
-
comment
Comment #42257430
hi, i am the author of this book and i agree with you. it's not a good connotation. i chose it because: 1. it is kinda memorable (look there are so many programming books with exac…
-
comment
Comment #42256662
delete the contents of the script and then refresh — you’ve loaded an old version of bauble before and have the old tutorial cached in localStorage :/
-
comment
Comment #41702333
hey thanks!
-
comment
Comment #41699427
Thanks! Here's the source: (color r2 (vec3 (fbm 8 :f (fn [q] (rotate (q * 2) (pi * sin (t / 100)) + [t 0])) (fn [q] (cos q.x + sin q.y /)) q (osc t 30 30 10) | remap+))) Basically …
-
comment
Comment #41696873
Oh yeah if you clear localStorage like from dev tools, Bauble will re-save the script before refresh, putting it right back where it was. But if you like cmd-a backspace to empty t…
-
comment
Comment #41696288
Depending on the data, maybe? SDFs aren't great at rendering large numbers of enumerated objects -- something like a point cloud would be prohibitively expensive, so I wouldn't thi…
-
comment
Comment #41693492
So if you've ever loaded Bauble before you might have a stale and no-longer-working version of the tutorial cached in localStorage -- if you just clear out the script and refresh i…
-
comment
Comment #41692110
oh yeah good point. i probably shouldn't link to that anymore. it's all on mastodon too! https://mastodon.social/@ianthehenry
-
comment
Comment #41691318
https://bauble.studio/ is a programmatic 3D art playground that I've been working on for a while now, and I'm pretty excited about it! It's based around signed distance functions, …
-
comment
Comment #41344758
Yep! It just outputs GLSL. It doesn't do anything smart -- it's a single giant shader that gets recompiled whenever you change anything, so it wouldn't really work for something li…
-
comment
Comment #41343357
https://bauble.studio/ is a lisp-based procedural 3D art playground that I hacked together a while ago. It's fun to play with, but it's a very limiting tool: you can do a lot to co…
-
comment
Comment #41245964
Ah, thanks! Got it. Okay that's wild. I would not expect that to be stable across dynamically-generated template functions, but it seems to work!