mark speeds given to go as constant
[challenge-bot] / guide / translate.scm
CommitLineData
3fbc0fba 1;; tldr; AGPLv3+
2;; copyright info at bottom
3(use-modules (skribilo source c))
4
5(document
6 :title [translate]
7 (chapter
8 :title (source :language c [translate(\[\]){square\;}])
9 :number #f
10 (p [here's the output of
11 ,(prog (source :language c [translate(\[0, 0\]){square()\;}]))])
12 (figure
13 :legend "translate([0, 0]){square();}"
14 (image :file "translate.png" :height 500))
15 (p [here's the output of
16 ,(prog (source :language c [translate(\[0, 1\]){square()\;}]))])
17 (figure
18 :legend "translate([0, 1]){square();}"
19 (image :file "translate01.png" :height 500))
20 (p [here's the output of
21 ,(prog (source :language c [translate(\[1, 0\]){square()\;}]))])
22 (figure
23 :legend "translate([1, 0]){square();}"
24 (image :file "translate10.png" :height 500))))
25
26;; Copyright 2016 daniel watson
27
28;; This file is part of challenge-bot.
29
30;; challenge-bot is free software: you can redistribute it and/or modify
31;; it under the terms of the GNU Affero General Public License as
32;; published by the Free Software Foundation, either version 3 of the
33;; License, or (at your option) any later version.
34
35;; challenge-bot is distributed in the hope that it will be useful,
36;; but WITHOUT ANY WARRANTY; without even the implied warranty of
37;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38;; GNU Affero General Public License for more details.
39
40;; You should have received a copy of the GNU Affero General Public
41;; License along with challenge-bot. If not, see
42;; <http://www.gnu.org/licenses/>.