Skip to content

Commit 1f79785

Browse files
add game of life example
1 parent 313b0a8 commit 1f79785

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

src/Components/Examples/examples-links.js

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react'
1+
import React from 'react'
22

33
// Images
44
import shadedRelief from '../../img/examples/shaded-relief.png'
@@ -20,6 +20,7 @@ import helloV2 from '../../img/fire1.gif'
2020
import mandelbrotSet from '../../img/examples/mandelbrot-set.png'
2121
import juliaSet from '../../img/examples/julia-set.png'
2222
import slowFade from '../../img/examples/slow-fade.png'
23+
import gameOfLife from '../../img/examples/game-of-life.png'
2324

2425
const links = [
2526
{
@@ -242,7 +243,20 @@ const links = [
242243
footerLinks: [
243244
<a href="https://observablehq.com/@rveciana/shaded-relief-with-gpujs-and-d3js/2">Observable Notebook</a>
244245
]
246+
},
247+
{
248+
img: gameOfLife,
249+
author: {
250+
name: 'Gustavo Ferreyra',
251+
link: 'https://github.com/brakdag'
252+
},
253+
title: 'Conway\'s Game of Life',
254+
description: 'Game of life.',
255+
footerLinks: [
256+
<a href="https://observablehq.com/@brakdag/conway-game-of-life-gpu-js">Observable Notebook</a>,
257+
<a href="https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life">Wikipedia</a>
258+
]
245259
}
246260
]
247261

248-
export default links
262+
export default links

src/img/examples/game-of-life.png

22.3 KB
Loading

0 commit comments

Comments
 (0)