Switch to edit mode.
Name(s): _render_h2o1: "*** DON'T TOUCH THIS CODE *** AUTOMATICALLY GENERATED ***"
2: caller == this || raise(E_PERM)
3: $www.error:ok("Content-type: image/svg+xml")
4: player:tell({"<?xml version=\"1.0\"?>", ""})
5: doc = $svg:new()
6: atoms = doc:new_group({{"style", "stroke: black; stroke-width: 0.05cm"}})
7: hydrogen = atoms:new_group({{"style", "fill: red"}})
8: h1 = hydrogen:new_circle({{"r", "1cm"}, {"cx", "2cm"}, {"cy", "2cm"}})
9: h2 = hydrogen:new_circle({{"r", "1cm"}, {"cx", "12cm"}, {"cy", "2cm"}})
10: oxygen = atoms:new_group({{"style", "fill: blue"}})
11: o = oxygen:new_circle({{"r", "2cm"}, {"cx", "7cm"}, {"cy", "6cm"}})
12: text = doc:new_group({{"style", "font-family: arial; font-size: medium; fill: black"}})
13: h1text = text:new_text({{"x", "2cm"}, {"y", "2cm"}})
14: h1text.children = {"H"}
15: h2text = text:new_text({{"x", "12cm"}, {"y", "2cm"}})
16: h2text.children = {"H"}
17: player:tell(doc:dump())
18: "Last modified by Lao-Tzu (#8084) on Tue Jan 1 10:11:13 2002 MST."