Geometry nodes - Group Input AND random?

OK, first of all, I honestly don’t know in which category to post this because it does not fit into any category listed. I think that there should be a separate category for Geometry Nodes as some subjects can be kind of vague.

Anyway, not to get off the point…

I like that I can use the Group Input node to create a slider to adjust settings in the properties panel in the Geometry Node modifier. However, I also want to create an OPTIONAL randomise button that I can use to get random values for that same slider and, yet, not override the slider values. So, basically, have a slider but with the option of random values for the same.

Does anyone know how to set this up in Geometry Nodes?

Thanks in advance.

Cheers,
Paul
(mix_mash)

switch node may help you,

Hope that helps.

Sure, you can get that functionality:

But, the UI doesn’t really handle the boolean switch value really robustly:
image

So, you get a 0=off 1=on switch, but it works!

Thanks for the help but I am not getting what I want. I was hoping for a simple ‘random’ button that I could press to give me a random result but I still have to use a slider for the ‘Seed’ or ‘ID’ value to give me a ‘random’ result. And when I use the term ‘random’, I mean that it still gives me linear result. All the sliders do are mix up the original sequence of numbers and rearranges them into two new lists (Seed and ID). It is not truly random but just an alternative numerical listing.

What I am really looking for is a simple button that goes under the original slider which randomises the current slider value. That’s it.

Maybe I’m asking for too much but it seems like having a proper ‘Random’ button option, rather than sliders, in the ‘Randomize’ node is something that can be more beneficial than what the current ‘Randomize’ node has in it.

I appreciate both your help so far, nonetheless.

If anyone knows of a set up more to what I am looking for then please let me know.

Cheers,
Paul
(mix_mash)

Alpha and Sterling aren’t alone in failing to understand your request…

Maybe draw some diagrams, or do some screen-shots/mock-ups of what you want.

Good luck.

As I said, the user interface isn’t very modifiable through GN currently. The only way to get a button is through python scripting.

As far as random not being random enough for you, I’m not sure what to tell you.

Well, it can’t be helped. I hope that over time the Geo Nodes become more versatile because the potential for creating very versatile Geo Node tools or objects with less need for python or programming would make the Blender community thrive more, especially for people not so technically minded.

Thanks to everyone who contributed.

Cheers,
Paul
(mix_mash)

Hi Paul,

I am sorry, but i think Blender GeoNodes is already extreme versatile (of course you can improve everything…) and don’t forget that GeoNodes is still heavily under development.
The 2nd thing i want to mention is: Blender is nearly in all areas quite “mathematically” and you can do A LOT MORE with python and mathematic skill than without. So maybe you should try learning python…because you will be surprised what’s then possible. Not only with GN.
Think of shader nodes: If you have no math skills, your shading nodes and results would be very poor. Same with geonodes. If you don’t understand what a normal vector is - you will only make very basic animations/results. Same with particles. Even just the settings are often “just” mathematic values which you often have to understand to get good results. Yes, you can “just” try it out and hopefully “understand” what it does - but often you won’t understand things just by trying out. And the same is true with python skills. There are very often very tedious tasks in Blender where you have to do the same steps over and over again. E.g. assigning materials to meshes, changing a lot of materials, changing a lot of modifiers …and so on. Of course you can do this in hours of work manually. Or you learn python…write a small script and do the same task in seconds (if you know python already). It’s up to you whether you prefer to do it manually or whether you wanna learn something new!