Skip to content

A quick and fun evening with fellow learners exploring the magic of randomness and the power of visual representation of a console terminal!

License

Notifications You must be signed in to change notification settings

cloutierMat/normalDistribution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

normalDistribution

To anyone that was in the Discord chat, here is what we coded then. Thanks all for the motivation, ideas and questions that made it possible!

Special shoot out to Chloe who asked for proof. This would never have happened otherwise!

It truly ended up being a random evening creating randomness out of random event!

Also Andy, I am expecting to see a blessed integration with a realtime graph update in the terminal!

Instalation

In your terminal

git clone https://github.com/cloutierMat/normalDistribution.git

To Run

cd normalDistribution
npm start

Features

It runs a million pass to create a nice random distibution. If a million passes is too much for your potato computer to handle, modify the bellCurve.js at line 3 to a smaller number

let maxCount = 100000

Gaussian

For those who were there at the end when Danielle showed up and remembered us we were doing in over-complicated and over-wordly version of a gaussian function! If you want to see the result with the more efficient but less random function type in terminal

node gaussian.js

About

A quick and fun evening with fellow learners exploring the magic of randomness and the power of visual representation of a console terminal!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published