Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Procedural vector data and attributes design considerations #2520

Open
Keavon opened this issue Apr 6, 2025 · 1 comment
Open

Procedural vector data and attributes design considerations #2520

Keavon opened this issue Apr 6, 2025 · 1 comment
Labels
Architecture Involves architecture or engineering work or discussion

Comments

@Keavon
Copy link
Member

Keavon commented Apr 6, 2025

Partially related to #2522, #2309, #1832, #1834, #950.

  • Data-oriented design (struct of arrays)
  • Harmony with Vello’s GPU-based pipeline
  • SIMD and compute shader friendliness
  • Sequential (like SVG) vs. index buffer (like OBJ) approach
  • Short-term: vector paths (SVG-style open or closed paths)
  • Long-term: vector meshes (points, segments, and regions)
  • Segments representing any curve spline type
  • Basing paths around segments or manipulator groups
  • Relationship between anchors and handles
  • Columns for attributes (and custom attributes for passing along any info like color palette or other variables)
  • Open or closed faces
  • Subpaths
  • Fill rule
  • Winding order
  • Styling with fill
  • Styling with stroke
  • Stroke taper
  • Stroke being affected by parent groups that impose a stretch/skew transformation
  • Stroke caps/joins varying per-point
  • Avoiding cloning per node
  • Integration of monadic attributes into the graph
  • Copy on write attributes
  • Lazy evaluation of whole attributes (columns) or ranges (rows)
  • Propagating parametric modeling constraint relationships
  • Be a superset of a 3D mesh (including a Z axis) to support 3D to 2D vector flattening
  • Vector mesh depth sorting in the event of overlapping faces
  • Support for a bisection style drawing approach shown in https://www.youtube.com/watch?v=EZLEkhxiw9o
  • Support for a Shape Builder tool and Trim tool where you draw cuts through segments
@Keavon Keavon added the Architecture Involves architecture or engineering work or discussion label Apr 6, 2025
@Keavon Keavon added this to Task Board Apr 6, 2025
@github-project-automation github-project-automation bot moved this to Short-Term in Task Board Apr 6, 2025
@Keavon
Copy link
Member Author

Keavon commented Apr 6, 2025

I originally wrote this down January 2024, but I've transferred this here now for easier reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Architecture Involves architecture or engineering work or discussion
Projects
Status: Short-Term
Development

No branches or pull requests

1 participant