Quick intro: Im a noob who cooked up this crude way of visualizing some graphics in the juce graphics context, and generating some code for it.
Have no idea if anyone will get any use from it but I thought I’d share just in case… And if anyone feels inspired to add upon it then feel free. For my own case I’m pretty done with the thing. Here ya go.
floofaudio/JUCE-GRAPHICS-SHOP
4 Likes
ibisum
January 6, 2025, 2:19pm
3
Oh, this is cute! Would be great to have an “Import SVG” function.
… and an eventual conversion to CMake would be cool…
ibisum
January 6, 2025, 3:37pm
4
I went ahead and did this:
… and an eventual conversion to CMake would be cool…
PR here:
floofaudio:main
← seclorum:main
opened 03:36PM - 06 Jan 25 UTC
I added a CMakeLists.txt to build the project, as well as the requisite .gitigno… re lines needed to make the project usable in CLion.
I also converted the use of ValueTree& references to copies instead, as otherwise it would produce this error when building, e.g.:
```
Source/TransformSection.cpp:16:13: error: non-const lvalue reference to type 'ValueTree' cannot bind to a temporary of type 'ValueTree'
ValueTree& transformTree = componentTree.getChildWithName(TRANSFORM_TREE);
```
I originally tried marking the _ValueTree&_ refs as **const**, but this led to crashing at runtime which I didn't feel should have been necessary to further debug. Using ValueTree copies instead results in a functioning application.
Tested on MacOS Ventura 13.6.7 with:
```
set(CMAKE_CXX_COMPILER_ID "AppleClang")
set(CMAKE_CXX_COMPILER_VERSION "15.0.0.15000100")
```
2 Likes