javascript - Simulate ECG with JS & Canvas -
i trying simulate constant heartbeat js , canvas. have figured of out, problem line starts @ different y position , therefore when try clean path looks little off. have js here, it's 1 modified post.
the answer should either in modifying py coordinate somewhere can't figure out where. or in following line in loop function.
ctx.clearrect(px,0, scanbarwidth, h);
please let me know if can me this. thanks.
Comments
Post a Comment