psychedelicious
acc1fefa77
refactor(ui): update size/prompts state
2024-09-06 22:56:24 +10:00
psychedelicious
a850ffa537
refactor(ui): rip out old control adapter implementation
2024-09-06 22:56:24 +10:00
psychedelicious
2bcb53fe03
refactor(ui): canvas v2 (wip)
...
fix entity count select
2024-09-06 22:56:24 +10:00
psychedelicious
94fc73ed95
refactor(ui): canvas v2 (wip)
...
delete unused file
2024-09-06 22:56:24 +10:00
psychedelicious
df9f998671
refactor(ui): canvas v2 (wip)
...
merge all canvas state reducers into one big slice (but with the logic split across files so it's not hell)
2024-09-06 22:56:24 +10:00
psychedelicious
be3ad43a07
refactor(ui): canvas v2 (wip)
...
Fix a few more components
2024-09-06 22:56:24 +10:00
psychedelicious
5aa155c39f
refactor(ui): canvas v2 (wip)
...
missed a spot
2024-09-06 22:56:24 +10:00
psychedelicious
c21a21c2aa
refactor(ui): canvas v2 (wip)
...
Redo all UI components for different canvas entity types
2024-09-06 22:56:24 +10:00
psychedelicious
91bcdc10eb
refactor(ui): canvas v2 (wip)
2024-09-06 22:56:24 +10:00
psychedelicious
f18c8e2239
refactor(ui): canvas v2 (wip)
2024-09-06 22:56:24 +10:00
psychedelicious
2db7608401
refactor(ui): canvas v2 (wip)
2024-09-06 22:56:24 +10:00
psychedelicious
506632206c
refactor(ui): canvas v2 (wip)
2024-09-06 22:56:24 +10:00
psychedelicious
234a1b6571
feat(ui): bbox tool
2024-09-06 22:56:24 +10:00
psychedelicious
c9d45d864f
fix(ui): rect tool preview
2024-09-06 22:56:24 +10:00
psychedelicious
c0177516f2
fix(ui): multiple stages
2024-09-06 22:56:24 +10:00
psychedelicious
accf2b5831
feat(ui): decouple konva logic from nanostores
2024-09-06 22:56:24 +10:00
psychedelicious
2f14f83a9a
feat(ui): store all stage attrs in nanostores
2024-09-06 22:56:24 +10:00
psychedelicious
262968d0c9
feat(ui): round stage scale
2024-09-06 22:56:24 +10:00
psychedelicious
244ac735af
chore(ui): bump konva
2024-09-06 22:56:24 +10:00
psychedelicious
b919bcfc8c
feat(ui): generation bbox transformation working
...
whew
2024-09-06 22:56:24 +10:00
psychedelicious
c21e44cf6b
feat(ui): wip generation bbox
2024-09-06 22:56:24 +10:00
psychedelicious
593ff0be75
feat(ui): wip generation bbox
2024-09-06 22:56:24 +10:00
psychedelicious
6fd042df96
feat(ui): CL zoom and pan, some rendering optimizations
2024-09-06 22:56:24 +10:00
psychedelicious
c3e1cf7230
Revert "feat(ui): add x,y,scaleX,scaleY,rotation to objects"
...
This reverts commit 53318b396c967c72326a7e4dea09667b2ab20bdd.
2024-09-06 22:56:24 +10:00
psychedelicious
5b3d86ab14
feat(ui): layers manage their own bbox
2024-09-06 22:56:24 +10:00
psychedelicious
5d4bbbd806
docs(ui): konva image object docstrings
2024-09-06 22:56:24 +10:00
psychedelicious
cfc6d9e439
feat(ui): add x,y,scaleX,scaleY,rotation to objects
2024-09-06 22:56:24 +10:00
psychedelicious
d10954f47a
fix(ui): show color picker when using rect tool
2024-09-06 22:56:24 +10:00
psychedelicious
c3e1198448
feat(ui): image loading fallback for raster layers
2024-09-06 22:56:24 +10:00
psychedelicious
fe9f042111
feat(ui): bbox calc for raster layers
2024-09-06 22:56:24 +10:00
psychedelicious
32e86ba72d
feat(ui): do not fill brush preview when drawing
2024-09-06 22:56:24 +10:00
psychedelicious
28cd39d152
fix(ui): brush spacing handling
2024-09-06 22:56:24 +10:00
psychedelicious
25f3e25555
fix(ui): jank when starting a shape when not already focused on stage
2024-09-06 22:56:24 +10:00
psychedelicious
699fbb4e55
feat(ui): wip raster layers
...
I meant to split this up into smaller commits and undo some of it, but I committed afterwards and it's tedious to undo.
2024-09-06 22:56:24 +10:00
psychedelicious
5fa93de8c4
feat(ui): support image objects on raster layers
...
Just the UI and internal state, not rendering yet.
2024-09-06 22:56:24 +10:00
psychedelicious
74e976aae4
tidy(ui): clean up event handlers
...
Separate logic for each tool in preparation for ellipse and polygon tools.
2024-09-06 22:56:24 +10:00
psychedelicious
dd829e9d6a
feat(ui): raster layer reset, object group util
2024-09-06 22:56:24 +10:00
psychedelicious
56bca03fbe
feat(ui): rect shape preview now has fill
2024-09-06 22:56:24 +10:00
psychedelicious
d0572730a8
feat(ui): cancel shape drawing on esc
2024-09-06 22:56:24 +10:00
psychedelicious
eb816936ed
feat(ui): temp disable history on CL
2024-09-06 22:56:24 +10:00
psychedelicious
e1b9cac1df
feat(ui): raster layer logic
...
- Deduplicate shared logic
- Split up giant renderers file into separate cohesive files
- Tons of cleanup
- Progress on raster layer functionality
2024-09-06 22:56:24 +10:00
psychedelicious
d927b631c5
feat(ui): add raster layer rendering and interaction (WIP)
2024-09-06 22:56:24 +10:00
psychedelicious
17dc5d98d1
feat(ui): scaffold out raster layers
...
Raster layers may have images, lines and shapes. These will replace initial image layers and provide sketching functionality like we have on canvas.
2024-09-06 22:56:24 +10:00
psychedelicious
cda086093d
refactor(ui): revise types for line and rect objects
...
- Create separate object types for brush and eraser lines, instead of a single type that has a `tool` field.
- Create new object type for rect shapes.
- Add logic to schemas to migrate old object types to new.
- Update renderers & reducers.
2024-09-06 22:56:24 +10:00
Brandon Rising
bda579577c
chore: 4.2.9 version bump
2024-09-05 16:17:48 -04:00
Brandon Rising
a16b555d47
Simplify flux model dtype conversion in model loader
2024-09-05 15:47:14 -04:00
Brandon Rising
6667c39c73
Remove dependency of asizeof
2024-09-05 15:47:14 -04:00
Brandon Rising
5219ac12a6
Add comment explaining the cache make room call
2024-09-05 15:47:14 -04:00
Brandon Rising
445f813fb9
Update flux transformer loader to more efficiently use and release memory during upcasting
2024-09-05 15:47:14 -04:00
Brandon Rising
87f9e59cfb
Cast tensors in unquantized flux models to bfloat16 during loading
2024-09-05 15:47:14 -04:00