$summon item_display $(positioned) {teleport_duration:1,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[$(scale)]},Tags:["aoe_effect_$(id)","newborn"],item:{id:"minecraft:paper",count:1,components:{"minecraft:item_model":"minecraft:particles/red_circle/1"}}}

$execute as @e[type=item_display,tag=aoe_effect_$(id),tag=newborn] run scoreboard players set @s particle_lifetime $(duration)
$execute as @e[type=item_display,tag=aoe_effect_$(id),tag=newborn] run tag @s remove newborn