Total Pageviews

Wednesday 10 July 2024

开源的2D矢量图形编辑器-Graphite


Graphite是一款开源的 2D 矢量图形编辑器,适用于照片编辑、图像处理、图形设计、插图、数据可视化、数字绘画等领域。由节点图合成引擎(node graph compositing engine )提供支持,该引擎将图层与节点融合在一起,提供完全无损的编辑体验。Graphite 轻量级矢量图形编辑器可在浏览器中运行。其基于节点的合成器可让应用图像效果并与生成式 AI 共同创作艺术。项目遵守Apache2.0开源协议。

功能特色:

    精美、直观的界面
    节点图图像效果
    AI 辅助艺术创作
    实时协作

源代码:https://github.com/GraphiteEditor/Graphite

---------------------------------------------------------------------

2D vector & raster editor that melds traditional layers & tools with a modern node-based, non-destructive, procedural workflow.

graphite.rs

Redefining state-of-the-art graphics editing

Graphite is an in-development raster and vector graphics package that's free and open source. It is powered by a node graph compositing engine that fuses layers with nodes, providing a fully nondestructive editing experience.

Presently, Graphite is a lightweight vector graphics editor that runs in your browser. Its node-based compositor lets you apply image effects and co-create art with generative AI.

Photo editing, digital painting, desktop publishing, VFX compositing, and motion graphics are additional competencies planned on the roadmap to make Graphite a highly versatile content creation tool.

Launch the latest alpha release of the Graphite editor and learn more at the project website.

⭐ Please remember to star this project here on GitHub! ⭐

Red Dress (click to open this artwork and explore it yourself)

Valley of Spires (click to open this artwork and explore it yourself)

Discord community

Join our Discord community to chat with the community and development team. Feel free to lurk, ask questions, give suggestions, or get involved in the project. We are always seeking new collaborators to help test, design, and develop the software and this is where we communicate.

Building/contributing

We need Rust and web developers! See instructions here for setting up the project and getting started.

We are also in search of artists to create beautiful sample work in Graphite and illustrations for the website and social media. Please get in touch if you are able to help out.

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).

Features and roadmap

See the web page for this information.

from https://github.com/GraphiteEditor/Graphite

-----------------------------------------------------------

Getting started

Graphite is built with Rust and web technologies. Install the latest LTS version of Node.js and stable release of Rust, as well as Git.

Installing

Clone the project:

git clone https://github.com/GraphiteEditor/Graphite.git

On Debian-based (Ubuntu, Mint, etc.) Linux distributions, you may need to install the following packages:

sudo apt install libgtk-3-dev libsoup2.4-dev libjavascriptcoregtk-4.0-dev libwebkit2gtk-4.0-dev

On Fedora-based (RHEL, CentOS, etc.) Linux distributions, you may need to install the following packages:

sudo dnf install libsoup-devel gtk3-devel javascriptcoregtk4.0-devel webkit2gtk4.0-devel

Then install the required Node.js packages:

cd frontend
npm install

You only need to explicitly install Node.js dependencies. Rust's cargo dependencies will be installed automatically on your first build. One dependency in the build chain, wasm-pack, will be installed automatically on your system when the Node.js packages are installing. (If you prefer to install this manually, get it from the wasm-pack website, then install your npm dependencies with npm install --omit=optional instead.)

One tool in the Rust ecosystem does need to be installed:

cargo install cargo-watch

That's it! Now, to run the project while developing, just execute:

npm start

This spins up the dev server at http://localhost:8080 with a file watcher that performs hot reloading of the web page. You should be able to start the server, edit and save web and Rust code, and rarely have to kill the server (by hitting CtrlC twice). You sometimes may need to reload the browser's web page if the hot reloading didn't behave perfectly. This method compiles Graphite code in debug mode which includes debug symbols for viewing function names in stack traces. But be aware, it runs slower and takes more memory.

Production builds

You'll rarely ever need to do this, but to compile a production build with full optimizations:

cargo install cargo-about
npm run build

This produces the /frontend/dist directory containing the static site files that must be served by your own web server.

from https://graphite.rs/volunteer/guide/getting-started/

 



No comments:

Post a Comment