Initial work on Texture theory. This attempt looks at using source PNG files to overlay over a <canvas> element, since drawing complex shapes could get somewhat complex, and <canvas> is a pure drawing API. Seems to work well enough, disregarding my horrible 3AM example PNG. ;P
This commit is contained in:
parent
18c87c2c16
commit
c03bdafd3c
3 changed files with 62 additions and 0 deletions
BIN
img/test1.png
Normal file
BIN
img/test1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
Reference in a new issue