Simulates a disease spreading through a community in random motion. Individuals are represented as points undergoing independent random walks in a bounded 2D environment. Parameters include: the population size, the average population density, the number of times to evolve the system, the number of trials to conduct, and the fraction of the available space that…
Portfolio
Science Sims
During my involvement with the City College Science Sims project, I had the chance to create p5.js sketches to help explain physics and math concepts. These included an interactive ray diagram utilized by faculty to enhance the teaching of optics, a damped spring system and a savings account simulator. https://brayvid.github.io/ https://github.com/brayvid/brayvid.github.io
Euclidean to Hyperbolic
A Desmos project which projects a selected (x,y) Euclidean point onto the hyperbolic Poincaré disk. As the distance from the origin of the initial point approaches infinity, its hyperbolic counterpart approaches the unit circle. https://www.desmos.com/calculator/aqofk4avt3 You can move the input point around in the plane and see how the output changes.
Option Pricing
This is a set of MATLAB functions for calculating option prices, along with several examples of how the functions can be used. Developed from theory presented in Option Trading by Euan Sinclair. https://github.com/brayvid/option-pricing
Projectile Motion
A Desmos project which calculates the two possible angles at which to fire a projectile with a given muzzle speed to hit a specified target at (x,y). The project also displays the range envelope for the given muzzle speed where solutions exist. You can move the target around in the window and the calculator will…