Hi, I am Vishal Singh and I’m pursuing my graduation in Computer Science At Harcourt Butler Technical University in India.I have been using p5.js from last one year and made few contribution to p5.js. I was going through p5.js library and I encounter with P5.TouchGui which was part of previous gsoc’19 project made by Carlos Gracio(l05). Currently p5.touchgui has Button, Toggle, Checkbox, GuiSlider, GuiSliderV, GuiCrossfader / GuiCrossfaderV, GuiSlider2d, GuiJoystick as its componenet .I had a little conversation with Carlos Gracio(l05) regarding the possible feature enhancement.
Here are the Overview of the possible Feature Enhancement/Improvement in p5.touchgui library :
- Gui Object
Pad Bank :- The Pads object is a two-dimensional array of buttons (up to 16x16). They are intended to trigger events instead of represent state, since they eventually return to an ‘off’ value after you touch them. You can set colour and labels for the whole array or for each individual cell.
Kind of like the functional equivalent of an MPC/MPD or Launchpad, two tactile digital music interfaces.
TextField :- The Text Object produces no data when you touch it. Its purpose is to display arbitrary text including whitespace characters.
Range Slider :- A horizontal Slider that has range depicted as label on it and it can be touched or clicked and dragged side to side to change its value.
Color Picker :- A gui colorPicker which can be used to select the color and it will return color/color Object.
- Gui Style
loadStyleJson() :- Implementing the loadStyleJson() method which enable to load the style from the external json file.
More Preset Style :- Developing more color palettes. Currently p5.touchgui contains Gray(), Rose(), SeaFoam(), Blue(), TerminalGreen(), TerminalRed(), TerminalBlue(), TerminalYellow(), TerminalMagenta. Extending the Collection of preset style.
Page/Group Property(High Priority Feature) :- Implementation of Page/Group property in GuiObject Class. this property enable to grouped the guiObject and toggle together. This will also help to set the Style of same Grouped Object.
- Documentation is required for the prototype method, context method, all objects and essential method, this will help the beginners to understand the code easily.
- Implementing more Interractive Examples because Examples are the best to portrait about what a library can do.
Thanks and Regard.