question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Options GUI Editor

See original GitHub issue

The tsParticles options are becoming huge and I think a GUI editor that can be easily added could help a lot find the right config for everyone.

I started from dat.GUI but it didn’t fit very well because it handles array really bad, and undefined too.

So I restarted from scratch but it needs a lot of work for creating the right components, if you want to start contributing here it’s a good place to start because you’ll explore all the options combinations.

You can find the project here: https://github.com/matteobruni/tsparticles/tree/dev/core/editor (/core/editor from this project root folder, for now only in dev and staging branch)

This issue for now it’s not scheduled for a deadline, but it has a requirement: No UI frameworks like React, Angular, Vue, jQuery or others, this must be easily added to all tsParticles installations.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
issue-label-bot[bot]commented, Jul 8, 2020

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.79. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

1reaction
matteobrunicommented, Aug 21, 2020

Hi @heaversm,

If you have the particles Container (the main class) you can call the refresh method.

If you don’t know how to retrieve that there are two methods:

tsParticles.load(<id>, <options>).then(container => {
// container is what you need
});

// or

// index is 0-based, it is sequential to all tsParticles instances created.
const container = tsParticles.domItem(<index>);

// if you just have one tsParticles instance
const container = tsParticles.domItem(0);

// after that just call refresh method like this:
container.refresh();
Read more comments on GitHub >

github_iconTop Results From Across the Web

GUI options - Genesys Documentation
For the most up to date Workspace Desktop Edition configuration options, see the Genesys Configuration Option Database. gui.editor-zoom-range ...
Read more >
GUI Editor
You can now add sliders to your GUIs. This allows you to have a nice interface for the player to change settings such...
Read more >
Settings Editor GUI - Open Shop Channel
Download Settings Editor GUI from the Open Shop Channel applications repository. Settings Editor GUI is a perfect add-on to postLoader, but it can...
Read more >
GUI Designer | IntelliJ IDEA Documentation - JetBrains
File | Settings | Editor | GUI Designer for Windows and Linux ... This option specifies what kind of output the GUI Designer...
Read more >
The GUI Editor | Babylon.js Documentation
Creating GUIs With Ease. Introduced in Babylon.js 5.0, the GUI Editor is a visual editor for building complex and beautiful graphical user interfaces....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found