Shuffle particles?
Moderators: Víctor Paredes, Belgarath, slowtiger
Shuffle particles?
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?
- hayasidist
- Posts: 3840
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: Shuffle particles?
by script: set random seed: https://mohoscripting.com/methods/677
or "randomise playback" in the particle layer (see https://manual.lostmarble.com/app/page/ ... gJw4U9flX3 and https://tutorial.lostmarble.com/app/pag ... O0OGTFEhsr)
or "randomise playback" in the particle layer (see https://manual.lostmarble.com/app/page/ ... gJw4U9flX3 and https://tutorial.lostmarble.com/app/pag ... O0OGTFEhsr)
Re: Shuffle particles?
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?
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?
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.
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
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
Re: Shuffle particles?
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.
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?
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.I can't really precisely gauge by how many frames i offsetted left of 0. A bit of a finger in the wind thing.
- hayasidist
- Posts: 3840
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: Shuffle particles?
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.
Re: Shuffle particles?
Works like a charm! Exactly what I needed. Thanks!
- hayasidist
- Posts: 3840
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: Shuffle particles?
most welcome!