Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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,798 görüntüleme • 1 yıl önce •via X (Twitter)

11 Yorum

gingerBill profil fotoğrafı
gingerBill1 yıl önce

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

Bones profil fotoğrafı
Bones1 yıl önce

Thanks for that :)

gingerBill profil fotoğrafı
gingerBill1 yıl önce

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

minami profil fotoğrafı
minami1 yıl önce

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 profil fotoğrafı
Bones1 yıl önce

Thanks for reminding, added a mit license

ludwig profil fotoğrafı
ludwig1 yıl önce

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

Bones profil fotoğrafı
Bones1 yıl önce

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

Jakub Tomšů profil fotoğrafı
Jakub Tomšů1 yıl önce

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 profil fotoğrafı
Bones1 yıl önce

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

gingerBill profil fotoğrafı
gingerBill1 yıl önce

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 profil fotoğrafı
Bones1 yıl önce

yup, that looks much better than passing a proc

Benzer Videolar