Linear Space Program
74 subscribers
162 photos
16 videos
11 files
49 links
Побочные эффекты игростроения на хаскеле.

https://icrbow.itch.io/

Чатик: @HaskellGameDev
Дискорд: https://discord.gg/vxpWtBA
Download Telegram
Sponza: the final frontier. These are the pictures of the hobby ray tracer. Its five-year mission: to render good old worlds; to check out some shapes and test optimizations; to boldly go where I haven't gone before!
fibs.jpg
979.2 KB
This is a Haskell channel, of course there would be Fibs somewhere
🍍🎆🍍
Please open Telegram to view this post
VIEW IN TELEGRAM
For a few primitives more...
This media is not supported in your browser
VIEW IN TELEGRAM
Dance of victory (and GHC.Clock.getMonotonoicTime problems) on MacOS
Ray tracing in a few prints
"Underwater"
Claude Sonnet 3.5.1, free-form scene description



It's actually pretty capable. The first images were simple, but had a point. Having seen the result it proposed a few tweaks. And after getting the sources for example scenes and elementary functions it picked up more stuff to its satisfaction.

For the final render I've asked for the corals to be more branchy and that was it. I deliberately didn't suggest anything in implementation or composition to avoid contaminating its idea.
I've been iterating to get an unobstructed camera angle, tweaking a few parameters to my liking, but the bulk of the code it made by itself.
Audio
O1 Pro codes some Haskell to produce a tune

https://gitlab.com/dpwiz/pl-synth/-/blob/main/test/O1Pro.hs

It's... Not that good, but way better than I had expected. It took 3 tries to make it listenable. The first version was repetitive, but had a structure. I asked for more variety for the second and got something too drunk to listen to. I asked to make something in-between, combining the best of two and it delivered something listenable enough.
It's not catchy like the original material in example.c was, but a good start.
WIP: Stealing SwiftUI layouts for geomancy
Linear Space Program
WIP: Stealing SwiftUI layouts for geomancy
Huh, apparently SwiftUI layout is a free monad (for arbitrary views) 🤔
Please open Telegram to view this post
VIEW IN TELEGRAM
Linear Space Program
Photo
Please open Telegram to view this post
VIEW IN TELEGRAM
AST debugging be like...

HStack ()
[ Frame () (vec2 100 50) Alignment.center $
View () "Fixed 100x50"
, Spacer ()
, View () "Flexible 310x600"
, Frame () (vec2 80 80) Alignment.
center $ View () "Fixed 80x80"
]