Commit graph

234 commits

Author SHA1 Message Date
Ryan Oldenburg
7d3d5acfb5 scale as test 2021-04-26 19:50:00 -05:00
treeform
75915ab05f 1.1.2: Update deps and docs. 2021-03-26 14:10:11 -07:00
Ryan Oldenburg
ad24e4d836 1.0.5 converters, morepretty 2021-03-03 12:48:22 -06:00
Ryan Oldenburg
b355c25baf superImage benchmark 2021-03-03 00:23:47 -06:00
Ryan Oldenburg
10fb0ad40f use zippy bitstream in gif.nim 2021-03-01 12:02:21 -06:00
treeform
c8269d5db9 Add GIF file format. 2021-03-01 08:53:15 -08:00
treeform
dc52e6f77b Add gif fuzzing. 2021-03-01 08:38:00 -08:00
treeform
c7ff50660e Fix gif test. 2021-03-01 01:07:33 -08:00
treeform
5e7096dfd7 Merge branch 'master' of github.com:treeform/pixie 2021-03-01 01:01:11 -08:00
treeform
e0ebc1c655 Started work on gif image loader. 2021-03-01 01:01:04 -08:00
Ryan Oldenburg
7d7a4664f9 1.0.4 2021-02-28 01:12:00 -06:00
Ryan Oldenburg
a71b3150c7 add image diff 2021-02-28 01:00:56 -06:00
Ryan Oldenburg
7aee1b5d82 spread optimization + spread and blur bugfix 2021-02-27 00:36:35 -06:00
Ryan Oldenburg
004182a122 simpler + out of bounds color for image blur 2021-02-26 19:10:48 -06:00
Ryan Oldenburg
36352685e1 bugfix blur perf rgba/rgbx 2021-02-26 18:46:21 -06:00
treeform
076dc60468 Fix gradients to use rgbx. 2021-02-25 16:26:55 -08:00
Ryan Oldenburg
64cfab293d migrate public api to rgbx 2021-02-25 18:11:58 -06:00
Ryan Oldenburg
f04f8e9478 images are always premultipled alpha 2021-02-25 16:11:36 -06:00
Ryan Oldenburg
751b804679 morepretty 2021-02-25 11:43:09 -06:00
Ryan Oldenburg
34b5f07f1f
tiled draw path + removed 2 exported procs from paints.nim (#132) 2021-02-25 09:05:20 -08:00
Ryan Oldenburg
d6e0b06135
updated iconset rendres (#131) 2021-02-24 22:05:32 -08:00
treeform
c8c981b04e
Add paints to pixie. (#127)
Add paints for: solid, image, image tiled, linear, radial and angular gradients.
2021-02-24 21:49:21 -08:00
Ryan Oldenburg
6a1131e6f8 for now i guess 2021-02-24 23:38:41 -06:00
Ryan Oldenburg
704ecb7848 fix rendering artifact with clever idea from treeform 2021-02-24 23:09:06 -06:00
Ryan Oldenburg
3d3dc58bce move proc, more tests 2021-02-24 22:19:09 -06:00
Ryan Oldenburg
6e7a08538d linecap, linejoin, miterAngleLimit 2021-02-24 19:48:23 -06:00
Ryan Oldenburg
380d284a66 another iconset + fixes 2021-02-23 17:30:46 -06:00
Ryan Oldenburg
ca023c1a08 arc flag parse fix + another icon set 2021-02-23 16:22:29 -06:00
Ryan Oldenburg
987531b018 basic css, ionicons looking much better 2021-02-23 14:46:04 -06:00
Ryan Oldenburg
404b0504ab path commands to shapes bugfix 2021-02-23 13:46:47 -06:00
Ryan Oldenburg
aa19910380 merge into test_paths.nim 2021-02-23 13:26:59 -06:00
Ryan Oldenburg
0109fd8a36 new size 2021-02-23 01:58:23 -06:00
Ryan Oldenburg
8c3a5b80cd changed 2021-02-23 01:56:07 -06:00
Ryan Oldenburg
dcf0a3fd60 more icon sets, couple fixes 2021-02-23 01:54:51 -06:00
treeform
e41b8434eb
Compute pixel scale based on matrix max scale before doing the fill or storke. (#124) 2021-02-22 23:53:26 -08:00
Ryan Oldenburg
5846a415f9 wider image for onion skin diffing 2021-02-23 00:37:56 -06:00
Ryan Oldenburg
fc2dc50c39 sweep flag fix for svg icons 2021-02-23 00:24:27 -06:00
Ryan Oldenburg
40afb8e4c4 bootstrap icons svg megatest + parse fixes 2021-02-22 22:14:06 -06:00
Ryan Oldenburg
34b3f09e43 fill and stroke helpers 2021-02-19 12:06:16 -06:00
Ryan Oldenburg
b4edd635d5 support rect rx and ry for svg 2021-02-19 01:40:19 -06:00
Ryan Oldenburg
203a657c8a drawPolygon 2021-02-18 16:45:56 -06:00
Ryan Oldenburg
0362d03b0b drawEllipse, drawCircle 2021-02-18 16:33:41 -06:00
Ryan Oldenburg
318d90e509 drawRoundedRect + updated example 2021-02-18 16:23:54 -06:00
Ryan Oldenburg
3016790e8a drawSegment + updated examples 2021-02-18 14:03:08 -06:00
Ryan Oldenburg
505e2ff2d9 drawRect image, mask 2021-02-18 13:35:08 -06:00
Ryan Oldenburg
52e65f9d73 small change 2021-02-17 01:18:30 -06:00
Ryan Oldenburg
331d5dfb37 f 2021-02-16 00:35:36 -06:00
Ryan Oldenburg
f2b3c67d4b morepretty 2021-02-16 00:35:36 -06:00
treeform
29ca5501bf drawCorrect vs drawUber benchmark. 2021-02-13 20:13:58 -08:00
Ryan Oldenburg
04c7bd87d8 shadow, spread benchmarks 2021-02-11 15:05:40 -06:00
Ryan Oldenburg
d07c77095d blend + rotation mat test 2021-02-11 14:56:47 -06:00
Ryan Oldenburg
cb0706efc5 benchmarks 2021-02-11 13:26:38 -06:00
Ryan Oldenburg
b6b1d3a44c sharpen -> ceil 2021-02-11 13:14:06 -06:00
Ryan Oldenburg
a40683920d sharpen masks + simd, blend masks 2021-02-11 02:38:27 -06:00
Ryan Oldenburg
cc63165c9b rest of blends work by converting back to straight alpha first (except 2 missing tests) 2021-02-10 14:37:15 -06:00
Ryan Oldenburg
59b186b535 group float timings (to easily disable, they are going away) 2021-02-09 23:32:13 -06:00
Ryan Oldenburg
3ec1710e2e blurs 2021-02-09 22:25:15 -06:00
Ryan Oldenburg
264b30b118 image.newMask 35% faster with simd 2021-02-09 16:08:08 -06:00
Ryan Oldenburg
29047d6a46 blends, blurs, masks checkpoint 2021-02-09 15:22:37 -06:00
Ryan Oldenburg
1ed4077249 invert for mask, premul alpha image 2021-02-08 22:27:00 -06:00
Ryan Oldenburg
29f424fe4c applyOpacity simd for image too, 10x faster as well 2021-02-08 21:44:17 -06:00
Ryan Oldenburg
6c5fa78ed9 mask applyOpacity 10x faster 2021-02-08 21:12:28 -06:00
Ryan Oldenburg
33479e5612 draw image into mask 2021-02-08 19:59:46 -06:00
Ryan Oldenburg
33b032550c draw mask on mask 2021-02-08 19:52:54 -06:00
Ryan Oldenburg
5e536c5d67 starting transition of draw / images.nim to premul alpha 2021-02-08 17:26:48 -06:00
Ryan Oldenburg
662c79e0fb draw mask 2021-02-08 16:43:22 -06:00
Ryan Oldenburg
72a4c3efb3 test img, benchmark mask minifyby2 2021-02-08 16:34:05 -06:00
Ryan Oldenburg
bbe207baa0 image masking 2021-02-08 14:31:26 -06:00
Ryan Oldenburg
c5ce1a8029 bugfix for minifyBy2 power > 1 2021-02-08 12:47:01 -06:00
Ryan Oldenburg
86df7fe154 benchmark image minifyBy2 2021-02-07 20:41:12 -06:00
Ryan Oldenburg
9782855a8d image minifyBy2 test 2021-02-07 20:39:46 -06:00
Ryan Oldenburg
8a933e051e mask minifyBy2 2021-02-07 20:37:35 -06:00
Ryan Oldenburg
369066e04d masks + paths 2021-02-06 21:51:13 -06:00
Ryan Oldenburg
7c2014ee88 faster superImage + tests 2021-01-30 20:42:08 -06:00
Ryan Oldenburg
90a88e4393 Revert "unused"
This reverts commit 8aab927127.
2021-01-30 16:25:57 -06:00
Ryan Oldenburg
8aab927127 unused 2021-01-28 22:46:12 -06:00
Ryan Oldenburg
35ad210ec5 tiger 20% faster 2021-01-28 17:00:30 -06:00
Ryan Oldenburg
65afc67792 tests stuff 2021-01-25 11:49:29 -06:00
Ryan Oldenburg
a63bc4d1be decodeSvg returns straight alpha 2021-01-25 11:17:34 -06:00
Ryan Oldenburg
2c7694896f paths.nim expects and returns premultiplied alpha 2021-01-25 11:08:32 -06:00
Ryan Oldenburg
09cd7f959d 0.0.19 new scanline+fill 2021-01-24 23:34:31 -06:00
Ryan Oldenburg
0cb7b5ea3d 0.0.18 more paths.nim stuff 2021-01-24 22:02:45 -06:00
Ryan Oldenburg
f0f2e5b4c6 0.0.17 paths stuff 2021-01-24 20:49:57 -06:00
Ryan Oldenburg
9e834ce8e4 explicit names instead of alphy shorthand 2021-01-24 18:40:26 -06:00
Ryan Oldenburg
45fe8bd9ea integer lerp, integer premultiply and straighten alpha 2021-01-24 18:20:46 -06:00
Ryan Oldenburg
f6864b109e 2x faster convert to straight alpha 2021-01-24 16:20:10 -06:00
Ryan Oldenburg
007b495538 faster subImage, a bit more 2021-01-23 14:17:34 -06:00
Ryan Oldenburg
11164fa236 small things 2021-01-22 23:33:05 -06:00
Ryan Oldenburg
1c8aa83c0a better blend benchmarking 2021-01-22 22:55:28 -06:00
Ryan Oldenburg
b41965ce3c 0.0.13 revert quad, unaligned simd fill for now 2021-01-22 17:27:20 -06:00
Ryan Oldenburg
7271cdfe80 arc discretize 2021-01-22 08:47:54 -06:00
Ryan Oldenburg
cb621c2532 arc stuff, quad discretize 2021-01-22 08:42:28 -06:00
Ryan Oldenburg
ddabf803a3 pixieUseStb 2021-01-21 23:34:34 -06:00
Ryan Oldenburg
773036a3ba add -d:useStb 2021-01-21 19:09:27 -06:00
Ryan Oldenburg
3eef65374d bugfix + test 2021-01-19 18:51:12 -06:00
Ryan Oldenburg
882ae0127c fix tiger lip issue 2021-01-18 00:48:21 -06:00
Ryan Oldenburg
74169e4c15 bounds 2021-01-16 19:01:06 -06:00
Ryan Oldenburg
3908825db8
cubic curve compute (#50)
* cubic curve compute

* curve -> segments with error budget

* dynamic precision on curves
2021-01-15 18:22:51 -08:00
Ryan Oldenburg
444fb18355
use line intersection (#49) 2021-01-11 20:24:47 -08:00
Ryan Oldenburg
ce7507cd6c fast fill, remove benchmark weirdness 2021-01-06 14:18:47 -06:00