Mnist neural network visualization written from scratch in Odin and Raylib.
97,798 次观看
11 条评论
评论来自 X (Twitter) 上的原帖

@TheGingerBill
I've just added some general improvements to an issue: This is just amazing in general though!!!!
19 个赞

@BonesaiDev
Thanks for that :)
3 个赞

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

@minamisatokun
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
8 个赞

@BonesaiDev
Thanks for reminding, added a mit license
3 个赞

@ludwigABAP
this is surprsingly readable, even the viz.odin... interesting
7 个赞

@BonesaiDev
thats one of the reasons why I love Odin, the viz is still a bit messy though
10 个赞

@jakubtomsu_
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
6 个赞

@BonesaiDev
that's good to know, thanks for pointing that out
4 个赞

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

@BonesaiDev
yup, that looks much better than passing a proc
2 个赞