extends layout

block content
  h1 L-System Drawing

  canvas(id="lsys_canvas", name="lsys_canvas", height="800", width="800")

  script.
    var canvas = document.getElementById('lsys_canvas')
    var context = canvas.getContext('2d')
    var lsys = !{JSON.stringify(lsys)};
    lsys_draw(400, 400, context, lsys)

extends layout

block content
  h1 L-System Drawing

  p
    a(href="/") Back

  canvas(id="lsys_canvas", name="lsys_canvas", height="800", width="800")

  script.
    var canvas = document.getElementById('lsys_canvas')
    var context = canvas.getContext('2d')
    var lsys = !{JSON.stringify(lsys)};
    lsys_draw(400, 400, context, lsys)

Add "Back" link to L-System page
Add "Back" link to L-System page
