CFDG Online: Context-Free Design Grammar [Home]   [Syntax]   [Images]   [Links]
What is it?
CFDG is a simple programming language for generating pictures. It is based on syntax invented by Chris Coyne. You specify a program consising of drawing rules, and a start rule. You can have multiple (conflicting) rules. When this happens, CFDG picks one randomly. Infinite loops are okay, as long as the shapes get infinitely small. The full syntax is described here.

This version of CFDG is written in pure PHP, it's platform-independent and relatively fast.

Your feedback is essential! Please send me your comments and suggestions.
Give it a try!
Enter or paste your CFDG program below, then click 'Run' to execute it:

(The result will be opened in a new window)
Recent images
Rating:3.4 (8 votes)

Rating:0.0 (0 votes)

Title:rthjrbovnpojru hu iÁn98878
By:nhbjfjbhgbjjgjhn nb
Rating:3.0 (1 vote)

Other images...
  • May 19, 2005
    Small scaling bug fixed. Syntax page extended.
  • May 15, 2005
    New: image submission form, ratings.
  • May 9, 2005
    Added: scaling, nesting control (max. level of recursion), absolute values.
  • May 4, 2005
    Added: color control, alpha-channel. The site now has some «design».
  • Apr 19, 2005
    Many features added: brightness control, initial settings etc.
  • Apr 17, 2005
    My first PHP version has been put online.