d e n s i t y = s t r e n g t h ⋅ ( 1 − ( m i n ( d i s t a n c e , r a d i u s ) r a d i u s ) 2 ) 2 {\displaystyle {density}={strength}\cdot \left(1-\left({\frac {min(distance,radius)}{radius}}\right)^{2}\right)^{2}}