Skip to content

Migrate vector data and tools to use nodes - #1065

Merged
Keavon merged 22 commits into
masterfrom
vector-node-rendering
Mar 26, 2023
Merged

Keavon merged 22 commits into
masterfrom
vector-node-rendering

Conversation

@0HyperCube

@0HyperCube 0HyperCube commented Mar 2, 2023

Copy link
Copy Markdown
Contributor

Closes #997

The ellipse tool now inserts a node graph. Currently the transform on the frame layer is reset every time the node graph is run (so it resets back to 1px in the top left), however changes to the transform node are permanent.

Eventually all tools will modify the transform nodes instead of the transform on the layer.

Migrate generator tools:

  • Ellipse
  • Freehand
  • Line
  • Pen
  • Rectangle
  • Shape
  • Spline

Migrate modifier tools:

  • Fill
  • Path
  • Gradient
  • Select

Broken things:

  • Setting fill on a spline / freehand
  • Cannot use fill tool on unselected layers
  • Properties panel rotate and scale are not around pivot
  • Select tool does not properly outline shapes
  • Pivot not updated when dragged with select tool
  • Pivot not in properties panel
  • Boolean operations node #1091

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 2, 2023

Copy link
Copy Markdown

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 230a9d3
Status: ✅  Deploy successful!
Preview URL: https://3c0e3e55.graphite.pages.dev
Branch Preview URL: https://vector-node-rendering.graphite.pages.dev

View logs

@0HyperCube
0HyperCube marked this pull request as draft March 2, 2023 23:15
@0HyperCube
0HyperCube force-pushed the vector-node-rendering branch from 08bc9e5 to 5c14761 Compare March 11, 2023 10:44
@Keavon
Keavon force-pushed the vector-node-rendering branch from a8e2bf8 to 5edff84 Compare March 12, 2023 18:56
@isiko isiko mentioned this pull request Mar 15, 2023
@0HyperCube
0HyperCube marked this pull request as ready for review March 21, 2023 22:30
@Keavon Keavon changed the title Add rendering to vector nodes Migrate vector data and tools to use nodes Mar 26, 2023
@Keavon Keavon mentioned this pull request Mar 26, 2023
3 tasks
@Keavon
Keavon force-pushed the vector-node-rendering branch from b352da3 to 95dfdd9 Compare March 26, 2023 00:40
@Keavon
Keavon merged commit ac49519 into master Mar 26, 2023
@Keavon
Keavon deleted the vector-node-rendering branch March 26, 2023 07:03
TrueDoctor pushed a commit that referenced this pull request Mar 28, 2023
* Add rendering to vector nodes

* Add line, shape, rectange and freehand tool

* Fix transforms, strokes and fills

* Migrate spline tool

* Remove blank lines

* Fix test

* Fix fill in properties

* Select layers when filling

* Properties panel transform around pivot

* Fix select tool outlines

* Select tool modifies node graph pivot

* Add the pivot assist to the properties

* Improve setting non existant fill UX

* Cleanup hash function

* Path and pen tools

* Bug fixes

* Disable boolean ops

* Fix default handle smoothing on ellipses

* Fix test and warnings

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
Keavon added a commit that referenced this pull request Jul 30, 2023
* Add rendering to vector nodes

* Add line, shape, rectange and freehand tool

* Fix transforms, strokes and fills

* Migrate spline tool

* Remove blank lines

* Fix test

* Fix fill in properties

* Select layers when filling

* Properties panel transform around pivot

* Fix select tool outlines

* Select tool modifies node graph pivot

* Add the pivot assist to the properties

* Improve setting non existant fill UX

* Cleanup hash function

* Path and pen tools

* Bug fixes

* Disable boolean ops

* Fix default handle smoothing on ellipses

* Fix test and warnings

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate Shape layers to nodes

2 participants