diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-11-22 17:20:06 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-11-22 17:20:06 -0500 |
| commit | 197752cd55c34797a67be02e684ad276d0eefb99 (patch) | |
| tree | 22427357590296fa6ba2c88f5ce4b0d0190d3051 /js/draw.js | |
| parent | 61ea379940152da18052a02185eb204fc7a9683d (diff) | |
splitting up ui code
Diffstat (limited to 'js/draw.js')
| -rw-r--r-- | js/draw.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,6 +1,9 @@ + + function draw (lex, x, y, erasing) { stamp (canvas, brush, x, y, erasing) } + function stamp (canvas, brush, x, y, erasing) { hh = brush.w/2|0 brush.forEach(function(lex, s, t){ |
