| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This PR adds example code files for the Processing SVG library, demonstrating five different approaches to exporting SVG graphics from Processing sketches.
Key Changes:
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file| File | Description |
|---|---|
| NoScreenDisplay/NoScreenDisplay.pde | Demonstrates SVG export without opening a display window |
| WithScreenDisplay/WithScreenDisplay.pde | Shows how to export SVG while displaying on screen using beginRecord() |
| SingleFrameFromAnimation/SingleFrameFromAnimation.pde | Captures a single frame from an animated sketch |
| ThreeDGeometry/ThreeDGeometry.pde | Exports 3D geometry as flattened SVG using beginRaw() |
| UsingCreateGraphics/UsingCreateGraphics.pde | Creates SVG files programmatically using createGraphics() |
Sorry, something went wrong.
|
Hi @SableRaf could you check if these examples are solid enough to explain how to use the SVG library? |
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good overall. I requested small changes.
Sorry, something went wrong.
| /** | ||
| * Single Frame from an Animation (With Screen Display) | ||
| * | ||
| * It's also possible to save one frame from a program with |
There was a problem hiding this comment.
"It's also possible to..." made sense in the context of the tutorial but it is confusing in an example that needs to stand on its own.
Sorry, something went wrong.
| @@ -0,0 +1,17 @@ | |||
| /** | |||
| * Using createGraphics() to Create an SVG File | |||
There was a problem hiding this comment.
It would be helpful to mention that this code won't display anything in the sketch window.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
Added 5 complete examples for the Processing SVG library based on the official reference documentation. These examples were previously listed on the Processing website but not bundled with the library.
Changes
Created examples directory with 5 working examples:
Closes
Fixes #1290