| | Extra GUI controls? | |
| | Author | Message |
---|
SamCorny
Posts : 40 Points : 56 Reputation : 0 Join date : 2017-02-06 Location : NYC
| Subject: Extra GUI controls? Mon Feb 06, 2017 5:58 pm | |
| I see the library dat.Gui can be customized but it doesn't support every kind of controls, is there a way to add more controls? Round, spinner for example? Or can I just use another JS library?
| |
| | | Admin Admin
Posts : 46 Points : 78 Reputation : 3 Join date : 2017-02-06 Location : London, Milan
| Subject: Re: Extra GUI controls? Mon Feb 06, 2017 8:21 pm | |
| Hi Sam,
in collaboration with a friend we are developing a new editor and we basically decided to user other tools instead that Dat.GUI. So could you please explain better what are you looking for? | |
| | | SamCorny
Posts : 40 Points : 56 Reputation : 0 Join date : 2017-02-06 Location : NYC
| Subject: Re: Extra GUI controls? Mon Feb 06, 2017 8:50 pm | |
| Because im working on this example by David Walsh and its very simple and cool but the JS Gui library as I know doe not allow control like RotoButton and spinner button. In every ThreeJS example and also in this example (out from 3D)controls are the same input field, slider and button. - Code:
-
var fizzyText = new FizzyText("david walsh"); var gui = new DAT.GUI();
// Text field gui.add(fizzyText, "message");
// Sliders with min + max gui.add(fizzyText, "maxSize").min(0.5).max(7); gui.add(fizzyText, "growthSpeed").min(0.01).max(1).step(0.05); gui.add(fizzyText, "speed", 0.1, 2, 0.05); // shorthand for min/max/step
// Sliders with min, max and increment. gui.add(fizzyText, "noiseStrength", 10, 100, 5);
// Boolean checkbox gui.add(fizzyText, "displayOutline"); | |
| | | Admin Admin
Posts : 46 Points : 78 Reputation : 3 Join date : 2017-02-06 Location : London, Milan
| Subject: Re: Extra GUI controls? Tue Feb 07, 2017 10:29 am | |
| I understand what you mean, you need a button like a sound control or 360deg rotary button right? Ya ya ya, in collab with my colleague we need it too, but I think he found something useful... so let us make some changements and we will share it here. | |
| | | Admin Admin
Posts : 46 Points : 78 Reputation : 3 Join date : 2017-02-06 Location : London, Milan
| Subject: Re: Extra GUI controls? Tue Feb 07, 2017 3:06 pm | |
| Sam, I posted a "rotary button" into the Javascript libraries section, just take a look and let me know if it is fine for you. | |
| | | Sponsored content
| Subject: Re: Extra GUI controls? | |
| |
| | | | Extra GUI controls? | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| Our first goal | Mon Feb 27, 2017 10:12 am by Admin | More than 20 users,
almost 150 posts,
a new big project is coming,
about …
| Comments: 0 |
Forum changements | Tue Feb 21, 2017 6:10 pm by Admin | Dear members,
I have personally made some changements into the forum, now …
| Comments: 2 |
A new revision of the forum rules | Tue Feb 07, 2017 9:40 pm by Admin | Dear Members,
it is my pleasure to tell you below all the new functions I …
| Comments: 0 |
Top posting users this week | |
|