Hi,
I would like to save parameters made with sliders as a set of preset with a button, loadable later with this button
Someone can give direction where I should looking for please
Thank you
Hi,
I would like to save parameters made with sliders as a set of preset with a button, loadable later with this button
Someone can give direction where I should looking for please
Thank you
Use a Table
you can read out the data and make a table from them and load/save the data : https://www.processing.org/reference/loadTable_.html
see https://www.processing.org/reference/Table.html
When you load the table, read the data from the table and set the sliders to the values from the table.
JSON Data
you could use this: https://www.processing.org/reference/saveJSONArray_.html
with loadJSONArray
Tutorial
see also https://www.processing.org/tutorials/data/
Thanks Chris for this fast reply
I will try
Thank you also for the quick answer