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}}
It appears that most people are interpreting the stretch goal to mean that the first 2000 G values should be calculated and plotted rather than values up to G(2000). So we follow that here.
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