Skip to content

Instantly share code, notes, and snippets.


Mike Skaug mikeskaug

View GitHub Profile
mikeskaug /
Last active May 26, 2017
Polymer dynamics

A simulation of polymer dynamics using d3.

The physics are not quite right, namely the bond lengths should be much more rigid, but it illustrates the basic physical picture of random thermal fluctuations in the polymer chain.

mikeskaug /
Last active May 20, 2017
Random Walk

Simulation of a simple two dimensional Gaussian random walk. Random walks are used to model and understand many physical phenomena such as the movement of molecules through our bodies, the spread of contaminants underground and the fluctuation of stock prices.

mikeskaug /
Last active Jun 29, 2022 — forked from vasturiano/
Brownian motion

Simulation of particles immersed in fluid at some temperature, using the d3-force physics engine.

This is was inspired by this block.

The velocities of the fluid particles are drawn from the Maxwell-Boltzman velocity distribution and scale with temperature like sqrt(T).

This illustrates the origin of Brownian motion, which is the random motion of particles suspended in a fluid due to collisions with the fast moving fluid particles or molecules.

mikeskaug / index.html
Last active Aug 22, 2016
OpenLayers vector layer extent
View index.html
<!DOCTYPE html>
<title>Limited Layer Extent</title>
<link rel="stylesheet" href="" type="text/css">
<script src=""></script>
<div id="map"></div>
mikeskaug / ANAM_1951-2014_analysis.ipynb
Created Feb 22, 2016
Analysis and Visualization of Data from Accidents in North American Mountaineering 1951-2014
View ANAM_1951-2014_analysis.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
mikeskaug / cd_data_reduced.csv
Last active Jan 22, 2016
Spatial Analysis of Dataset
View cd_data_reduced.csv
GEO_ID GEO LABEL air_qual_cd diversion_cd lead_complaints_cd lead_kids_cd waste_cd water_per_1000_cd noise_per_1000_cd citu_land_cd vacant_parking_land_cd accidents_death_cd alzheimers_deaths_cd any_exercise_cd binge_drinking_cd birth_rate_cd births_cd cancer_deaths_cd current_smoker_cd death_rate_cd deaths_cd diabetes_cd diabetes_deaths_cd fruits_veggies_cd health_insurance_cd healthy_food_sq_footage_cd heart_disease_deaths_cd hiv_test_cd hypertension_deaths_cd infant_mortality _cd influenza_deaths_cd life_expectancy_cd low_birth_wght_cd lower_resp_deaths_cd obesity_cd pre_term_birth_cd prenatal_care_cd stroke_death_cd substance_abuse_related_deaths_cd sugary_drink_cd teen_birth_cd vac_flu_cd vac_hpv_cd sanitation_per_1000_cd sewer_per_1000_cd rodent_per_1000_cd park_recreation_land_cd self_reported_health_good_cd self_reported_health_cd jail_incar_cd prematuremortality_cd avoidable_asthma_cd avoidable_diabetes_cd psychhosp_rate_cd asthma5to14_cd alchosp_cd drughosp_cd assaulthosp_cd hiv_deaths_cd family_hom
mikeskaug / alaska.png
Last active Oct 26, 2015
Shaded Relief with AlbersUsa Projection