{"version":"1.0","type":"rich","title":"Recursive directory search in openframeworks","description":"This example demonstrates a recursive directory search that filters for image files with the extensions jpg, png, gif, and jpeg, collecting matching `ofFile` objects into a vector. The `scan_dir` function traverses each directory using `ofDirectory` and `ofFile` from openFrameworks, recursively descending into subdirectories while sorting entries and checking each file’s extension against the allowed list. Found image files are appended to the `files` vector for subsequent visualization. The code relies on `std::find` and the standard algorithm library to compare extensions.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-daa815b4c6e938875017?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}