Commit graph

765 commits

Author SHA1 Message Date
Victor Seiji Hariki
0625d4017e attempt 3
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>

Former-commit-id: 459276fafc962d6298db9c6e1e8aa3d920714f2d
2022-11-22 19:38:55 -03:00
Victor Seiji Hariki
eb26b9adb6 attempt 2 for prettier action
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>

Former-commit-id: 3182f66268eaf4d131def3337f6b1dad470cecd0
2022-11-22 19:35:45 -03:00
tim h
25761df9f7 Merge pull request #32 from Kalekki/main
Convert that large gif into 5mb webm embed

Former-commit-id: 482e79afdda133a2e5997983063a6a151fca4584
2022-11-22 16:30:25 -06:00
Victor Seiji Hariki
250c833895 Added tool menu and migrated image generation ot new input
Also updates a lot of other things (brush size now independent from
scale factor, split some files, and a lot other things; removed erase
safeguard as now erase is supported by undo/redo; tried adding github
prettier autoformatting to pull requests;

may have some other things as well

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>

Former-commit-id: 0ba21f23c69f9dca2c3189a838b945900b01f81d
2022-11-22 19:28:27 -03:00
Kalekki
837de404ee Upscaling
Former-commit-id: b8f0e47edd2f2f5ab2f8cae911c8739bd9d41b7f
2022-11-22 23:18:40 +02:00
Kalle
70281c4f43 Convert that large gif into 5mb webm embed
from 28 to 5mb

Former-commit-id: a7c21b6ae476d8f236c8bf477de13640420ab9ba
2022-11-22 14:54:08 +02:00
tim h
ff66f5362d update license
hopefully more permissive?

Former-commit-id: 0cf7b7d9e878e8b44b60bbb181167a816723e863
2022-11-22 02:04:05 -06:00
tim h
85cdc024df update readme
Former-commit-id: 5a4434d64ab393482b425f507e2f5e1091b02c49
2022-11-22 01:07:24 -06:00
tim h
3bd53cc8db bump version deservedly
Former-commit-id: 56db868d8b8d7a76a32510df6223022df836cad0
2022-11-22 01:05:20 -06:00
tim h
9590345b03 Merge pull request #31 from seijihariki/history_view
add history list view and interaction

Former-commit-id: c107303986209f70129de637b7f2ed6a05507f00
2022-11-22 00:53:56 -06:00
tim h
e9755420fd minor clarification i hope
Former-commit-id: 8ef93f6c662a4b9a2c10e2a513f0b92a229f93db
2022-11-22 00:28:12 -06:00
tim h
07fedd50e0 80 is too many megabytes for a silly demo gif
Former-commit-id: 2474fcf34ec18406fc94d8fc42d5f5feb42392b5
2022-11-22 00:06:56 -06:00
tim h
c96b92d1a1 better demo gif because this stuff is genuinely nice to use
Former-commit-id: b3e8168ceef9f6a38f66966ea48c87c10d8663d8
2022-11-21 23:52:09 -06:00
Victor Seiji Hariki
87ea1be32d add history list view and interaction
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>

Former-commit-id: 7064b38c9663c0219424b4864243f16d4aa68a24
2022-11-22 02:16:17 -03:00
tim h
ab20653709 typo that's been there foreverish??
Former-commit-id: d9db58e6338f48f3a247836105160c99828a277e
2022-11-21 22:14:33 -06:00
tim h
68d1c0ff93 hey it's a readme update
Former-commit-id: 1fe53b8025084c5d00dd15dd6518610de3373e21
2022-11-21 20:33:03 -06:00
tim h
fcc61c5710 Merge pull request #30 from seijihariki/keyboard_ìnput
Keyboard Input Support

Former-commit-id: 7559fa453face2012b0f0cd8d2b34fcf9aa31c1c
2022-11-21 20:30:19 -06:00
Victor Seiji Hariki
fb0c2f2443 add shortcuts to undo/redo
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-21 23:19:56 -03:00
Victor Seiji Hariki
1d6d2c1978 add keyboard support to input
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-21 23:19:41 -03:00
tim h
555bbee863 relocate collaborator credits because these people are Very Important People
Former-commit-id: 34ac2c5b9c2e3ca728fda831779186f7e2909065
2022-11-21 19:27:28 -06:00
tim h
dfb6fc8c59 relocate collaborator credits because these people are Very Important People
Former-commit-id: 065f643f3480cded280672116c2217e210f3b334
2022-11-21 19:26:49 -06:00
tim h
ada92a44bc i beg your pardon readme
Former-commit-id: eed1073e4ef4e9b2d9113d80fa0be924c2e77d20
2022-11-21 19:25:15 -06:00
tim h
90f9e4785c try again with new demo gif
Former-commit-id: 7efe734bfc8b9737b1d61285ce46c13f16844ae2
2022-11-21 19:01:47 -06:00
tim h
f112512f9a Delete 01-demo.gif
wtf why no new file

Former-commit-id: beaad12a6565dbed3a5a4571f5fc9a751eb240cf
2022-11-21 19:01:15 -06:00
tim h
b0033c47b6 update readme
Former-commit-id: 4d87126fff66cf676100169e1e83c1708a822fd1
2022-11-21 19:00:18 -06:00
tim h
3c3eb6b329 version bump for readme
Former-commit-id: b7571be02ef7f587e539b4be069ebe90d75e7e8f
2022-11-21 18:58:45 -06:00
tim h
7e7146eaa1 dream output text legibility, invert marching ants 2022-11-21 18:04:05 -06:00
tim h
8e40019770 lol whoops 2022-11-21 18:00:20 -06:00
tim h
064ebe260b Merge pull request #24 from Kalekki/checkerboard
Checkerboard background to signal transparency
2022-11-21 17:57:56 -06:00
tim h
2c120320ff Merge branch 'main' into checkerboard 2022-11-21 17:57:41 -06:00
tim h
2efb01059c Merge pull request #22 from seijihariki/edit_utils
mouse input handler - input.js - proper solid mask
2022-11-21 17:31:24 -06:00
Kalekki
5685aadcbb Move info container to make it more obvious its floating 2022-11-21 14:26:23 +02:00
Kalekki
2dedda5d29 clean up leftover chaotic borders 2022-11-21 14:15:11 +02:00
Kalekki
ac0b195a36 Remove white margins around working area 2022-11-21 14:05:57 +02:00
Kalekki
4381642e88 Checkerboard background to signal transparency 2022-11-21 13:40:44 +02:00
Victor Seiji Hariki
c1bc54a4eb add new history window and fix multi-window support
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-21 08:27:21 -03:00
Victor Seiji Hariki
93b6118254 some simple features to inputjs and menu overhaul
for dragging, add original target to avoid paint intermitence when dragging
windows too fast.

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-21 08:24:35 -03:00
Victor Seiji Hariki
80c446da3d format input.js according to new guidelines
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-21 00:02:25 -03:00
Victor Seiji Hariki
096d8770f2 Merge branch 'main' into edit_utils
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-20 23:59:46 -03:00
Victor Seiji Hariki
c27da0f51a add target info to events and fix mask impl
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-20 23:42:07 -03:00
Victor Seiji Hariki
d6435abf2e solid color mask and migration to new input method
reimplements mask using the new input lib, makes mask use a solid color
(masks shouldn't become darker the more you draw over itself) and the
mask layer is now rendered with the alpha using css.

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-20 23:29:50 -03:00
Victor Seiji Hariki
217b89efef fix prev field for drag events and add onmousemove
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>

a

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-20 23:26:48 -03:00
Victor Seiji Hariki
f460f43800 Merge branch 'main' into edit_utils 2022-11-20 23:07:15 -03:00
Victor Seiji Hariki
ea64c138c3 Add generic mouse input handler
input.js is now responsible for processing mouse input and translating
it to relevant events. This allows for less bloat on the main logic in
index.js and easy implementation of new functionality

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-20 23:03:07 -03:00
tim h
32904051aa yeah overmasking is _definitely_ fixed, works great now 2022-11-20 17:21:55 -06:00
tim h
959bb4f8b1 marching ants during image generation
i uh also decided to useTabs in prettier and it now looks like i rewrote the entire application again :badpokerface:
2022-11-20 17:10:03 -06:00
tim h
bef6b214f4 very minor unnecessary changes 2022-11-20 15:47:53 -06:00
tim h
327e90c88c prettier! 2022-11-20 15:39:24 -06:00
tim h
e88dc0acf9 bump version, remove pointless checkbox 2022-11-20 17:31:51 -03:00
Kalekki
eab96a448d fix 2022-11-20 17:31:51 -03:00