Profile cover photo
Profile photo
Ivan Voras
505 followers
505 followers
About
Ivan's posts

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Dogodilo se nešto savršeno - ovaj tjedan se dogodilo da sam u kratkom razdoblju slušao dva najbolja podcasta u barem zadnjih šest mjeseci, ako ne i uopće ikada! Zaista, količina dobrih životnih savjeta u njima zajedno je fenomenalna, a tiču se kako urediti život, i posebno, kako ga urediti s obzirom na novac, bilo da ga ima puno ili malo - svejedno je. Negdje sam pročitao da se od svega može pobjeći osim od samog sebe, no zato možemo birati što to mi jesmo.

Post has attachment

Post has attachment
I'm playing with an 8x8 panel of ws2812 LEDs, the idea is to create a nice-looking display which cross-fades warm colours. It's sort-of working. I'm not happy with the way the colours are faded / interpolated. In reality it looks a bit better than on this video, the transitions are not as choppy / discrete.

One other thing which nags me is that with the current code (at https://gist.github.com/ivoras/bdeae148df082e9db5f92a02b2a3516e), the fades look like they are pulsing / cycling. I have 3 pixel arrays: the "display buffer" one, the source one, and the target one. I pick the target pixels randomly, then set the "display buffer" to a linear interpolation between the two, then when it's finished I choose a different set of target pixels. So, there should always be some pixels which are fading in brightness and some which are gaining, but I'm not seeing it - it looks like sometimes pixels are only fading up and sometimes they are fading down, there don't seem to be any which are simultaneously fading up while others are fading down.

Any pointers to how effects like the one I'd like are created?

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Wait while more posts are being loaded