{
	"format_version": "1.10.0",
	"particle_effect": {
		"description": {
			"identifier": "shapescape_mb:frog_boss_totem_connection",
			"basic_render_parameters": {
				"material": "particles_alpha",
				"texture": "textures/particle/pixel"
			}
		},
		"components": {
			"minecraft:emitter_rate_steady": {
				"spawn_rate": 30,
				"max_particles": 500
			},
			"minecraft:emitter_lifetime_once": {
				"active_time": 0.7
			},
			"minecraft:emitter_shape_point": {},
			"minecraft:particle_motion_parametric": {
				"relative_position": [
					"t.box_offset_x=v.particle_random_1-0.5; return math.lerp(t.box_offset_x*v.box_a.x, t.box_offset_x*v.box_b.x+v.d.x*v.distance, v.particle_age/v.particle_lifetime);",
					"t.box_offset_y=v.particle_random_2; return math.lerp(t.box_offset_y*v.box_a.y, t.box_offset_y*v.box_b.y+v.d.y*v.distance, v.particle_age/v.particle_lifetime);",
					"t.box_offset_z=v.particle_random_3-0.5; return math.lerp(t.box_offset_z*v.box_a.z, t.box_offset_z*v.box_b.z+v.d.z*v.distance, v.particle_age/v.particle_lifetime);"
				]
			},
			"minecraft:particle_lifetime_expression": {
				"max_lifetime": "math.min(1, v.distance/16)"
			},
			"minecraft:particle_motion_dynamic": {
				"linear_acceleration": [0, 0.5, 0],
				"linear_drag_coefficient": 0.5
			},
			"minecraft:particle_appearance_billboard": {
				"size": [0.0375, 0.0375],
				"facing_camera_mode": "lookat_xyz"
			},
			"minecraft:particle_appearance_tinting": {
				"color": [
					"v.is_from_totem ? 0.86 : 0.37",
					"v.is_from_totem ? 0.47 : 0.33",
					"v.is_from_totem ? 0.07 : 0.36"
				]
			}
		}
	}
}
