News for hackers. Stuff that matters.
Re:Show HN: CFR[]: Very minimal drawing language with 5 comm... by omneity on Saturday October 21, 2023 @03:58PM (#37970000)
This is awesome. I got nerd-sniped trying to create Moroccan Zellige [0], a highly geometric tiling, which seems like a great match to CFR[].

My best rendition (would have been better if there was a counter clockwise rotation, improvements to my code are welcome!):

[[FFFFFFR[[CFFFFF]]][[[[[[[FF]]]]RR[[F[CC[RC[FFFFFF]]RFFFFF[RFFFFF][R[CFFFFFF]]]]]R[[[[FFFFFFFFFFFFFFFFFFFFF]]]]][[FFFFFFFFF]]]]

[0]: https://zellige.info/

Re:Show HN: CFR[]: Very minimal drawing language with 5 comm... by amputect on Saturday October 21, 2023 @05:55PM (#37970823)
Just wanted to say that I think your rendition of Zellige is really nice, thank you for sharing! This is a very cool drawing language, and I think your art here is a really solid example of how creative you can be even with very limited tools.

I made a pinwheel, which is maybe not that exciting, but was a lot of fun for me. I like the bracket syntax a lot, and figuring out how to make this work actually recaptures some of the old sense of exploration and fun that I felt before programming was my day job.

Re:Show HN: CFR[]: Very minimal drawing language with 5 comm... by omneity on Saturday October 21, 2023 @05:59PM (#37970848)
Thanks, please consider sharing your pinwheel, I'm sure it was awesome to make too!

You're touching on an important point. I tried to figure out CFR[] by trial and error and it was a lot of fun, the kind of which I didn't feel for a long time. I think this boils down to two things: - Bounded complexity, which encourages you to explore it to its fullest - Immediate feedback, the result is not disconnected from the act of editing the code, so your iteration cycle is super short.

Congrats OP, amazing design work!

Re:Show HN: CFR[]: Very minimal drawing language with 5 comm... by cantcopy on Sunday October 22, 2023 @03:35AM (#37973562)
Another zellige motif [[[FFFFRFFFRRRRRR]]]
Re:Show HN: CFR[]: Very minimal drawing language with 5 comm... by omneity on Sunday October 22, 2023 @05:28AM (#37973984)
Nice one! If only we could combine the two :)