collatz-conjecture-music

Audio/visual representation of the Collatz Conjecture. Tested with Enzyme and Jest

MIT License

Stars
0

collatz-conjecture-music

Audio/visual representation of the Collatz Conjecture

Written to help show my brother the joys of programming. We wanted to visualize the steps of the Collatz Conjecture, and then were curious about what such music might sound like.

Built with

React https://reactjs.org/

Chart.js https://www.chartjs.org/

Styled Components https://www.styled-components.com/

Audio Context API https://developer.mozilla.org/en-US/docs/Web/API/AudioContext

Jest https://jestjs.io/

Enzyme https://airbnb.io/enzyme/

Usage

Clone this repository and navigate to the app directory.

To install the dependencies, run yarn then yarn start, or navigate to https://www.collatzmusic.com/

Tests

This app is unit tested with Jest and Enzyme. To run tests, run yarn test