CFDG: Mono Craze

Filed under: Tech

Posted 3 years, 6 months ago at 8:52 pm. 3 comments

starter

I finally had my first taste of CFDG (see old post) and am addicted :shock_ee:.

It feels like using the first language I learned - LOGO, except there is no turtle and it is not sequential. It also feels like coding in Prolog, which is not surprising because both of them use context-free grammar. That reminded me I could have used CFDG as my project topic for my functional and logic programming class. It would have been fun. :mad_ee:

I figured trees would be hard to make, as they require certain amount of geometry skills. Monograms are easy and they sell.

monoswirl1


monoswirl2
monoswirl3

Can’t decide which one I like the best. Alright, they all look the same. :rasberry_ee:

Tags:

3 Replies

  1. nice.
    did u have to program those LV patterns too? ( or is that part of the language)

  2. The whole thing is created from scratch using CFDG. For example, the round flower :

    rule FLOWER {
    CIRCLE { x 0 y 0 size 4 }
    CIRCLE { x 0 y 1 size 1.6 b 1 }
    CIRCLE { x 0 y -1 size 1.6 b 1 }
    CIRCLE { x 1 y 0 size 1.6 b 1 }
    CIRCLE { x -1 y 0 size 1.6 b 1 }
    CIRCLE { x 0 y 0 size 0.7 }
    }

    and then I wrote a rule for FLOWERROW and so forth…

  3. reminds me of my scheme class back then O_O we drew all these graphic patterns stuff using recursions :grrr_ee:.


Leave a Reply