algorithmic modeling for Rhino
Hopefully this is not such a time consuming ghoffee question, but it also acts as a precursor to another one down the line.
Solutions to be classed by either:
Winner announced this time tomorrow (0830 GMT)
I have to bail now. Tomorrow is Saturday so I won't be able to upload the file then, so if you promise not to cheat and still want to have a go, don't look...
P R E L I M I N A R Y W I N N E R S
Plug-ins: Technically as python is a plug-in still, the winner is Anders as there were no other runners (Yet)
Scripting: Anders gets a Special mention for bringing my attention to bin(x) in python but the award goes to David
S O L U T I O N
[Image will be posted Monday]
Here's a Python version :)
Edit: Just noticed that my version has six zeros and yours only has five. Just tried this converter and it seems to agree with the former. Perhaps I misunderstood the task?
Good idea. Attached the file.
haiiku code. whoa.
https://xkcd.com/554/ Only always ;)
Eligant in its execution
Simple in its style
Yes, spot the deliberate mistake to make sure you were on form :)
My native component solution...the scripting way looks too simple with some iteration and module calculations :P I've use some parameters to convert values instead of using expressions, so those could be easily simplified but I wanted to stick to the rules as much as possible. Mmmm...I'm going to try to simplify it a little bit more...
Hey, I forgot the GH file. I blurred the capture to let the people think a little bit more about the problem...anyway, the file attached has the solution :)
awesome! super elegant.