Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
|
|
@ -8,7 +8,7 @@ proc tree x1 y1 x2 y2 depth .
|
|||
y4 = y1 + dx
|
||||
x5 = x4 + 0.5 * (dx + dy)
|
||||
y5 = y4 + 0.5 * (dx - dy)
|
||||
gcolor3 0.3 0.2 + depth / 18 0.1
|
||||
gcolor3 30 20 + depth * 6 10
|
||||
gpolygon [ x1 y1 x2 y2 x3 y3 x4 y4 ]
|
||||
gpolygon [ x3 y3 x4 y4 x5 y5 ]
|
||||
tree x4 y4 x5 y5 depth + 1
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
const base = [[[-200, 0], [200, 0]],];
|
||||
var base = [[[-200, 0], [200, 0]],];
|
||||
document.documentElement.innerHTML = [...Array(12)].reduce((svg_a, _, lvl) => {
|
||||
const rg = step => (80 + (lvl - 2) * step) & 255;
|
||||
return svg_a + base.splice(0).reduce((g_a, [a, b]) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue