https://github.com/mwcz/mhack-jan7-2021
https://github.com/mwcz/mhack-jan7-2021
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mwcz/mhack-jan7-2021
- Owner: mwcz
- Created: 2022-01-04T15:29:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-04T16:11:28.000Z (over 3 years ago)
- Last Synced: 2025-03-17T17:09:28.339Z (3 months ago)
- Language: JavaScript
- Size: 26.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mhack challenge for Jan 7, 2021 by Daniel
Make any original piece of art/animation with [HTML Canvas](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas). It doesn't have to be complicated, just getting familiar with a new browser API is the whole point.
This repo just offers a starting point so you can all skip the boilerplate setup. It provides a very simple live-reload server. No other complexity is included. No build, just edit a single JS file.
## Quick-start
```
npm install
npm start
```1. Open [http://localhost:8345](http://localhost:8345/)
2. Edit `src/canvas.js` (and `src/index.html` if you need to)