Cantor set: Difference between revisions
Content deleted Content added
Added Processing implementation |
Added credits |
||
Line 2,804: | Line 2,804: | ||
=={{header|Processing}}== |
=={{header|Processing}}== |
||
<lang java> |
<lang java> |
||
//Aamrun, 1st July 2022 |
|||
void cantorSet(int x1,int y1,int x2,int y2,int strWt,int gap,int n){ |
void cantorSet(int x1,int y1,int x2,int y2,int strWt,int gap,int n){ |
||
strokeWeight(strWt); |
strokeWeight(strWt); |
||
Line 2,818: | Line 2,820: | ||
} |
} |
||
</lang> |
</lang> |
||
=={{header|Python}}== |
=={{header|Python}}== |
||
===Imperative=== |
===Imperative=== |