changeset 261 4c759fad66cf parent 260 800c3ae08944 child 262 4d5c4b93efb2
equal inserted replaced
`    72 </code>`
`    72 </code>`
`    73 The first set of AddPoints draws a large X and erases the centre.`
`    73 The first set of AddPoints draws a large X and erases the centre.`
`    74 The following loop draws a set of nested points, alternating erasure and fill, which results in a set of concentric circles.`
`    74 The following loop draws a set of nested points, alternating erasure and fill, which results in a set of concentric circles.`
`    75 The 2nd loop draws a web of lines and frames it using some final AddPoints.`
`    75 The 2nd loop draws a web of lines and frames it using some final AddPoints.`
`    76 `
`    76 `
`       `
`    77 <a href="http://m8y.org/hw/draw1.jpeg">screenshot here</a>`
`       `
`    78 `
`    77 Another brief example.`
`    79 Another brief example.`
`    78 <code lang="lua">`
`    80 <code lang="lua">`
`    79     for i = 200,2000,600 do`
`    81     for i = 200,2000,600 do`
`    80         AddPoint(1,i,63)`
`    82         AddPoint(1,i,63)`
`    81         AddPoint(4000,i)`
`    83         AddPoint(4000,i)`
`    84         AddPoint(i,1000,63,true)`
`    86         AddPoint(i,1000,63,true)`
`    85     end`
`    87     end`
`    86     FlushPoints()`
`    88     FlushPoints()`
`    87 </code>`
`    89 </code>`
`    88 This one fills the map with solid land, and draws 4 circular erased points in it.`
`    90 This one fills the map with solid land, and draws 4 circular erased points in it.`
`       `
`    91 `
`       `
`    92 <a href="http://m8y.org/hw/draw2.jpeg">screenshot here</a>`