Go to file
Nitish Choudhary 66357540bb
Add max width/height to text layers and draggable text boxes to the Text tool (#2118)
* Make progress in text tool

* Add line_width to gcore and gstd

* minor fix

* Dragging sets line_width correctly

* Get draw overlay to work

* Typo fix

* Make progress in text tool

* Add line_width to gcore and gstd

* minor fix

* Dragging sets line_width correctly

* Get draw overlay to work

* Typo fix

* Improve text bounding box

* Add toggle for editing line width

* Take absolute value of drag

* Fix optional properties

* Code review

* Attempt to add box height and abort with keys

* Attempt to add key modifiers and snap manager

* Use resize for improved dragging

* Refactor typesetting configuration into a struct

* Fix missing px unit in frontend

* Remove lines on rendered text

* Fix backwards compatibility

* Refactor lenient slection as an associate function in tool data

* Add dashed quad to text nodes

* Use correct names for max height and width

* Additional renames and reorder

* ReResolve conflict

* Code review and improvements

---------

Co-authored-by: hypercube <0hypercube@gmail.com>
Co-authored-by: Keavon Chambers <keavon@keavon.com>
2024-12-31 20:50:47 -08:00
.devcontainer Fix, document, and update npm dependencies and tooling; fix Bezier-rs demos not building (#1857) 2024-07-24 18:05:01 -07:00
.github Update some dependencies (#2134) 2024-12-12 18:28:49 +00:00
.vscode Add max width/height to text layers and draggable text boxes to the Text tool (#2118) 2024-12-31 20:50:47 -08:00
demo-artwork Make Copy to Points and (Circular) Repeat and nodes output group data, and add flattening nodes (#2011) 2024-10-14 12:39:28 -07:00
editor Add max width/height to text layers and draggable text boxes to the Text tool (#2118) 2024-12-31 20:50:47 -08:00
frontend Add max width/height to text layers and draggable text boxes to the Text tool (#2118) 2024-12-31 20:50:47 -08:00
libraries Fix several bugged vector-related nodes 2024-12-26 16:36:45 -08:00
node-graph Add max width/height to text layers and draggable text boxes to the Text tool (#2118) 2024-12-31 20:50:47 -08:00
proc-macros Fix clippy lints (#2119) 2024-11-29 22:58:49 +00:00
website We reached 10k stars on GitHub! 2024-12-31 10:14:33 -08:00
.editorconfig Remove all references to Vue 2023-03-10 04:02:02 -08:00
.gitattributes Update Git Attributes for JSON syntax highlighting in `*.graphite` files (#1752) 2024-05-13 22:35:32 +00:00
.gitignore Add profiling metrics for, and speed up, Graphene graph compilation (#1924) 2024-08-12 03:07:36 -07:00
.nvmrc Add dev container configuration 2024-01-24 23:04:00 +00:00
.prettierrc Fix Bezier-rs interactive demos and migrate its Webpack bundler to Vite 2024-01-04 23:13:40 -08:00
Cargo.lock New node: Math (#2121) 2024-12-17 07:08:14 +00:00
Cargo.toml Update some dependencies (#2134) 2024-12-12 18:28:49 +00:00
LICENSE.txt Add Apache 2 license 2020-07-12 13:58:50 -07:00
README.md Update the readme 2024-12-30 03:17:39 -08:00
about.hbs Replace license generator web infra to use Vite 2023-11-13 03:38:36 -08:00
about.toml Migrate node graph UI interaction from frontend to backend (#1768) 2024-06-15 08:55:33 -07:00
deny.toml Update some dependencies (#2134) 2024-12-12 18:28:49 +00:00
package-lock.json Add dev container configuration 2024-01-24 23:04:00 +00:00
package.json Simplify build process by auto-installing npm packages and simplify the contributor guide (#1799) 2024-07-14 20:16:02 -07:00
rustfmt.toml Upgrade rustfmt to 2021 edition 2021-11-02 20:08:39 -07:00
shell.nix Rename Raw-rs to Rawkit (#2088) 2024-11-03 08:10:39 +00:00

README.md

Graphite logo

Your procedural toolbox for 2D content creation

Graphite is a free, open source vector and raster graphics engine, available now in alpha. Get creative with a nondestructive editing workflow that combines layer-based compositing with node-based generative design.

Starting life as a vector editor, Graphite is evolving into a generalized, all-in-one graphics toolbox that's built more like a game engine than a conventional creative app. The editor's tools wrap its node graph core, providing user-friendly workflows for vector, raster, and beyond. Photo editing, motion graphics, digital painting, desktop publishing, and VFX compositing are additional competencies planned on the roadmap to make Graphite a highly versatile content creation tool.

Learn more from the website, subscribe to the newsletter, consider volunteering or donating, and remember to give this repository a !


Discord      Reddit      Bluesky      Twitter      YouTube

Screenshots

"Painted Dreams" vector artwork

Magazine spread

"Valley of Spires" vector artwork

"Marbled Mandelbrot" fractal raster artwork

Contributing/building the code

Are you a graphics programmer or Rust developer? Graphite aims to be one of the most approachable projects for putting your engineering skills to use in the world of open source. See instructions here for setting up the project and getting started.

By submitting code for inclusion in the project, you are agreeing to license your changes under the Apache 2.0 license, and that you have the authority to do so. Some directories may have other licenses, like dual-licensed MIT/Apache 2.0, and code submissions to those directories mean you agree to the applicable license(s).

Support our mission ❤️

Graphite is 100% community built and funded. Please become a part of keeping our project alive and thriving with a donation if you share a belief in our mission:

Graphite strives to unshackle the creativity of every budding artist and seasoned professional by building the best comprehensive art and design tool that's accessible to all.

Mission success will come when Graphite is an industry standard. A cohesive product vision and focus on innovation over imitation is the strategy that will make that possible.