Spaced out comments more
This commit is contained in:
parent
a3122d6bd8
commit
dc60122de6
@ -96,6 +96,9 @@ function Commander (client) {
|
|||||||
i += indent.length
|
i += indent.length
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Space out comments
|
||||||
|
val = val.split('\n').map((line) => { return line.substr(0, 2) === '; ' ? `\n${line}\n` : line }).join('\n')
|
||||||
|
|
||||||
this._input.value = val.trim()
|
this._input.value = val.trim()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
15
examples/pixels/average.lisp
Normal file
15
examples/pixels/average.lisp
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
; Average color
|
||||||
|
(clear)
|
||||||
|
(def photo-rect
|
||||||
|
(rect 0 0
|
||||||
|
(div 4240 3)
|
||||||
|
(div 2400 3)))
|
||||||
|
(resize photo-rect:w photo-rect:h)
|
||||||
|
(import $path photo-rect)
|
||||||
|
(def average-color
|
||||||
|
(pick
|
||||||
|
(guide
|
||||||
|
(rect 774 100 500 500))))
|
||||||
|
(fill
|
||||||
|
(guide
|
||||||
|
(rect 228 100 500 500)) average-color)
|
Loading…
x
Reference in New Issue
Block a user