Skip to content

moebiussurfing/ofxSurfingPresetsLite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

A simple class to handle an ofParameterGroup presets with some helpers to randomize and Kit organization.

This class is based on and separated from ofxSurfingHelpers / Example.

Features

  • Use your preferred UI library:
    • ofxGui or ImGui (ofxSurfingImGui).
    • Could implement other UI library extending the baseClass: ofxSurfingPresetsLite.h.
  • Auto-created UI controls for added ofParameterGroup params content.
  • Persistent settings as index selected, matrix sizes (ImGui), and settings.
  • Manager:
    • Auto-populate a Kit of presets if no files are found. (App is opening for the first time).
    • Simple randomizer and reset preset.
    • Populate a Kit of copies from selected preset or new randomizations.
    • Copy and Swap presets on the matrix clicker. (ImGui)

Screenshots

1_Example_Presets_ofxGui

2_Example_Presets_ImGui

Required

For Example 1

  • ofxGui / OF core

For Example 2

TODO

  • Add multiple independent groups.
  • Improve randomizer: center value and variation power.
  • Add multiple Kits management.

TESTED SYSTEMS

  • Windows 11 / VS 2022 / OF 0.12+ @GitHub master branch
  • Should work probably also on macOS and Linux.

LICENSE

MIT License