Commit Graph

627 Commits (2cd8b93c983345ee506960c0ad9060dcd901d129)

Author SHA1 Message Date
Isaiah Odhner db7cb4350c Refactor: support x/y radii for rounded rects 2018-06-29 01:01:55 -04:00
Isaiah Odhner dc6068a8df Use primary color for fill-only mode 2018-06-29 00:42:20 -04:00
Isaiah Odhner f1e7744ab2 Remove silly numpad feature 2018-06-29 00:26:18 -04:00
Isaiah Odhner c530418b67 Chrome apps are dead (basically) 2018-06-29 00:22:50 -04:00
Isaiah Odhner 500224662d Support pencil size adjustment
๐Ÿ†? โœ?

...๐Ÿ†?
2018-06-29 00:13:14 -04:00
Isaiah Odhner 5b5c651f86 Update stroke size immediately on numpad +/- 2018-06-28 23:46:07 -04:00
Isaiah Odhner 275785a5fb Simplify 2018-06-28 23:23:57 -04:00
Isaiah Odhner 7aa6623cdb Clean up 2018-06-28 21:00:51 -04:00
Isaiah Odhner 1748fd7e16 Remove shape styles warning! 2018-06-28 20:44:12 -04:00
Isaiah Odhner 3fce1757a2 Draw rectangle stroke inside bounds 2018-06-28 20:42:10 -04:00
Isaiah Odhner c0cf1b2788 Implement line width for ellipses
- Simplify and improve brush size handling
2018-06-28 20:18:47 -04:00
Isaiah Odhner d89b66efcb Implement line width for rounded rectangles 2018-06-28 19:14:32 -04:00
Isaiah Odhner 029a556ab5 For rectangle tool, draw stroke inside bounds 2018-06-28 14:46:25 -04:00
Isaiah Odhner 5bbc22d0fa Fix separate implementations both enabled 2018-06-27 18:03:02 -04:00
Isaiah Odhner 7417a82e0c Support patterns for line & curve tools 2018-06-27 17:11:36 -04:00
Isaiah Odhner 58ddd9fa35 Add donate button to About Paint 2018-06-22 01:15:48 +00:00
Isaiah Odhner b739751976 Load About Paint content from HTML
This probably won't help SEO (even in the limited way that I want (a better description, rather than ranking which is what most SEO is focused on)), but it should improve the site for Lynx users ๐Ÿ™ƒ and make it easier to update (HTML highlighting etc.)
2018-06-21 02:23:18 +00:00
Isaiah Odhner d8cbae73eb Clean up 2018-06-18 16:14:11 -04:00
Isaiah Odhner a6706745b8 Fix pattern offsets for selections
Make 'em globally consistent
2018-06-18 16:11:38 -04:00
Isaiah Odhner 5669a07fe3 Fix zero-sized canvas errors 2018-06-18 15:53:59 -04:00
Isaiah Odhner d2eb35ed82 Clean up 2018-06-18 15:48:21 -04:00
Isaiah Odhner c1d99d03c7 Use WebGL for freeform select tool 2018-06-18 15:38:26 -04:00
Isaiah Odhner 3a15a7a917 Whoops (altho this shouldn't matter anymore) 2018-06-18 12:15:28 -04:00
Isaiah Odhner 75d81b7913 Fix performance for polygons and curves 2018-06-18 01:12:08 -04:00
Isaiah Odhner 9f4e24ce9c Optimize line drawing but not enough 2018-06-18 00:52:33 -04:00
Isaiah Odhner f7cd805ca3 Implement aliasing for curve tool (laggy tho) 2018-06-18 00:05:44 -04:00
Isaiah Odhner 2ce292834f Actually fix pattern alignment 2018-06-17 19:25:47 -04:00
Isaiah Odhner 4baca36b87 Move function up & out 2018-06-17 19:01:04 -04:00
Isaiah Odhner f12b36c671 Align patterns for polygon tool 2018-06-17 17:52:53 -04:00
Isaiah Odhner 1bdffc5376 Clean up 2018-06-17 17:52:53 -04:00
Isaiah Odhner 3dc8702448 Remove setDrawColor (not needed) 2018-06-17 17:52:53 -04:00
Isaiah Odhner e1dd79d5c2 Fix fill color when stroke size is 1 2018-06-17 17:52:53 -04:00
Isaiah Odhner 725d2bc66b Enable patterns for polygon strokes and fills 2018-06-17 17:52:53 -04:00
Isaiah Odhner 94fbbacae2 Enable patterns for polygon strokes > 1px 2018-06-17 17:52:53 -04:00
Isaiah Odhner 92feca2abc Support line width for polygon tool 2018-06-17 17:52:53 -04:00
Isaiah Odhner 83e45e020c Fix mixed indentation 2018-06-17 17:52:53 -04:00
Isaiah Odhner 1a93dcefab Refactor / clean up 2018-06-17 17:52:53 -04:00
Isaiah Odhner 747bf8c4f5 Use WebGL for polygon tool preview 2018-06-17 17:52:53 -04:00
Isaiah Odhner 0ed2424f9a Clean up 2018-06-17 17:52:53 -04:00
Isaiah Odhner e5b3c5be8b Use WebGL for Polygon tool 2018-06-17 17:52:53 -04:00
Isaiah Odhner f12039fd1e Draw outline with WebGL
It works!
2018-06-17 17:52:53 -04:00
Isaiah Odhner 1f98dc07ae Remove bad (artifacted) outlines 2018-06-17 17:52:53 -04:00
Isaiah Odhner 25c75b2432 Make example more useful
(make artifacts clearer)
2018-06-17 17:52:53 -04:00
Isaiah Odhner 7ce3b09e13 Make the libtess example more interesting 2018-06-17 17:52:53 -04:00
Isaiah Odhner cd1bf6e9f3 Anti-anti-alias (but with artifacts) 2018-06-17 17:52:53 -04:00
Isaiah Odhner 3c4e8fb1d9 Simplify
(also it was actually half the effective lineWidth before)
2018-06-17 17:52:53 -04:00
Isaiah Odhner 10f62d1edd Add outlines on top of tesselated polygon fill 2018-06-17 17:52:53 -04:00
Isaiah Odhner b3b13fb343 Remove updating code 2018-06-17 17:52:53 -04:00
Isaiah Odhner 1ded3dba14 Remove perf logging 2018-06-17 17:52:53 -04:00
Isaiah Odhner bd8ad40777 Remove high DPI support in libtess.js example 2018-06-17 17:52:53 -04:00