Yin and yang: Difference between revisions
Content added Content deleted
m (→{{header|D}}: remove double d sections) |
(→General program mode: add img) |
||
Line 2,029: | Line 2,029: | ||
{{trans|xpl0}} |
{{trans|xpl0}} |
||
Another solution is to use the general () program mode. |
Another solution is to use the general () program mode. |
||
[[File:Evaldraw yin and yang.gif|thumb|alt=Compilation message visible. Shows assembly code size at time spent.|2 half circles and 4 filled circles can be used to draw the yin and the yang ]] |
|||
<syntaxhighlight lang="c">() |
<syntaxhighlight lang="c">() |
||
{ |
{ |
||
cls(0x646464); |
cls(0x646464); |
||
scale = 60; |
|||
YinYang(80, 80, 70); |
YinYang(80, 80, 70); |
||
YinYang(240, 240, 150); |
YinYang(240, 240, 150); |