6
$\begingroup$

I've been working with and fooling around with the magnetic force field. I noticed the seed number slightly change depending on the size of the force, but I wasn't sure what it did or what it controlled. Knowing that would likely help!

$\endgroup$

3 Answers 3

7
$\begingroup$

More detail can be found here.

The seed input determines the noise pattern of the force. This makes the force uneven and more realistic, especially useful for wind simulations, but also when dealing with gravity, magnetism, etc. This is a random number, and the seed input is calculated into the noise result. An example is the seed you can type in when you open a new world in Minecraft. A different seed result in a different map. Unrelevant, I know, but I think this is a good example.

You can adjust the amount of force noise under the noise input. Reduce this to 0 for no noise, or bump it up to 10 for a very uneven noise, meaning e.g. a wind force will blow more at one spot than another.

Hope this helps.

enter image description here

$\endgroup$
4
  • $\begingroup$ Thank you so much! If I am trying to make it as realistic as possible what would you think is the best number to go with? $\endgroup$ Jul 31, 2017 at 15:05
  • $\begingroup$ That totally depends on what you're making, and at what scale. So what force field are you using, in what context and at what scale? $\endgroup$
    – FreemoX
    Jul 31, 2017 at 15:08
  • $\begingroup$ I'm using the magnetic, one at the origin and then 8 around it. My strength is at -2 and my grid is 16 lines. If that helps! $\endgroup$ Jul 31, 2017 at 15:14
  • $\begingroup$ Magnetism is a pretty even force, so a low number for your noise input is probably best, I'd say around 1, but you can mess around with the results to find what works best for you $\endgroup$
    – FreemoX
    Jul 31, 2017 at 15:18
7
$\begingroup$

Various data that is generated for things like simulations will use random numbers to get their results. In reality, we don't get true random numbers, we get pseudorandom numbers, which is a reproducible way of generating a sequence of numbers that resemble random numbers, with the random seed "defining" the sequence of numbers we get.

For simulations this is helpful as we can use the same random seed to always get the same sequence of numbers. This means every time we play the simulation we see the same result. When we don't like the result we can choose a different seed to get a different result.

The seed in the force field should not change when you alter the size. You should expect the seed to be different for every force field you add. If you don't like the way particles move with the force field you can try using a different seed.

$\endgroup$
1
  • $\begingroup$ Yep - as an analogy, let's say you want to pick "random" words. You grab a thick book off your shelf and open to a random page and use the first word on the page. Each time you need another random word, you can just read the next word on that page. That's close to how PCs generate random data - the seed you give it tells it which "page" to start on, so if you use the same seed, you'll get the same sequence. This is helpful, for example, when rendering animations -- we (normally) want to use the same "random" field for every frame, not generate a completely different one each time. $\endgroup$
    – A C
    Aug 1, 2017 at 2:39
2
$\begingroup$

The seed is actually part of the random number generator used to generate the noise. Changing the seed simply generates a new set of random numbers for the noise. But, the random number generator is pseudo random, so inputting the same seed again will yield the same sequence of numbers.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .