Page 1 of 1

Shuffle particles?

Posted: Sat Apr 27, 2024 6:25 pm
by Nicohk92
Let me explain. I have several elements emitting particles with the same exact settings. I would like for those particles to keep the settings but not come out exactly in the same way/order, to not look repetitive. Some other softwares have a randomize button to achieve that. Anything similar in Moho?

Re: Shuffle particles?

Posted: Sat Apr 27, 2024 9:07 pm
by hayasidist

Re: Shuffle particles?

Posted: Mon Apr 29, 2024 9:56 am
by Nicohk92
Thanks!

Unfortunately the Randomize particle checkbox won't do it. It randomizes the simulation yes, but carries the same randomized pattern to any duplicate or reference particle folder (even if ticked after duplication).

As for SetRandomSeed() you linked to, while I know how to install and use scripts, I have never made my own. I don't think it's a simple as copying and pasting that chunk of code into a .lua file is it?

Re: Shuffle particles?

Posted: Mon Apr 29, 2024 10:24 am
by slowtiger
Can't you just duplicate those layers and then introduce very small changes into the settings? Like 101 instead of 100 particles, and 2.4 instead of 2.3 in some velocity?

For continuous movement I do this: duplicate, then offset the layer for 5 sec or more.

Re: Shuffle particles?

Posted: Mon Apr 29, 2024 11:04 am
by Nicohk92
I didn't think about that. It's true that I can simply offset my different particle simulations on the timeline.

I just tried moving some left of frame 0 using the sequencer. It works but could be easier to navigate. Unless I'm missing something, there's no way to see left of frame 0 is there? I can't really precisely gauge by how many frames i offsetted left of 0. A bit of a finger in the wind thing.

Re: Shuffle particles?

Posted: Mon Apr 29, 2024 11:07 am
by Nicohk92
I can't really precisely gauge by how many frames i offsetted left of 0. A bit of a finger in the wind thing.
unless I move the parent folder to the right, offset my different particle emitters to the left, and place the parent folder back to frame 0.

Re: Shuffle particles?

Posted: Mon Apr 29, 2024 11:42 am
by hayasidist
Nicohk92 wrote: Mon Apr 29, 2024 9:56 am ...
As for SetRandomSeed() you linked to, while I know how to install and use scripts, I have never made my own. I don't think it's a simple as copying and pasting that chunk of code into a .lua file is it?
omg -- another script I'd forgotten about until this memory nudge..

try this (from 2018!) -- https://www.mediafire.com/file/saufux9i ... e.zip/file -- tested (briefly) on 14.1 and it seems ok.

Re: Shuffle particles?

Posted: Mon Apr 29, 2024 11:48 am
by Nicohk92
Works like a charm! Exactly what I needed. Thanks!

Re: Shuffle particles?

Posted: Mon Apr 29, 2024 11:51 am
by hayasidist
most welcome!