Skip to content

Commit

Permalink
Merge pull request #5 from kimonp/general_refactor
Browse files Browse the repository at this point in the history
Add highlights to readme
  • Loading branch information
kimonp authored Dec 27, 2023
2 parents 12e1177 + f24ae70 commit 657e813
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ While the code from the original tutorial is about 50% rust, 50% JavaScript, wit
* Point your browser at: http://localhost:8080

## Methodology
Defines a GameOfLifeGrid component that renders the game of life (with several control buttons),
and a FramesPerSecond component which shows how many frames per seconds are being rendered (which
Defines a `GameOfLifeGrid` component that renders the game of life (with several control buttons),
and a `FramesPerSecond` component which shows how many frames per seconds are being rendered (which
depends on the monitor frame rate).

This is stitched together using a use_animation_frame() hook returns a frame_id that can be used
to trigger use_effect calls to render each frame (for the grid, and frames per second). Also returns
frames_running, which can be set false or true to stop or start the frames.
This is stitched together using a `use_animation_frame()` hook returns a `frame_id` that can be used
to trigger `use_effect` calls to render each frame (for the grid, and frames per second). Also returns
`frames_running`, which can be set false or true to stop or start the frames.

0 comments on commit 657e813

Please sign in to comment.