A pixel art painter geared specifically at NES pixel art. Includes export for .chr binary file as well as palette and namespace data.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

vor 6 Jahren
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <title>NES Painter</title>
  7. <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
  8. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
  9. <link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css" integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous">
  10. <link rel="stylesheet" href="app/css/nespaint.css">
  11. </head>
  12. <body>
  13. <div id="Welcome" class="modal">
  14. <div class="modal-content">
  15. Welcome to the modal!
  16. </div>
  17. </div>
  18. <div class="header">
  19. <div class="home-menu pure-menu pure-menu-horizontal">
  20. <a class="pure-menu-heading" href="">
  21. <span class="color-NES-06">NES </span>
  22. <span class="color-NES-random">P</span><span class="color-NES-random">a</span><span class="color-NES-random">i</span><span class="color-NES-random">n</span><span class="color-NES-random">t</span>
  23. </a>
  24. </div>
  25. </div>
  26. <div class="content-wrapper">
  27. <div class="pure-g">
  28. <div class="pure-u-1-8 simple-padding">
  29. <div class="pure-button-group" role="group" aria-label="...">
  30. <button emit="modal-open" emit-args='{"id":"Welcome"}' class="pure-button">
  31. <i class="fa fa-brush"></i>
  32. </button>
  33. <button emit="modal-open" emit-args='{"id":"Welcome"}' class="pure-button">
  34. <i class="fa fa-eraser"></i>
  35. </button>
  36. <button class="pure-button pure-button-active">
  37. <i class="fa fa-eye-dropper"></i>
  38. </button>
  39. </div>
  40. </div>
  41. <div class="pure-u-2-3">
  42. <div class="pure-g">
  43. <div class="pure-u-1 simple-padding">
  44. <canvas id="painter" width:"128" height:"256"></canvas>
  45. </div>
  46. </div>
  47. <div class="pure-g">
  48. <div class="pure-u-1-2">
  49. <div class="simple-padding">
  50. NES System Palette
  51. </div>
  52. <div class="NES-palette simple-padding">
  53. <div class="pure-g">
  54. <div class="pure-u-1-4">
  55. <div class="pure-g">
  56. <div class="pure-u-1-4"><button class="pure-button" nesidx="00">00</button></div>
  57. <div class="pure-u-1-4"><button class="pure-button" nesidx="01">01</button></div>
  58. <div class="pure-u-1-4"><button class="pure-button" nesidx="02">02</button></div>
  59. <div class="pure-u-1-4"><button class="pure-button" nesidx="03">03</button></div>
  60. </div>
  61. </div>
  62. <div class="pure-u-1-4">
  63. <div class="pure-g">
  64. <div class="pure-u-1-4"><button class="pure-button" nesidx="04">04</button></div>
  65. <div class="pure-u-1-4"><button class="pure-button" nesidx="05">05</button></div>
  66. <div class="pure-u-1-4"><button class="pure-button" nesidx="06">06</button></div>
  67. <div class="pure-u-1-4"><button class="pure-button" nesidx="07">07</button></div>
  68. </div>
  69. </div>
  70. <div class="pure-u-1-4">
  71. <div class="pure-g">
  72. <div class="pure-u-1-4"><button class="pure-button" nesidx="08">08</button></div>
  73. <div class="pure-u-1-4"><button class="pure-button" nesidx="09">09</button></div>
  74. <div class="pure-u-1-4"><button class="pure-button" nesidx="0A">0A</button></div>
  75. <div class="pure-u-1-4"><button class="pure-button" nesidx="0B">0B</button></div>
  76. </div>
  77. </div>
  78. <div class="pure-u-1-4">
  79. <div class="pure-g">
  80. <div class="pure-u-1-4"><button class="pure-button" nesidx="0C">0C</button></div>
  81. <div class="pure-u-1-4"><button class="pure-button" nesidx="0D">0D</button></div>
  82. <div class="pure-u-1-4"><button class="pure-button" nesidx="0E">0E</button></div>
  83. <div class="pure-u-1-4"><button class="pure-button" nesidx="0F">0F</button></div>
  84. </div>
  85. </div>
  86. </div>
  87. <div class="pure-g">
  88. <div class="pure-u-1-4">
  89. <div class="pure-g">
  90. <div class="pure-u-1-4"><button class="pure-button" nesidx="10">10</button></div>
  91. <div class="pure-u-1-4"><button class="pure-button" nesidx="11">11</button></div>
  92. <div class="pure-u-1-4"><button class="pure-button" nesidx="12">12</button></div>
  93. <div class="pure-u-1-4"><button class="pure-button" nesidx="13">13</button></div>
  94. </div>
  95. </div>
  96. <div class="pure-u-1-4">
  97. <div class="pure-g">
  98. <div class="pure-u-1-4"><button class="pure-button" nesidx="14">14</button></div>
  99. <div class="pure-u-1-4"><button class="pure-button" nesidx="15">15</button></div>
  100. <div class="pure-u-1-4"><button class="pure-button" nesidx="16">16</button></div>
  101. <div class="pure-u-1-4"><button class="pure-button" nesidx="17">17</button></div>
  102. </div>
  103. </div>
  104. <div class="pure-u-1-4">
  105. <div class="pure-g">
  106. <div class="pure-u-1-4"><button class="pure-button" nesidx="18">18</button></div>
  107. <div class="pure-u-1-4"><button class="pure-button" nesidx="19">19</button></div>
  108. <div class="pure-u-1-4"><button class="pure-button" nesidx="1A">1A</button></div>
  109. <div class="pure-u-1-4"><button class="pure-button" nesidx="1B">1B</button></div>
  110. </div>
  111. </div>
  112. <div class="pure-u-1-4">
  113. <div class="pure-g">
  114. <div class="pure-u-1-4"><button class="pure-button" nesidx="1C">1C</button></div>
  115. <div class="pure-u-1-4"><button class="pure-button" nesidx="1D">1D</button></div>
  116. <div class="pure-u-1-4"><button class="pure-button" nesidx="1E">1E</button></div>
  117. <div class="pure-u-1-4"><button class="pure-button" nesidx="1F">1F</button></div>
  118. </div>
  119. </div>
  120. </div>
  121. <div class="pure-g">
  122. <div class="pure-u-1-4">
  123. <div class="pure-g">
  124. <div class="pure-u-1-4"><button class="pure-button" nesidx="20">20</button></div>
  125. <div class="pure-u-1-4"><button class="pure-button" nesidx="21">21</button></div>
  126. <div class="pure-u-1-4"><button class="pure-button" nesidx="22">22</button></div>
  127. <div class="pure-u-1-4"><button class="pure-button" nesidx="23">23</button></div>
  128. </div>
  129. </div>
  130. <div class="pure-u-1-4">
  131. <div class="pure-g">
  132. <div class="pure-u-1-4"><button class="pure-button" nesidx="24">24</button></div>
  133. <div class="pure-u-1-4"><button class="pure-button" nesidx="25">25</button></div>
  134. <div class="pure-u-1-4"><button class="pure-button" nesidx="26">26</button></div>
  135. <div class="pure-u-1-4"><button class="pure-button" nesidx="27">27</button></div>
  136. </div>
  137. </div>
  138. <div class="pure-u-1-4">
  139. <div class="pure-g">
  140. <div class="pure-u-1-4"><button class="pure-button" nesidx="28">28</button></div>
  141. <div class="pure-u-1-4"><button class="pure-button" nesidx="29">29</button></div>
  142. <div class="pure-u-1-4"><button class="pure-button" nesidx="2A">2A</button></div>
  143. <div class="pure-u-1-4"><button class="pure-button" nesidx="2B">2B</button></div>
  144. </div>
  145. </div>
  146. <div class="pure-u-1-4">
  147. <div class="pure-g">
  148. <div class="pure-u-1-4"><button class="pure-button" nesidx="2C">2C</button></div>
  149. <div class="pure-u-1-4"><button class="pure-button" nesidx="2D">2D</button></div>
  150. <div class="pure-u-1-4"><button class="pure-button" nesidx="2E">2E</button></div>
  151. <div class="pure-u-1-4"><button class="pure-button" nesidx="2F">2F</button></div>
  152. </div>
  153. </div>
  154. </div>
  155. <div class="pure-g">
  156. <div class="pure-u-1-4">
  157. <div class="pure-g">
  158. <div class="pure-u-1-4"><button class="pure-button" nesidx="30">30</button></div>
  159. <div class="pure-u-1-4"><button class="pure-button" nesidx="31">31</button></div>
  160. <div class="pure-u-1-4"><button class="pure-button" nesidx="32">32</button></div>
  161. <div class="pure-u-1-4"><button class="pure-button" nesidx="33">33</button></div>
  162. </div>
  163. </div>
  164. <div class="pure-u-1-4">
  165. <div class="pure-g">
  166. <div class="pure-u-1-4"><button class="pure-button" nesidx="34">34</button></div>
  167. <div class="pure-u-1-4"><button class="pure-button" nesidx="35">35</button></div>
  168. <div class="pure-u-1-4"><button class="pure-button" nesidx="36">36</button></div>
  169. <div class="pure-u-1-4"><button class="pure-button" nesidx="37">37</button></div>
  170. </div>
  171. </div>
  172. <div class="pure-u-1-4">
  173. <div class="pure-g">
  174. <div class="pure-u-1-4"><button class="pure-button" nesidx="38">38</button></div>
  175. <div class="pure-u-1-4"><button class="pure-button" nesidx="39">39</button></div>
  176. <div class="pure-u-1-4"><button class="pure-button" nesidx="3A">3A</button></div>
  177. <div class="pure-u-1-4"><button class="pure-button" nesidx="3B">3B</button></div>
  178. </div>
  179. </div>
  180. <div class="pure-u-1-4">
  181. <div class="pure-g">
  182. <div class="pure-u-1-4"><button class="pure-button" nesidx="3C">3C</button></div>
  183. <div class="pure-u-1-4"><button class="pure-button" nesidx="3D">3D</button></div>
  184. <div class="pure-u-1-4"><button class="pure-button" nesidx="3E">3E</button></div>
  185. <div class="pure-u-1-4"><button class="pure-button" nesidx="3F">3F</button></div>
  186. </div>
  187. </div>
  188. </div>
  189. </div>
  190. </div>
  191. <div class="pure-u-1-2">
  192. <div class-"simple-padding">
  193. Drawing Palettes
  194. </div>
  195. <div class="pure-g">
  196. <div class="pure-u-1-2">
  197. <div class="simple-padding">
  198. Palette 1
  199. </div>
  200. <div class="simple-padding">
  201. <div class="pure-button-group" role="group">
  202. <button class="pure-button" cidx="0" pidx="0">0</button>
  203. <button class="pure-button" cidx="1" pidx="0">1</button>
  204. <button class="pure-button" cidx="2" pidx="0">2</button>
  205. <button class="pure-button" cidx="3" pidx="0">3</button>
  206. </div>
  207. </div>
  208. </div>
  209. <div class="pure-u-1-2">
  210. <div class="simple-padding">
  211. Palette 2
  212. </div>
  213. <div class="simple-padding">
  214. <div class="pure-button-group" role="group">
  215. <button class="pure-button" cidx="0" pidx="1">0</button>
  216. <button class="pure-button" cidx="1" pidx="1">1</button>
  217. <button class="pure-button" cidx="2" pidx="1">2</button>
  218. <button class="pure-button" cidx="3" pidx="1">3</button>
  219. </div>
  220. </div>
  221. </div>
  222. </div>
  223. <div class="pure-g">
  224. <div class="pure-u-1-2">
  225. <div class="simple-padding">
  226. Palette 3
  227. </div>
  228. <div class="simple-padding">
  229. <div class="pure-button-group" role="group">
  230. <button class="pure-button" cidx="0" pidx="2">0</button>
  231. <button class="pure-button" cidx="1" pidx="2">1</button>
  232. <button class="pure-button" cidx="2" pidx="2">2</button>
  233. <button class="pure-button" cidx="3" pidx="2">3</button>
  234. </div>
  235. </div>
  236. </div>
  237. <div class="pure-u-1-2">
  238. <div class="simple-padding">
  239. Palette 4
  240. </div>
  241. <div class="simple-padding">
  242. <div class="pure-button-group" role="group">
  243. <button class="pure-button" cidx="0" pidx="3">0</button>
  244. <button class="pure-button" cidx="1" pidx="3">1</button>
  245. <button class="pure-button" cidx="2" pidx="3">2</button>
  246. <button class="pure-button" cidx="3" pidx="3">3</button>
  247. </div>
  248. </div>
  249. </div>
  250. </div>
  251. </div>
  252. </div>
  253. </div>
  254. </div>
  255. </div>
  256. </body>
  257. <script src="app/js/main.js" type="module"></script>
  258. </html>