Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.