From 86f6c84ad652d0d3300d647db82a102ff26a6c8c Mon Sep 17 00:00:00 2001 From: Yongwei Xing Date: Fri, 26 Feb 2021 16:13:53 +0800 Subject: [PATCH] fix typo --- wave.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wave.go b/wave.go index e10640e..7db3eae 100644 --- a/wave.go +++ b/wave.go @@ -16,7 +16,7 @@ func NewWave(fn Formula) *wave { return &wave{fn: fn} } -// GenerativePolar draws the image in polar coordinator system. +// GenerativePolar draws the image in polar coordinate system. func (w *wave) GenerativePolar(c *canva, rgba color.RGBA) { for x := -math.Pi; x <= math.Pi; x += 0.01 { for y := -math.Pi; y <= math.Pi; y += 0.01 { @@ -30,7 +30,7 @@ func (w *wave) GenerativePolar(c *canva, rgba color.RGBA) { } } -// Generative draws the image in cartesian coordinator system. +// Generative draws the image in cartesian coordinate system. func (w *wave) Generative(c *canva, rgba color.RGBA) { for x := -math.Pi; x <= math.Pi; x += 0.008 { for y := -math.Pi; y <= math.Pi; y += 0.008 {