Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 1.96 KB

README.md

File metadata and controls

39 lines (22 loc) · 1.96 KB

Cosmic Oscillator

This web application creates a sonification of astronomical imagery in the browser using computer vision from OpenCV and synthesizers from ToneJS. It was created over the course of roughly 24 hours by James Cole for the 2023 NASA Space Apps Challenge.

Click the link below to try it out:

https://jamescoledesign.github.io/cosmic-oscillator/

Cosmic Oscillator User Interface

This could be enhanced to include a way for people to generate sonifications by using a URL or uploading an image of their own.

Analyzing image data

An image of Rho Ophiuchi captured by the James Webb Space Telescope was processed in a Jupyter Notebook, primarily by using Python and OpenCV to calculate every RGB pixel value of the image. These RGB values were exported to JSON format and then consumed by the React application to control frequency parameters of virtual synthesizers created with ToneJS.

Available Scripts

In the project directory, you can run:

npm-install

Installs dependencies.

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

npm test

Launches the test runner in the interactive watch mode.\

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!