{
  "format_version": "1.10.0",
  "particle_effect": {
    "description": {
      "identifier": "silverlabs_nat:hedgehog_trail",
      "basic_render_parameters": {
        "material": "particles_blend",
        "texture": "textures/sf/nba/particle/particle_for_pctopus_and_whale"
      }
    },
    "curves": {
      "v.colour": {
        "type": "linear",
        "input": "v.particle_age",
        "horizontal_range": "v.particle_lifetime",
        "nodes": [0, 1]
      },
      "v.size1": {
        "type": "bezier_chain",
        "input": "v.particle_age/v.particle_lifetime",
        "nodes": {
          "1.0": {
            "value": 1,
            "slope": 0
          },
          "0.01": {
            "value": 1.7,
            "slope": 0
          }
        }
      }
    },
    "components": {
      "minecraft:emitter_initialization": {
        "creation_expression": "v.size = 0.03;v.lifetime = 2.2;"
      },
      "minecraft:emitter_local_space": {
        "position": true,
        "rotation": true
      },
      "minecraft:emitter_rate_steady": {
        "spawn_rate": 200,
        "max_particles": 400
      },
      "minecraft:emitter_lifetime_once": {
        "active_time": 0.5
      },
      "minecraft:emitter_shape_point": {
        "direction": ["math.random(-0.5,0.5)", 3.5, "math.random(-0.5,0.5)"]
      },
      "minecraft:particle_lifetime_expression": {
        "max_lifetime": "math.random(0.1,1.6)"
      },
      "minecraft:particle_initial_spin": {
        "rotation": "math.random(-360,360)",
        "rotation_rate": "math.random(-90,90)"
      },
      "minecraft:particle_initial_speed": "math.random(2,6)",
      "minecraft:particle_motion_dynamic": {
        "linear_drag_coefficient": "6*v.particle_age"
      },
      "minecraft:particle_appearance_billboard": {
        "size": [
          "0.2*v.particle_random_3*(v.size1 ?? 0)",
          "0.2*v.particle_random_3*(v.size1 ?? 0)"
        ],
        "facing_camera_mode": "rotate_xyz",
        "uv": {
          "texture_width": 128,
          "texture_height": 128,
          "flipbook": {
            "base_UV": [0, 88],
            "size_UV": [8, 8],
            "step_UV": [8, 0],
            "frames_per_second": 8,
            "max_frame": 8
          }
        }
      },
      "minecraft:particle_appearance_lighting": {},
      "minecraft:particle_appearance_tinting": {
        "color": {
          "interpolant": "(v.colour ?? 0)",
          "gradient": {
            "0.0": "#FFF4F3DB",
            "0.42": "#9C907546",
            "0.72": "#4F946E4E",
            "1.0": "#00382C29"
          }
        }
      }
    }
  }
}
