18 lines
738 B
Markdown
18 lines
738 B
Markdown
# Web Programming: Lab 1
|
|
|
|
This is a client-side web app that checks if a given 2D point (X, Y) falls inside a specific graphed area based on a given radius (R).
|
|
|
|
## Functions
|
|
You basically pick your coordinates, set a radius, and hit submit. The app calculates whether your point landed directly inside the colored shapes on the graph or missed them entirely.
|
|
|
|
## How to Run It
|
|
1. Download the files.
|
|
2. Double-click `index.html` to open it in your browser.
|
|
3. That's pretty much it.
|
|
|
|
## Project Structure
|
|
- `index.html` — The main layout holding the UI and embedded CSS styled.
|
|
- `script.js` — Vanilla JavaScript: Canvas rendering, math checking, and validations.
|
|
- `assets/` — Try to guess.
|
|
- `docs/` — Assignment instructions.
|