Skip to content

Commit

Permalink
Fix inversion formula
Browse files Browse the repository at this point in the history
  • Loading branch information
kovzol committed Oct 20, 2018
1 parent 45c8538 commit b7fa63f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cindygl/24_webcam_inversion.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
colorplot(
z = complex(#);
if(mirror, z = -re(z)+i*im(z));
if(inv, z = 1.0/z, z = z/5.0);
if(inv, z = 1.0/(re(z)-i*im(z)), z = z/5.0);
imagergb(video, z*(10.1+mouse().y))));
if (circle, fillcircle([0,0],2.23,color->(1,0,0.3),alpha->0.3));
</script>
Expand Down

0 comments on commit b7fa63f

Please sign in to comment.