Skip to content

Commit

Permalink
remove horizontal line at theta=0 for r<f(theta)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony F committed Jun 19, 2011
1 parent 323a6c8 commit 289d1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Expand Up @@ -485,7 +485,7 @@ function compile(n){
builder+="ctx.line(boundright+2,0);ctx.line(boundright+2,boundbottom-2);ctx.line(boundleft-2,boundbottom-2);ctx.line(boundleft-2,boundtop+2);ctx.line(boundright+2,boundtop+2);ctx.line(boundright+2,0);";
builder+="ctx.globalAlpha=0.2;ctx.fill();ctx.globalAlpha=1.0;";
}else if(fn.type==eqtype.lessthan){
builder+="ctx.line(0,0);";
builder+="var theta=0;ctx.line("+jsc+"*cos(theta),"+jsc+"*sin(theta));";
builder+="ctx.globalAlpha=0.2;ctx.fill();ctx.globalAlpha=1.0;";
}
builder+="ctx.stroke()";
Expand Down

0 comments on commit 289d1da

Please sign in to comment.