I can't figure out why this isn't working, all I'm hoping for is for the webpage to render an "A"

//variables: A B
//axiom: A
//rules: (A->AB), (B->A)

var axiom = "A";

var rule1 = {
    a: "A",
    b: "AB"
}

var rule2 = {
    a: "B",
    b: "A"
}

function generate() {
}

function setup(){
    noCanvas();
    createP(axiom);
}

Answers

Sign In or Register to comment.