Commit graph

220 commits

Author SHA1 Message Date
Ryan Oldenburg c18f0d5f3e f 2020-12-09 02:32:20 -06:00
Ryan Oldenburg cdadfd1cdd drawCorrect knows smooth or not 2020-12-09 02:30:19 -06:00
Ryan Oldenburg bad415401a benchmarking blends 2020-12-09 01:19:05 -06:00
Ryan Oldenburg 49624b6d03 put back 2020-12-09 01:03:52 -06:00
Ryan Oldenburg 85b8967be1 int 2020-12-09 01:00:26 -06:00
Ryan Oldenburg 56dd24e2e9 f 2020-12-09 00:55:46 -06:00
Ryan Oldenburg da9a68b044 more 2020-12-09 00:52:58 -06:00
Ryan Oldenburg 3edb6d6294 more blends as just rgba 2020-12-08 22:36:53 -06:00
Ryan Oldenburg 6842bfb797 unused 2020-12-08 21:54:18 -06:00
Ryan Oldenburg e8da814856 no need for setmem 2020-12-08 21:51:09 -06:00
Ryan Oldenburg 9ad9817959 faster, less code 2020-12-08 21:34:05 -06:00
Ryan Oldenburg 7b58d4bf9a blends small 2020-12-08 19:26:01 -06:00
Ryan Oldenburg e3f09f930b unused 2020-12-08 18:13:07 -06:00
Ryan Oldenburg ec5bc9ba1e simd helping 2020-12-08 18:10:20 -06:00
treeform 2701130dbf Remove unused blends. 2020-12-06 09:35:58 -08:00
Ryan Oldenburg dd1bb58538 p instead 2020-12-05 22:14:33 -06:00
Ryan Oldenburg ccb92fb46a 80 char width 2020-12-05 17:46:21 -06:00
treeform ed5679787d Fix flip. 2020-12-05 00:28:42 -08:00
Ryan Oldenburg d0224dee32 inline 2020-12-04 19:19:46 -06:00
Ryan Oldenburg a9ea7f2872 simpler 2020-12-04 19:19:46 -06:00
Ryan Oldenburg 803c2ecf40 no cast, segments 2020-12-04 18:27:39 -06:00
Ryan Oldenburg de9ef9af4f inline helps by 20% for svg 2020-12-04 18:16:04 -06:00
Ryan Oldenburg a38cd2adad f 2020-12-04 16:57:56 -06:00
Ryan Oldenburg ca2c925d5f faster 2020-12-04 14:31:25 -06:00
Ryan Oldenburg cddfe43315 scanLineHits a bunch faster 2020-12-04 14:15:14 -06:00
Ryan Oldenburg 4536baeefd address todo 2020-12-04 14:15:14 -06:00
Ryan Oldenburg 4a67ac0625 fuzz svg + exceptions 2020-12-04 12:19:00 -06:00
Ryan Oldenburg 2c08ba2760 svg 2020-12-04 12:19:00 -06:00
treeform d1adfba46e Make blur example shorter. 2020-12-04 09:32:38 -08:00
treeform 07886e9c44 Make svg faster, add tiger exmaple, add SomePath. 2020-12-04 09:25:00 -08:00
treeform 7067ad62ee Add svg file format. 2020-12-04 08:17:03 -08:00
Ryan Oldenburg 1223d91816 inplace blur 2020-12-04 00:26:22 -06:00
treeform ae0930ba8d Use benchy for benchmarks. 2020-12-03 22:11:54 -08:00
Ryan Oldenburg 9fbd37bb53 use memset 2020-12-03 21:50:31 -06:00
Ryan Oldenburg fce9f12147 add links to blend formula sources 2020-12-03 21:45:25 -06:00
Ryan Oldenburg bed384db6a add links to blend formula sources 2020-12-03 20:21:15 -06:00
Ryan Oldenburg 9633f29a6b simpler SetSat 2020-12-03 20:18:15 -06:00
Ryan Oldenburg fcf072ff5a inplace blur, faster fill 2020-12-03 19:58:53 -06:00
Ryan Oldenburg b2cf9776c1 small 2020-12-03 15:59:46 -06:00
Ryan Oldenburg a69a4327a0 in place sharp and apply opacity 2020-12-03 14:36:54 -06:00
Ryan Oldenburg e1a4d7edc4 more + benchmark 2020-12-03 14:24:49 -06:00
Ryan Oldenburg 07d2c15fc2 some more stuff 2020-12-03 13:54:53 -06:00
Ryan Oldenburg 256d03a226 less 2020-12-03 01:45:47 -06:00
treeform 4ae59d51da Prints out all path commands it can parse. 2020-12-02 23:35:23 -08:00
treeform 3ae54dad41 More path tests. 2020-12-02 23:25:24 -08:00
treeform fa6b8352e6 Add path tests. 2020-12-02 23:20:14 -08:00
treeform 13092aef5e Break out of both loops. 2020-12-02 23:05:37 -08:00
Ryan Oldenburg 37c5869b0c some small things 2020-12-03 00:09:11 -06:00
Ryan Oldenburg 3cb35ddee1 from chatting 2020-12-01 21:14:15 -06:00
Ryan Oldenburg 18967133ff alpha for masks 2020-12-01 20:58:15 -06:00
treeform 37428fb28c Change APIs some. Add 2 examples. 2020-12-01 09:50:20 -08:00
Ryan Oldenburg 8ed2c7a5b3 f 2020-11-29 15:47:57 -06:00
Ryan Oldenburg 63aba341ab jpgstb -> jpg 2020-11-29 15:46:56 -06:00
Ryan Oldenburg c5942a478f just use stb for jpg 2020-11-29 15:46:56 -06:00
Ryan Oldenburg 89fd898764 nim jpg stuff 2020-11-29 15:46:56 -06:00
treeform 84c6a1e2eb Merge branch 'master' of github.com:treeform/pixie 2020-11-28 22:28:55 -08:00
treeform 346cdca51c Made shadows over 50% faster. 2020-11-28 22:28:38 -08:00
Ryan Oldenburg 2bee400d47 path 2020-11-28 22:00:00 -06:00
Ryan Oldenburg b047aad920 faster 2020-11-28 17:59:55 -06:00
treeform 2b67d52861 Move fractional to common. 2020-11-27 21:51:06 -08:00
Ryan Oldenburg f0bbf02bfd basic nim jpg works, png dir 2020-11-27 22:53:16 -06:00
Ryan Oldenburg 4c93950178 use rgb 2020-11-27 22:51:17 -06:00
treeform 8282611af9 Remove the copy on draw functions. 2020-11-27 16:51:53 -08:00
Ryan Oldenburg b683c751b8 jpg + stb for now 2020-11-27 15:52:24 -06:00
Ryan Oldenburg a8d667f879 jpg checkpoint 2020-11-27 15:52:23 -06:00
treeform 41edec4711 Add toAlphy and fromAlphy. 2020-11-27 10:18:43 -08:00
treeform b86d914dd0 Add the uber draw. 2020-11-25 22:32:50 -08:00
treeform 9fa80b1a61 Small clean up! 2020-11-25 10:10:08 -08:00
treeform 57af191774 Both draw in place and not in place done. 2020-11-25 10:09:12 -08:00
treeform 58e6950b51 Add drawCorrect and drawStepper. And blends. 2020-11-24 17:49:43 -08:00
treeform 549f2e17b0 Add sharpOpacity. 2020-11-23 17:12:04 -08:00
treeform 3b68dd77bb Move parseBlendMode to mirror. 2020-11-23 17:12:04 -08:00
treeform df131df53f Tighter newSeqNoInit 2020-11-23 17:12:04 -08:00
treeform b160fdf45c Need to clear the color. 2020-11-23 17:12:04 -08:00
treeform 3764063605 Add bmIntersectMask and bmExcludeMask. 2020-11-23 08:56:31 -08:00
Ryan Oldenburg d5e977b6b2 better png benchmark, use bestspeed 2020-11-22 22:01:56 -06:00
Ryan Oldenburg 278cb4533e quantization tables 2020-11-22 22:01:14 -06:00
treeform b65d7611b7 Make some procs not be in place but return a copy. 2020-11-22 19:52:52 -08:00
treeform e3d5c292c3 Rename draw functions. 2020-11-22 19:24:00 -08:00
treeform f5dbe4102d Add newImageNoInit and newSeqNoInit. 2020-11-22 18:47:23 -08:00
treeform 3a341dbe0b Fixed green. 2020-11-22 12:12:53 -08:00
treeform 7e43a91a2b Update vmath dep. 2020-11-21 20:23:15 -08:00
treeform f7ab97ae87 Add procs that fidget/mirror and typography require. 2020-11-21 19:44:10 -08:00
Ryan Oldenburg ae2cc68b77 cleaner 2020-11-21 20:21:07 -06:00
Ryan Oldenburg 129458ea95 more 2020-11-21 20:05:48 -06:00
Ryan Oldenburg 137a832c3a extensions 2020-11-21 20:02:57 -06:00
Ryan Oldenburg df0756941c more jpg 2020-11-21 20:01:34 -06:00
Ryan Oldenburg 641b2b79fa much faster 2020-11-21 20:01:34 -06:00
Ryan Oldenburg dbf6a481c4 jpg checkpoint 2020-11-21 20:01:34 -06:00
treeform cd612f9a6c Use matrix in all draw paths. 2020-11-21 16:58:53 -08:00
treeform acc6822d0e Add drawFast4 integer-matrix. 2020-11-21 16:51:38 -08:00
treeform 9384fac99d Rework blends. 2020-11-21 16:51:38 -08:00
treeform 7eea5ff2d0 Move blends. Better Draw. 2020-11-21 16:51:38 -08:00
Ryan Oldenburg 5f7908f8a4 transparency chunk 2020-11-21 01:09:05 -06:00
treeform 344063ddbc Simplify draw, bring in blends. 2020-11-20 21:50:13 -08:00
treeform c1cfbe0336 More work on inplace vs copy draw. 2020-11-20 21:16:54 -08:00
Ryan Oldenburg 3eebfdb902 readme 2020-11-20 23:09:52 -06:00
treeform 2ee05e25ef
Merge pull request #4 from guzba/master
read, encode, decode, write
2020-11-20 20:45:09 -08:00
treeform 4378d74e05 add translate 2020-11-20 20:42:22 -08:00
Ryan Oldenburg 6a74639498 read, encode, decode, write 2020-11-20 22:42:01 -06:00
treeform 23f7134fd4 Bench: inplace draw vs copy draw. 2020-11-20 20:09:09 -08:00
Ryan Oldenburg fbce3f50db flip loop and case order 2020-11-20 22:01:32 -06:00
Ryan Oldenburg b284d7bada f 2020-11-20 20:42:05 -06:00
Ryan Oldenburg 79e9ee7cd4 png 2020-11-20 20:21:27 -06:00
Ryan Oldenburg f978516b39 f 2020-11-20 20:13:06 -06:00
Ryan Oldenburg e3e94cff85 f 2020-11-20 18:20:30 -06:00
Ryan Oldenburg 552b167953 f 2020-11-20 15:03:39 -06:00
Ryan Oldenburg c114ca02dd data len check 2020-11-20 13:53:01 -06:00
Ryan Oldenburg 42da6582cf bmp stuff 2020-11-20 13:18:37 -06:00
treeform 724b2f30da Fix tests. 2020-11-20 10:00:58 -08:00
treeform 305d65187c Add supprot for 24bit bitmaps. 2020-11-20 09:56:34 -08:00
treeform f8ea6c3717 Add bmp file format. 2020-11-20 09:14:33 -08:00
treeform cb50a1cb86 Do a little image work. 2020-11-20 09:13:53 -08:00
treeform d3e908ba2d Add a bunch methods to images. 2020-11-19 22:12:44 -08:00
treeform 8a5a024cb8 Add toMask and toImage. 2020-11-19 19:44:24 -08:00
treeform 2626d92995 Add masks. 2020-11-19 19:37:59 -08:00
treeform 003e7bfac1 Add Image and Paths bones. 2020-11-19 19:25:54 -08:00
treeform a1bfdb073b Add files. 2020-11-19 18:45:43 -08:00
treeform ced498821e First commit 2020-11-19 18:45:26 -08:00
treeform 238479e72e Initial commit 2020-11-19 18:41:32 -08:00