Shuffle particles?

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Nicohk92
Posts: 309
Joined: Sun Apr 13, 2014 4:31 pm

Shuffle particles?

Post 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?
User avatar
hayasidist
Posts: 3557
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Shuffle particles?

Post by hayasidist »

User avatar
Nicohk92
Posts: 309
Joined: Sun Apr 13, 2014 4:31 pm

Re: Shuffle particles?

Post 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?
User avatar
slowtiger
Posts: 6089
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Re: Shuffle particles?

Post 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.
AS 9.5 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15

Moho 14.1 Mac Mini Plus OS 13.5
User avatar
Nicohk92
Posts: 309
Joined: Sun Apr 13, 2014 4:31 pm

Re: Shuffle particles?

Post 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.
User avatar
Nicohk92
Posts: 309
Joined: Sun Apr 13, 2014 4:31 pm

Re: Shuffle particles?

Post 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.
User avatar
hayasidist
Posts: 3557
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Shuffle particles?

Post 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.
Last edited by hayasidist on Mon Apr 29, 2024 11:51 am, edited 1 time in total.
User avatar
Nicohk92
Posts: 309
Joined: Sun Apr 13, 2014 4:31 pm

Re: Shuffle particles?

Post by Nicohk92 »

Works like a charm! Exactly what I needed. Thanks!
User avatar
hayasidist
Posts: 3557
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Shuffle particles?

Post by hayasidist »

most welcome!
Post Reply