Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shahank42/spherical-mirror-sandbox
Visualizing the image formation via. a spherical mirror.
https://github.com/shahank42/spherical-mirror-sandbox
interactive-visualizations javascript mirror optics p5js p5js-animation p5js-sketch physics physics-2d physics-simulation ray-optics sandbox spherical-mirror
Last synced: 20 days ago
JSON representation
Visualizing the image formation via. a spherical mirror.
- Host: GitHub
- URL: https://github.com/shahank42/spherical-mirror-sandbox
- Owner: shahank42
- Created: 2019-07-21T10:59:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-14T06:15:17.000Z (about 2 years ago)
- Last Synced: 2024-10-11T12:41:25.308Z (3 months ago)
- Topics: interactive-visualizations, javascript, mirror, optics, p5js, p5js-animation, p5js-sketch, physics, physics-2d, physics-simulation, ray-optics, sandbox, spherical-mirror
- Language: JavaScript
- Homepage: https://shahank42.github.io/spherical-mirror-sandbox
- Size: 3.31 MB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spherical Mirror Sandbox
A web application for visualizing the images formed by the reflected rays of a spherical mirror.
Helpful piece of software for 10th grade CBSE students.
Use it at: https://shahank42.github.io/spherical-mirror-sandbox
![Demo](https://github.com/shahank42/spherical-mirror-sandbox/blob/master/demo1.gif?raw=true)
Made using the [p5.js library](https://p5js.org/).
## Usage
Go to https://shahank42.github.io/spherical-mirror-sandbox and use it.
Alternatively, download the source code and open the index.html file.
---
Use the left and right arrow keys to change the object distance relative to the mirror.
Use the up and down arrow keys to change the object size.
Video demonstration at: https://www.youtube.com/watch?v=yVPHmyLBquo&t=8s.
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.