Interactive sketches

Several years ago I used Processing to create sketches for my chess visualization project. I created videos of the sketches and stored them on Vimeo, for viewing on a website.

I am returning to that project, but now want to create interactive displays, i.e., allow a visitor to select the chess games (stored in a MySQL database on my hosted site), define selected sketch parameters (e.g., colors, execution speed, etc.) and then execute the sketch.

I am hoping this group would be able to suggest some approaches in dealing with the interactive issues and the execution of sketches “on-the-fly” on the website.

I see there are a variety of Processing GUI libraries, but I’m a little unsure of their status (some seem not to have been touched for many years) and ease of use.

I expect to use JavaScript for the project.

Thanks in anticipation.