Skip to content

Commit 57221d2

Browse files
committed
docs: update examples [skip ci]
1 parent 7fc9cbb commit 57221d2

File tree

3 files changed

+3
-117
lines changed

3 files changed

+3
-117
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<img src="assets/banner.gif" alt="make-matrix (animated title)" width="100%">
1+
<img src="assets/banner.gif" alt="make-matrix" width="100%">
22

33
![build](https://github.com/neefrehman/make-matrix/workflows/CI/badge.svg?branch=master)
44
[![npm version](http://img.shields.io/npm/v/make-matrix.svg?style=flat)](https://npmjs.org/package/make-matrix "View this project on npm")
@@ -8,7 +8,7 @@ A simple, type-safe way to create multi-dimensional arrays
88

99
## Features
1010

11-
- 🛸 Easily create multi-dimensional arrays, with as many dimensions as are needed
11+
- 🛸 Easily create multi-dimensional arrays, with as many dimensions as needed
1212
- 🎛 Define exact dimensions to create an array of specified size
1313
- 🔢 Initialise every point in the array to a custom initial value
1414
- 📜 Comes with [TypeScript](https://www.typescriptlang.org) definitions and type-safe returns
@@ -100,7 +100,7 @@ const sixDimensionalNumberArray: number[][][][][][] = makeMatrix(6, 0);
100100

101101
## Example
102102

103-
To easily create a 3D grid like at the top of this readme using [p5.js](https://github.com/processing/p5.js/), make-matrix can be used like below. See [more fleshed out code here](https://github.com/neefrehman/make-matrix/tree/master/examples/p5-grid.js), and a [demo of such a grid here](https://generative.neef.co/120520).
103+
To easily create a 3D grid using [p5.js](https://github.com/processing/p5.js/), make-matrix can be used like below. You can see the [code for the grid at the top of this readme here](https://github.com/neefrehman/Generative/blob/master/src/sketches/20/05/120520.tsx), and an [interactive demo of that grid here](https://generative.neef.co/120520).
104104

105105
```js
106106
const res = 10; // 10px grid resolution

examples/p5-grid.js

Lines changed: 0 additions & 54 deletions
This file was deleted.

examples/p5-grid.ts

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)