template noblank char fx 1,!char_counter(1)!!retime("preline",-220+ci[1]*20,-20+ci[1]*20)!{\blur5\an4\pos($left,$middle)\fry90\t(\fry0)\fad(200,0)}
template noblank char fx 1,!char_counter(2)!!retime("preline",-20+ci[2]*20,$start-50)!{\blur5\pos($x,$y)}
template noblank fx 1,!retime("syl",-50,0)!{\blur5\pos($x,$y)\t(0,50,\bord4\3c&HCBE0FA&)\t(\bord2\3c&H000000&)}
template noblank char fx 1,!char_syl_counter(1)!!retime("syl2end",0,csi[1]*40+200)!{\blur5\pos($x,$y)\t(!csi[1]*40!,!csi[1]*40+$ldur-$end+200!,\alpha&HFF&)}
code once all,speed = { 0.15,4 } ; hana = "m 17 32 b 16 36 12 39 11 39 b 9 38 5 39 3 36 b 1 34 3 27 4 27 b 7 25 11 26 13 23 b 10 23 6 21 4 17 b 5 14 5 10 5 6 b 8 5 11 9 13 7 b 13 7 13 7 13 7 b 16 10 18 12 18 14 b 18 10 19 7 21 4 b 24 4 26 3 29 3 b 31 6 32 8 34 11 b 32 14 31 17 29 20 b 32 18 36 18 40 18 b 42 20 42 24 45 26 b 42 27 41 32 38 33 b 35 34 32 33 29 30 b 30 34 33 37 32 40 b 31 42 31 44 30 46 b 26 47 22 45 19 43 b 18 40 17 36 17 32 "
template line notext,!relayer(2)!!retime("preline",-200,(line.width+100)/2/speed[1]-200)!{\an5\move($center,$middle,!$left-50!,$middle)\t(\frz!(line.width+100)/2*speed[2]!)\fad(100,200)\p1}!hana!
template line notext,!relayer(2)!!retime("preline",-200,(line.width+100)/2/speed[1]-200)!{\an5\move($center,$middle,!$right+50!,$middle)\t(\frz!(line.width+100)/2*speed[2]!)\fad(100,200)\p1}!hana!
function AutoTags(time,hajimari,taga,tagb) ldur=line.duration looptimes=math.ceil((ldur-hajimari)/(time*2)) tags="" for i = 0,looptimes-1,1 do tem=string.format("\\t(%d,%d,\\%s)\\t(%d,%d,\\%s)",i*time*2+hajimari,i*time*2+hajimari+time,taga,i*time*2+hajimari+time,i*time*2+hajimari+time*2,tagb) tags=string.format("%s%s",tags,tem) end return tags end