File: curvetest.wl

package info (click to toggle)
wadc 3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 7,352 kB
  • sloc: java: 3,808; ansic: 1,950; xml: 135; makefile: 67; sh: 34
file content (24 lines) | stat: -rw-r--r-- 437 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * curvetest.wl: Simple tests of the curve() built-in
 * part of WadC
 *
 * Copyright © 2001-2008 Wouter van Oortmerssen
 *
 * Distributed under the terms of the GNU GPL Version 2
 * See file LICENSE.txt
 */

#"standard.h"

main {
  thing
  movestep(64,64)
  quad(
    curve(128,256,10,1)
    curve(128,64,10,1)
    twice(curve(64,-64,10,1))
    triple(curve(64,128,20,1))
    twice(curve(16,-16,5,1))
  )
  rightsector(0,128,128)
}