Skip to content

Instantly share code, notes, and snippets.

View tachycline's full-sized avatar

Cavendish McKay tachycline

View GitHub Profile
@tachycline
tachycline / README.md
Last active February 5, 2016 14:43
Electric field visualization

Electric Field visualization

This is another in my series of attempts to port physlets to d3. This one allows you to see the electric field in the neighborhood of a charge. Actually, all of the internal machinery is there to have multiple charges, but it was making the display too cluttered.

I'd like to add buttons to add and remove charges, but I don't have time to do that right at the moment.

@tachycline
tachycline / Corruption index-Table 1.csv
Last active August 29, 2015 13:57
Corruption vs Democracy chart
corrrank country corruption score surveys used ci:lower ci: upper 2012 score
175 Afghanistan 8 3 3 13 8
116 Albania 31 7 28 34 33
94 Algeria 36 6 31 41 34
153 Angola 23 7 18 28 22
106 Argentina 34 8 30 38 35
94 Armenia 36 6 30 42 34
9 Australia 81 8 79 83 85
26 Austria 69 8 64 74 69
127 Azerbaijan 28 6 22 34 27
@tachycline
tachycline / README.md
Last active January 8, 2016 17:25
Interactive Charges

Interactive forces on charges

We've used physlets for a number of years to teach concepts related to electric forces, fields, and potentials. Simulations like these are an excellent way to cope with the fact that the experiments we could do for this collection of material don't deal with individual charges, and you can't see fields or potentials directly.

I'm not, however, enthusiastic about the fact that they're written in Java. When physlets originated, it was the most cross-platform, web-delivered solution, but technology has moved quite a bit since then. I wanted to see if I could duplicate some (or perhaps eventually all) of the functionality of physlets for electricity and magnetism using