Timeline for Generate boxes!
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 11, 2015 at 11:23 | comment | added | vvye |
@edc65 that's great, thanks! Things like 2*r+1 => r-~r are exactly what I meant by golfing the math, and that particular one is genius. :)
|
|
Jun 11, 2015 at 11:22 | history | edited | vvye | CC BY-SA 3.0 |
further shortening
|
Jun 11, 2015 at 10:34 | comment | added | edc65 |
Sorry, can't help with the math - my head is spinning ... but here is some microop: f=(r,c)=>(x=>{for(i=s='';(y=i++/x)<r-~r;)s+=i%x?' *'[-~y%2|!(-~i%4)]:'\n'})(4*c+2)||s --> 85
|
|
Jun 11, 2015 at 9:28 | history | answered | vvye | CC BY-SA 3.0 |