EffectLib Dna - TheComputerGeek2/MagicSpells GitHub Wiki
Source Code
class: Dna
Description:
This effect extends a strand of DNA with helixes rotating around a base.
Configuration:
Option |
Default |
type |
"repeating" |
period |
1 |
iterations |
500 |
Other:
Option |
Description |
Type |
Default |
particleHelix |
Type of spawned particle. |
Particle |
"flame" |
colorHelix |
Color of spawned particle. |
Color |
|
particleBase1 |
Particle of base 1. |
Particle |
"water_wake" |
colorBase1 |
Color of base 1. |
Color |
|
particleBase2 |
Particle of base 2. |
Particle |
"redstone" |
colorBase2 |
Color of base 2. |
Color |
|
radials |
Radials to turn per step. |
Doubče |
PI / 30 |
radius |
Radius of the DNA double helix. |
Float |
1.5 |
particlesHelix |
Particles to spawn per interation. |
Integer |
3 |
particlesBase |
Particles per base. |
Integer |
15 |
length |
Length of the DNA double helix. |
Float |
15 |
grow |
Growth per particle |
Float |
0.2 |
baseInterval |
Particles between every base. |
Float |
10 |