Hello! There are smarter ways to make it even more random. right now, any value between 80 and 255 could happen in an instant. Part of me wonders if I set the maximum difference between 2 time slots should be set of 20 or 30, so that you get more of a dimming time between big states. I'm not a very good programmer or mathematician. I tend to hack other people code together and tweak until something works! something about a million monkeys with a million typewriters!
@@TerrainTronics if I recall correctly there’s also a few good gems about not reinventing the wheel and imitation being the sincerest form of flattery right?
@@TerrainTronics Thank ya so much! It was a lot of fun. I'm hoping to start incorporating some of your other goodies after we make out cross-country move. Flexible LEDs? Motors? YES PLEASE.
The random value makes the LEDs switch suddenly to a brighter or dimmer value and that doesn’t look realistic. A better approach is to actually use pwm and select that random value and either increase or reduce the duty cycle to get to that new intensity value. You can of course also do that with a digital pin and just turn the led on and off in the loop and depending how long the on or the off is make it brighter or dimmer. Either way moving gradually to the next value makes it behave more organic.
I couldn't agree more. In this case, we had a single evening to get everything working! :) Looking back, given time, I would have done a simple LFSR followed by a low pass filter.
hehehe - I know what you mean! In this case, I had one night in London before flying back to Texas the next day. I have a similar Balrog build with another YT'er where I'm using addressable LEDs! Keep your eyes peeled over the next few weeks!
I was so glad to have your help for this. The flickering made it look just that bit more realistic! So cool :D
Thanks for the idea!
Great stuff! Amazing work!
Thank you! Cheers!
Great video! The work you do in making electronics accessible to the laymen is invaluable. I always look forward to a pearl of Dafydd wisdom!
Thank you very much Chris, your feedback is always appreciated!
Oh wow! That’s an amazing amount of randomization to be able to build in! No wonder it makes such a realistic effect!
(Edit for autocorrect errors)
Hello! There are smarter ways to make it even more random. right now, any value between 80 and 255 could happen in an instant. Part of me wonders if I set the maximum difference between 2 time slots should be set of 20 or 30, so that you get more of a dimming time between big states.
I'm not a very good programmer or mathematician. I tend to hack other people code together and tweak until something works! something about a million monkeys with a million typewriters!
@@TerrainTronics if I recall correctly there’s also a few good gems about not reinventing the wheel and imitation being the sincerest form of flattery right?
Awesome stuff!!!
Glad you think so!
Two fantastic creators working together. Love to see it!
Cheers Xero! Keep up your awesome content too! I saw the recent Zelda Mask you made and it looked AWESOME.
@@TerrainTronics Thank ya so much! It was a lot of fun. I'm hoping to start incorporating some of your other goodies after we make out cross-country move. Flexible LEDs? Motors? YES PLEASE.
Way to go, Dafydd! I’ll be picking up some more stuff from you soon. Hope to see you over on Patreon. - Rick
Good to see you Mate! I'll throw in some sconces with your next order! :)
The random value makes the LEDs switch suddenly to a brighter or dimmer value and that doesn’t look realistic.
A better approach is to actually use pwm and select that random value and either increase or reduce the duty cycle to get to that new intensity value.
You can of course also do that with a digital pin and just turn the led on and off in the loop and depending how long the on or the off is make it brighter or dimmer.
Either way moving gradually to the next value makes it behave more organic.
I couldn't agree more. In this case, we had a single evening to get everything working! :) Looking back, given time, I would have done a simple LFSR followed by a low pass filter.
*_Why is it that every YTer that makes terrain never "has time" to do something?_*
*_Just spend another week on the project?_*
hehehe - I know what you mean! In this case, I had one night in London before flying back to Texas the next day.
I have a similar Balrog build with another YT'er where I'm using addressable LEDs! Keep your eyes peeled over the next few weeks!