Yin and yang: Difference between revisions
m
→{{header|Wren}}: Changed to Wren S/H
(Added Easylang) |
m (→{{header|Wren}}: Changed to Wren S/H) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1,997:
=={{header|EasyLang}}==
[https://easylang.dev/show/#cod=VY/dCsIwDEbv8xTftbIapx30cWYso1jXEVHs20t13SbkIj8nJ2TSJJCgAoXAwBAASTEp5JsGleihZGgqaA5j7scBb2Ro5e/p5UunLqDFDgpmXm3OuTp++GEmHKNxvFWggS6aVfGrDjhVz8Lv//jNlZkvBkOXXm6Dpud4hbWWJPpeqf7ScoluqS2jYxzP9AE= Run it]
<syntaxhighlight>
Line 2,008:
circ 2 * r 000
color 999
move x y - r
circ r 000
circ r / 3 999
move x y + r
circ r
circ r / 3 000
.
Line 5,611:
===Text===
{{trans|AWK}}
<syntaxhighlight lang="
return (x-centerX)*(x-centerX)+(y-centerY)*(y-centerY) <= radius*radius
}
Line 5,710:
{{libheader|DOME}}
With a few minor changes, we can use the same code to draw these symbols in DOME.
<syntaxhighlight lang="
import "graphics" for Canvas, Color
|