mads

genius among idiots

  • she/her

Trans CS college student

Will talk about minecraft and celeste at any possible moment.


posts from @mads tagged #programming

also: #software development, #coding

mads
@mads

Been playing around generating noise images. Currently I have perlin noise implemented and it supports layering multiple octaves. Plan on adding some other visualizations of the noise along with maybe using multiple noises to generate a color map or something.




Okay so I've been reading a lot of decompiled deobfuscated Minecraft code for a personal project and I finally understand how minecraft places biomes and I think its so elegant and fun. So here is (at least my current understanding) of the minecraft biome placement algorithm.

Pedantic technical details For those who care, I will be exclusively discussing the multi-noise biome source.
This just limits the scope to just want is the most interesting to me


mads
@mads

Been working on a Rust graph visualizer to experiment with egui and been having a bunch of fun! Working with a gui library at all took a bit to get used to but I'm pretty happy with how things have been turning out. I plan on adding visualizations for different graph traversal algorithms and making it easier to actually construct graphs then I'll make it open source. Really glad to finally start to understand guis because pretty much everything else I've made has either been a command line tool or a small tui.



mads
@mads

Update: Got graph traversal working.
Also made it so you can drag and drop the individual nodes which helps positioning a lot.
https://www.youtube.com/watch?v=pvMQVmopsSA

I'll probably upload this to github later this week.


mads
@mads

I have perfected curved lines


mads
@mads

After a bunch of bug fixes and QoL changes I finally added the ability to see the paths generated from traversals. Here you can see the difference in BFS (left) and BFS (right). Currently is broken on Dijkstra's (and A* isn't even implemented), but that should be a pretty easy fix. With this I've finally uploaded the code to github. I'll upload a README and precompiled releases in the future, just wanted to finally get the code out there.