Goldbach's comet: Difference between revisions
Content added Content deleted
(→{{header|Wren}}: Converted this to a DOME script so we can plot the points using the new Wren-plot module.) |
(→{{header|Wren}}: Rephrased the preamble.) |
||
Line 1,012: | Line 1,012: | ||
{{libheader|Wren-fmt}} |
{{libheader|Wren-fmt}} |
||
{{libheader|Wren-plot}} |
{{libheader|Wren-plot}} |
||
This follows the Raku example in plotting the first two thousand G values rather than the values up to G(2000) in order to produce an image something like the image in the Wikipedia article. |
|||
<lang ecmascript>import "dome" for Window |
<lang ecmascript>import "dome" for Window |
||
import "graphics" for Canvas, Color |
import "graphics" for Canvas, Color |