Skip to content

Commit fa15a27

Browse files
committed
wip
1 parent a087a81 commit fa15a27

25 files changed

+53
-3671
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ lint: lint-go lint-sh lint-node check-fmt-evy conform
2222
ci: check-uptodate .WAIT all
2323

2424
check-uptodate: clean .WAIT tidy fmt doc docs learn lab
25-
test -z "$$(git status --porcelain)" || { git status; false; }
25+
test -z "$$(git status --porcelain)" || { git status; git --no-pager diff; false; }
2626

2727
## Remove generated files
2828
clean::
Lines changed: 50 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,55 @@
11
fill (hsl 270 100 50 10)
22
width 0.2
3-
for range 60
4-
x := (rand1) * 100
5-
y := (rand1) * 100
6-
s1 := (rand1) * 25 + 2
7-
s2 := (rand1) * 25 + 2
3+
for range 10
4+
x := random * 100
5+
y := random * 100
6+
s1 := random * 25 + 2
7+
s2 := random * 25 + 2
8+
x = x - s1 * 0.5
9+
y = y - s2 * 0.5
810

9-
move x-s1*0.5 y-s2*0.5
11+
move x y
1012
rect s1 s2
1113
end
14+
15+
func random:num
16+
r := rand1 * 1024
17+
r = round r
18+
r = r / 1024
19+
end
20+
21+
// for range 10
22+
// x := (rand1) * 100
23+
// y := (rand1) * 100
24+
// s1 := (rand1) * 25 + 2
25+
// s2 := (rand1) * 25 + 2
26+
// x = x - s1 * 0.5
27+
// y = y - s2 * 0.5
28+
29+
// move x y
30+
// rect 1 1
31+
32+
// move y x
33+
// circle 1
34+
// end
35+
36+
// for range 10
37+
// x := (rand1) * 100
38+
// y := (rand1) * 100
39+
40+
// move x y
41+
// rect 1 1
42+
43+
// move y x
44+
// circle 1
45+
// end
46+
47+
// for range 60
48+
// x := (rand1) * 100
49+
// y := (rand1) * 100
50+
// s1 := (rand1) * 25 + 2
51+
// s2 := (rand1) * 25 + 2
52+
53+
// move x-s1*0.5 y-s2*0.5
54+
// rect s1 s2
55+
// end

0 commit comments

Comments
 (0)