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

Refactor into sg2d-* crates #10

Merged
merged 4 commits into from
Jan 4, 2024
Merged

Refactor into sg2d-* crates #10

merged 4 commits into from
Jan 4, 2024

Conversation

jonmmease
Copy link
Owner

Splits the functionality into a series of sg2d-* crates (sg2d for "SceneGraph 2D").

  • sg2d: 2D SceneGraph that is independent of Vega and wgpu.
  • sg2d-vega: Logic for parsing Vega JSON scene graphs and building sg2d scene graphs.
  • sg2d-wgpu: Logic for rendering sg2d scene graphs using wgpu. Independent of Vega.
  • sg2d-vega-test-data: Logic for generating test vega specs and PNG images.

The motivation for these changes is that I'd like to support building scene graphs directly, without Vega in the loop. And I'd like to leave open the possibility of rendering scenegraphs with technologies other that wgpu.

@jonmmease jonmmease merged commit d93a6be into main Jan 4, 2024
1 check passed
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.

1 participant