fix typo in markdown

This commit is contained in:
Yongwei Xing 2021-03-09 14:43:22 +08:00
parent f502fa09e4
commit 8738c34724
2 changed files with 9 additions and 9 deletions

View file

@ -5,9 +5,9 @@
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/jdxyw/generativeart/master/LICENSE) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/jdxyw/generativeart/master/LICENSE)
`generativeart` is a `Go` package to generate many kinds of generative art. The goal is to collect some excellent generative art (implemented in `R` or `Processing`), and rewrite them in `Go` again. I would paste the original link at the end of this README(If I remember. You can also submit a PR if you found I miss something.). Currently, it supports the following type. `generativeart` is a `Go` package to generate many kinds of generative art. The goal is to collect some excellent generative art (implemented in `R` or `Processing`), and rewrite them in `Go` again. I would paste the original link at the end of this README(If I remember, you can also submit a PR if you found I missed something.). Currently, it supports the following type.
This package is still working in progress, more types would be added. Welcome anyone interested in this field to submit your PR. This package is still working in progress. More types would be added. Welcome anyone interested in this field to submit your PR.
- Maze - Maze
- Julia Set - Julia Set
@ -28,7 +28,7 @@ This package is still working in progress, more types would be added. Welcome an
- Circle Grid - Circle Grid
- Contour Line - Contour Line
For these kinds of art, the package provides as many as parameters to control the appearance. For these kinds of art, the package provides as many parameters to control the appearance.
## Install ## Install

View file

@ -1,10 +1,10 @@
## Color Circle 2 ## Color Circle 2
`Color Circle2` is version 2 of `Color Circle`. It still draws circle and point cloud. `Color Circle2` is version 2 of `Color Circle`. It still draws the circle and point cloud.
### parameters ### parameters
- circleNum: The number of circle in this drawing. - circleNum: The number of the circle in this drawing.
```go ```go
cc := generativeart.NewColorCircle2(30) cc := generativeart.NewColorCircle2(30)
@ -14,13 +14,13 @@ cc := generativeart.NewColorCircle2(30)
## Dot Line ## Dot Line
`dot line` would draw images with short dot and short. The short lines would compose as a big circle. `dot line` would draw images with the short dot and short. The short lines would compose as a big circle.
### parameters ### parameters
- n: The number of element in this image. - n: The number of elements in this image.
- ras/canv: Control the appearance of this image. - ras/canv: Control the appearance of this image.
- randColor: Use the the specified color or random colors. - randColor: Use the specified color or random colors.
```go ```go
dl := generativeart.NewDotLine(100, 20, 50, false) dl := generativeart.NewDotLine(100, 20, 50, false)
@ -52,7 +52,7 @@ rs := NewRandomShape(150)
## Contour Line ## Contour Line
`Contour Line` uses `perlin noise` to do some flow field. `Contour Line` uses the `perlin noise` to do some flow field.
### parameters ### parameters