starting to port canvas drawing code
This commit is contained in:
parent
e6d46b593b
commit
c6551102f8
13 changed files with 2708 additions and 14058 deletions
|
@ -1,2 +1,9 @@
|
|||
window.ComicBook = require('./comic-book')
|
||||
// let ComicBook = window.ComicBook = require('./comic-book')
|
||||
let Canvas = require('./view/canvas')
|
||||
let makeImages = require('../test/data/image')
|
||||
|
||||
makeImages((testImages) => {
|
||||
let canvas = new Canvas()
|
||||
canvas.drawImage(testImages.portrait1)
|
||||
document.body.appendChild(canvas.canvas)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue