Posts

Showing posts from April, 2018

growing vines and flowers

Image
Programming is so interesting because even after over 20 years I mis-estimate the complexity of certain tasks.  Some things that seem simple can suck up hours and things that seem intimidating can occasionally end up being 3 lines (of albeit complex but doable) code. I have been muddling through growing vines (confession, I consciously decided not to look for any reference material, because I wanted to try out some ideas on my own -- if you know of a perfect reference, feel free to email me, I just might ignore it until I am 100% happy with my own muddling). I knew that I wanted a system that would allow vines to toggle between various types of 'growing' behavior and that ultimately the system offered interesting design decisions about where to put data (between vine state and growth function state).  Even knowing this, I started out with a naive solution in mind that I wanted to try, thinking to myself, 'I'll redesign it better after one iteration'.  Now 3 ite