Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions frontend/src/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ import NodeIsNonzero from "/../branding/assets/16x16-nodes/node-is-nonzero.svg";
import NodeItemAtIndex from "/../branding/assets/16x16-nodes/node-item-at-index.svg";
import NodeIterate from "/../branding/assets/16x16-nodes/node-iterate.svg";
import NodeJitterPoints from "/../branding/assets/16x16-nodes/node-jitter-points.svg";
import NodeLSystem from "/../branding/assets/16x16-nodes/node-l-system.svg";
import NodeLeastCommonMultiple from "/../branding/assets/16x16-nodes/node-least-common-multiple.svg";
import NodeLerp from "/../branding/assets/16x16-nodes/node-lerp.svg";
import NodeLessThan from "/../branding/assets/16x16-nodes/node-less-than.svg";
Expand Down Expand Up @@ -375,6 +376,7 @@ import NodeText from "/../branding/assets/16x16-nodes/node-text.svg";
import NodeThreshold from "/../branding/assets/16x16-nodes/node-threshold.svg";
import NodeTransform from "/../branding/assets/16x16-nodes/node-transform.svg";
import NodeTriangulate from "/../branding/assets/16x16-nodes/node-triangulate.svg";
import NodeTurtlePath from "/../branding/assets/16x16-nodes/node-turtle-path.svg";
import NodeUngroup from "/../branding/assets/16x16-nodes/node-ungroup.svg";
import NodeUnweld from "/../branding/assets/16x16-nodes/node-unweld.svg";
import NodeVaryFillColors from "/../branding/assets/16x16-nodes/node-vary-fill-colors.svg";
Expand Down Expand Up @@ -524,6 +526,7 @@ export const ICON_16X16_NODES = {
NodeLogicalNot: { svg: NodeLogicalNot, size: 16 },
NodeLogicalOr: { svg: NodeLogicalOr, size: 16 },
NodeLoremIpsum: { svg: NodeLoremIpsum, size: 16 },
NodeLSystem: { svg: NodeLSystem, size: 16 },
NodeMagnitude: { svg: NodeMagnitude, size: 16 },
NodeMakeOpaque: { svg: NodeMakeOpaque, size: 16 },
NodeMandelbrot: { svg: NodeMandelbrot, size: 16 },
Expand Down Expand Up @@ -657,6 +660,7 @@ export const ICON_16X16_NODES = {
NodeThreshold: { svg: NodeThreshold, size: 16 },
NodeTransform: { svg: NodeTransform, size: 16 },
NodeTriangulate: { svg: NodeTriangulate, size: 16 },
NodeTurtlePath: { svg: NodeTurtlePath, size: 16 },
NodeUngroup: { svg: NodeUngroup, size: 16 },
NodeUnweld: { svg: NodeUnweld, size: 16 },
NodeVaryFillColors: { svg: NodeVaryFillColors, size: 16 },
Expand Down
9 changes: 9 additions & 0 deletions node-graph/libraries/core-types/src/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,15 @@ pub const ATTR_SMOOTH: &str = "smooth";
/// the internal addressing: a `PointId` on a `Vector`'s point pool, or a `SegmentId` on the `List<i64>`
/// inside a `Path` at the anchor reference the segment departs from.
pub const ATTR_ID: &str = "id";
/// Point's `i64` count of the `[` branches the turtle was nested in when drawing it, on a `Vector`'s point pool from Turtle Path.
pub const ATTR_DEPTH: &str = "depth";
/// Point's `f64` distance the turtle traveled from its start to reach it, on a `Vector`'s point pool from Turtle Path.
pub const ATTR_DISTANCE: &str = "distance";
/// Point's `f64` direction in degrees the turtle faced arriving at it (`0.` along +X, clockwise on screen), on a `Vector`'s
/// point pool from Turtle Path.
pub const ATTR_HEADING: &str = "heading";
/// Point's `f64` width the turtle drew with there (`1.` unless set by `!(w)`), on a `Vector`'s point pool from Turtle Path.
pub const ATTR_WIDTH: &str = "width";
/// Text item's font size in document-space units (`f64`, implicit default `24.`).
pub const ATTR_FONT_SIZE: &str = "font_size";
/// Text item's font, as a `Resource` of the loaded font file.
Expand Down
1 change: 1 addition & 0 deletions node-graph/nodes/text/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ graphene-hash = { workspace = true }
graphene-resource = { workspace = true }
vector-types = { workspace = true }
node-macro = { workspace = true }
math-parser = { workspace = true }

# Workspace dependencies
dyn-any = { workspace = true }
Expand Down
Loading
Loading