Add Seitan article, implement <figure> capability
This commit is contained in:
@ -271,7 +271,7 @@ You may notice a couple of things:
|
||||
* I've taken advantage of the `getMaxCircles()` function we wrote earlier to calculate ideal values for `myGrid.rowCircleQty`, and `myGrid.numRows`.
|
||||
* `myGrid.fillArray` is using RGB values. Check the [p5.js documentation](https://p5js.org/reference/#/p5/fill) for other color values you can use.
|
||||
|
||||
Feel free to customize `myGrid` to make your ideal circle grid, and call `generateCircleGrid()` to see the result:
|
||||
Feel free to customize `myGrid` to make your ideal circle grid, and call `generateCircleGrid()`...
|
||||
|
||||
``` javascript
|
||||
generateCircleGrid(
|
||||
@ -286,7 +286,7 @@ generateCircleGrid(
|
||||
myGrid.fillArray
|
||||
);
|
||||
```
|
||||
|
||||
...to see the result:
|
||||
[](../../img/posts/build-an-svg-circle-grid-with-p5js/circle-grid-grid.webp)
|
||||
|
||||
## SVG export
|
||||
|
Reference in New Issue
Block a user