Loading video...

Video Failed to Load

Go Home

Mnist neural network visualization written from scratch in Odin and Raylib. repo: I'm still new to Odin so if you see a way to imporve something, let me know :)

97,754 views • 1 year ago •via X (Twitter)

11 Comments

gingerBill's profile picture
gingerBill1 year ago

I've just added some general improvements to an issue: This is just amazing in general though!!!!

Bones's profile picture
Bones1 year ago

Thanks for that :)

gingerBill's profile picture
gingerBill1 year ago

Don't use `sort.quick_sort_proc` but rather use `slice.sort_proc`. I'll add a deprecation attribution on that.

minami's profile picture
minami1 year ago

bro says new to Odin and made this, gigachad humble king jokes aside love it man, I'll go through the codebase for sure I'll say add the license to this repo, I asked Claude to create one for you so that the college guy doesn't copy it again

Bones's profile picture
Bones1 year ago

Thanks for reminding, added a mit license

ludwig's profile picture
ludwig1 year ago

this is surprsingly readable, even the viz.odin... interesting

Bones's profile picture
Bones1 year ago

thats one of the reasons why I love Odin, the viz is still a bit messy though

Jakub Tomšů's profile picture
Jakub Tomšů1 year ago

returning error boolean is a bit silly, it's standard to return (ok: bool) which then lets you do or_return and or_else everywhere etc

Bones's profile picture
Bones1 year ago

that's good to know, thanks for pointing that out

gingerBill's profile picture
gingerBill1 year ago

For `ui_checkbox`, I'd just return a boolean and not take a callback whatsoever. if ui_checkbox(...) { /* same code as the previous callback */ }

Bones's profile picture
Bones1 year ago

yup, that looks much better than passing a proc

Related Videos