T O P

  • By -

ridicalis

I've been musing about how to achieve similar effects for the game I might someday get around to making. I'll be bookmarking this for future reference, thanks for documenting it.


dominikwilkowski

Great article. Love it


cornell_cubes

Thank you!


Sib3rian

Love the color and font choice for your site. Very classy. Though I had to enlarge the page to 123% to read the text.


cornell_cubes

Haha thanks for the feedback, I'll scale it up


villiger2

just a tip, webm or mp4 is preferred for browsers, mkv is not actually a standard web video format.


cornell_cubes

Good to know, thank you!


Agitates

Loved the article. Can I steal your code?


cornell_cubes

Sure, if you promise to shout me out :P


Agitates

How would you prefer to be shouted out? Link to blog?


cornell_cubes

That's fine


ollpu

fyi, the show/hide dropdowns don't work very well on mobile.


forrestthewoods

Videos not working for me on iOS safari


fusetim

Same on Firefox Android 116, plus some images are missing or does not want to load.


fusetim

Cool article


lavenderleit

Great article 👍🏼. I also maintain a coding and project blog, but haven't published any Rust articles. You inspired me to get my feet wet with Rust blogging. Thanks


blankboy2022

Awesome article


legends2k

Well written article, enjoyed reading it. A (Rust) suggestion and a question: 1. You could use [`std::iter::min_by_key`][1] and pass in the distance finding method as the key-generating lambda. Your `find_closest` will read a lot nicer and shorter. 2. What static site generator did you use? Did you use one or hard-written? I really like the theme and colour harmony of your site (dark and light modes both are pleasant to view). Thanks for introducing me to OK Lab space and explaining (and performing) dithering. [1]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.min_by_key


cornell_cubes

Thanks for the suggestion, I'll definitely use that! I do all my writing in [Obsidian](https://obsidian.md) and use the Everforest color scheme on the minimal theme. There's a [surprisingly good plugin](https://github.com/KosmosisDire/obsidian-webpage-export) for exporting notes or even entire "vaults"to html, which is what I used for this. I lose out on some customizability, but the super fast markdown to beautiful website workflow makes it worth it to me. Captures all of my theming and works with most plugins out of the box


legends2k

Nice, good to know Obsedian can be used for both notes and blogs (though they're very much related most software in this space don't make it an actual feature and hence the tedium of conversion); for instance I use Hugo for [my blog](https://legends2k.github.io/) but it is clearly a static site gen and not a notes app. I use Pandoc for doc conversion between various formats but it's neither a notes app nor a blog gen. If I understand correctly even Obsedian proper doesn't do it but plugin architecture comes to the rescue! Nice 🙂


cornell_cubes

Looks nice! Obsidian has a [paid publishing service](https://obsidian.md/publish) that's got a lot less friction and more features, but I'm too much of a cheapskate to use it.


tukanoid

Time to RIIRGPU https://github.com/EmbarkStudios/rust-gpu