InvokeAI/invokeai/frontend/web/src/features/canvas/util
psychedelicious cecee33bc0 feat(ui): support grid size of 8 on canvas
- Support grid size of 8 on canvas
- Internal canvas math works on 8
- Update gridlines rendering to show 64 spaced lines and 32/16/8 when zoomed in
- Bbox manipulation defaults to grid of 64 - hold shift to get grid of 8

Besides being something we support internally, supporting 8 on canvas avoids a lot of hacky logic needed to work well with aspect ratios.
2024-01-02 07:28:53 -05:00
..
blobToDataURL.ts feat(ui): restore save/copy/download/merge functionality 2023-05-15 22:21:03 +10:00
calculateCoordinates.ts feat(ui): ux improvements & redesign 2023-12-29 08:26:14 -05:00
calculateScale.ts fix(ui): fix send to canvas crash 2023-09-15 11:05:53 +10:00
canvasToBlob.ts feat(ui): wip canvas 2023-05-11 11:55:51 +10:00
colorToString.ts feat(ui): ux improvements & redesign 2023-12-29 08:26:14 -05:00
constants.ts all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
createMaskStage.ts feat(ui): ux improvements & redesign 2023-12-29 08:26:14 -05:00
dataURLToImageData.ts feat(ui): wip canvas 2023-05-11 11:55:51 +10:00
downloadBlob.ts feat(ui): restore save/copy/download/merge functionality 2023-05-15 22:21:03 +10:00
floorCoordinates.ts feat(ui): ux improvements & redesign 2023-12-29 08:26:14 -05:00
getBaseLayerBlob.ts feat(ui): ux improvements & redesign 2023-12-29 08:26:14 -05:00
getCanvasData.ts feat(ui): ux improvements & redesign 2023-12-29 08:26:14 -05:00
getCanvasGenerationMode.ts feat(ui): ux improvements & redesign 2023-12-29 08:26:14 -05:00
getFullBaseLayerBlob.ts feat(ui): fix canvas saving 2023-06-06 14:30:53 +10:00
getScaledBoundingBoxDimensions.ts feat(ui): support grid size of 8 on canvas 2024-01-02 07:28:53 -05:00
getScaledCursorPosition.ts feat(ui): ux improvements & redesign 2023-12-29 08:26:14 -05:00
konvaInstanceProvider.ts feat(ui): ux improvements & redesign 2023-12-29 08:26:14 -05:00
konvaNodeToBlob.ts feat(ui): ux improvements & redesign 2023-12-29 08:26:14 -05:00
konvaNodeToImageData.ts feat(ui): ux improvements & redesign 2023-12-29 08:26:14 -05:00
roundDimensionsToMultiple.ts feat(ui): support grid size of 8 on canvas 2024-01-02 07:28:53 -05:00
roundToHundreth.ts all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00