Victor Seiji Hariki
5e6b18503b
Should mostly solve #94
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-14 15:12:44 -03:00
Victor Seiji Hariki
6cdd9495e3
keep masked option added
...
a fix for #99
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-14 00:17:17 -03:00
tim h
59b2d451fe
whoops jr
2022-12-13 20:08:46 -06:00
tim h
a350842dfd
whoops
...
at least it fixes fixed-seed makeMore() too
2022-12-13 20:03:58 -06:00
tim h
9b23e3aa92
reuse random seeds
2022-12-13 19:30:40 -06:00
Victor Seiji Hariki
2e151d2bbc
fix resolution not bound to cursor size anymore (again)
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-13 20:22:16 -03:00
Victor Seiji Hariki
e2afb48703
fix loading empty prompts from local storage
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-13 17:07:30 -03:00
Victor Seiji Hariki
fb83b126c7
supports drag and drop for non-square resolutions
...
Has a lot of duplicate code... will try refactoring someday. Adding
mouse wheel on selection to scale generation resolution is also a
possibility.
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-13 15:17:02 -03:00
Victor Seiji Hariki
5cb3617907
Merge remote-tracking branch 'zero/main' into testing
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-13 11:11:06 -03:00
Victor Seiji Hariki
9e0541bf0c
view generation resolution too
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-13 11:10:13 -03:00
tim h
41e57d28cf
whoops
2022-12-12 21:05:04 -06:00
tim h
9b8b432f52
Merge branch 'main' into i90
2022-12-12 19:53:30 -06:00
tim h
55e361b6e3
i am not smart enough for this lol
2022-12-12 19:52:14 -06:00
tim h
4241cbd4f9
why does the callback work fine on dream but breaks img2img
2022-12-12 19:30:28 -06:00
tim h
8e5d48f97b
think it makes more sense here
2022-12-12 18:25:02 -06:00
tim h
228bd3d9a0
updates reticle size upon manually entered resolution
2022-12-12 17:09:27 -06:00
tim h
82e943b12d
option to sync resolution and reticle size (issue 90)
2022-12-12 16:25:49 -06:00
Victor Seiji Hariki
f63bbafe0f
add cancel button to future generations
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-12 18:49:53 -03:00
Victor Seiji Hariki
0a73687556
add prompt history as suggested in #87
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-12 18:25:32 -03:00
Victor Seiji Hariki
f279c8457b
dream queueing now supported
...
- Image navigation shortcuts work for all simultaneously (probably not
optimal)
This is for #89 . Some things should be ironed out, such as adding a
cancel button for future jobs and an order indicator maybe?
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-12 00:55:54 -03:00
Victor Seiji Hariki
460130396f
add button to dream to save current image (no sc)
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-11 21:01:55 -03:00
Victor Seiji Hariki
57e2e6a9f3
dream image generation failed typo
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-10 23:13:14 -03:00
Victor Seiji Hariki
ba7c7608c0
index 0 not counted as an image anymore
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-09 23:18:24 -03:00
Victor Seiji Hariki
0e6a5c8d4a
adds index 0 to image gen
...
image gen has now index 0 to show what was before the image generation.
this is especially useful for img2img
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-09 22:07:18 -03:00
Victor Seiji Hariki
c2e0cf4615
expand input field relative to drawable canvas
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-08 12:17:59 -03:00
Victor Seiji Hariki
aee812b70a
fix mouse for chrome (for now)
...
Seems scroll delta is inconsistent between browsers, so for my chromium
installation it was simply not working at all due to snapping. Made it
so every event is a cursor size change for now. probably bad for smooth
mouse wheels, but for a complete fix we would have to keep track of
pixels scrolled and probably add a mouse wheel sensitivity setting
somewhere.
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-07 17:32:43 -03:00
Victor Seiji Hariki
3c0eed68ce
fix slider strange behavior when mouse left
...
also added / to all res references
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-07 13:32:33 -03:00
Victor Seiji Hariki
de4823e749
tool name no longer renders and breaks things
...
tool name now functions okay when cursor has 0 size
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-06 23:09:30 -03:00
Victor Seiji Hariki
5f16b8b21d
some more visual tweaks
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-06 20:08:55 -03:00
Victor Seiji Hariki
e16800e5cf
add tool identifier to reticle (it was too similar)
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-06 20:00:50 -03:00
Victor Seiji Hariki
2c82c0468f
some visual changes to image generation
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-06 18:28:34 -03:00
Victor Seiji Hariki
55de66a127
fix some console debug messages
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-06 12:32:37 -03:00
Victor Seiji Hariki
8df0649553
first gradient tooling test (img2img gradient border mask)
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-04 18:58:46 -03:00
Victor Seiji Hariki
14df643326
layers?
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-04 16:22:35 -03:00
Victor Seiji Hariki
aec096b856
layers... now exist?
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-04 08:00:39 -03:00
Victor Seiji Hariki
c35742b68f
removed download/no more dream tool softlocks
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 13:20:35 -03:00
Victor Seiji Hariki
59e783d159
no more scale factor, support for dream cursor size
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 10:05:14 -03:00
Victor Seiji Hariki
4681113f81
finer sliders
...
Now sliders can have a better precision when editing text than when
dragging.
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 07:56:48 -03:00
Victor Seiji Hariki
9dcef66c21
some optimization
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-01 18:05:14 -03:00
tim h
e0eed2831c
so much better
2022-11-30 21:25:06 -06:00
tim h
4dafe50248
tiny fix to reintroduce mask removal on image accept
2022-11-30 20:20:57 -06:00
Victor Seiji Hariki
af0fb5f198
fix #63
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-30 22:08:14 -03:00
Victor Seiji Hariki
7394ffff57
Add back "Enter" shortcut
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-30 19:18:32 -03:00
Victor Seiji Hariki
ce78370eb3
fix reject shortcut and add + shortcut to dream
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-30 18:57:40 -03:00
Victor Seiji Hariki
e5597889f2
Add shortcuts for image choosing/fix cursor
...
Add some shortcuts to dream image selection and fix strange cursor
behavior on resource add from dream. (l/r arrow keys for navigation,
enter for image select; esc for reject)
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-29 23:48:07 -03:00
Victor Seiji Hariki
6b0a25c15e
remove debug message and fix snap coords
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-29 20:43:13 -03:00
Victor Seiji Hariki
b2d51d40d4
pixel things seem to have been fixed
...
At least temporarily, still want to check what causes smaller canvases
to break pixel perfection
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-29 19:47:19 -03:00
Victor Seiji Hariki
44cf9c0e70
Layers.
...
Been working on this when I could the last few days.
Not quite infinity. Middle mouse button drag, ctrl mouse wheel zoom.
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-29 17:55:25 -03:00
Victor Seiji Hariki
83470ebba3
input.js types and move type definitions
...
Moved type definitions to .d.js files to avoid clutter and network
overhead. Added typing to input.js, but still no event typing
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 19:48:42 -03:00
tim h
1496c88382
remove commented out console.log entries
...
just wanted to make sure they existed in history
2022-11-27 13:24:28 -06:00