Skip to content

Instantly share code, notes, and snippets.

View gboyer81's full-sized avatar

Gary Boyer gboyer81

  • Philadelphia, Pa
View GitHub Profile
@gboyer81
gboyer81 / bash-colors.md
Created March 7, 2018 14:34 — forked from iamnewton/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
@gboyer81
gboyer81 / index.html
Created January 31, 2017 01:12
Interactive Planet Toy
<!-- Interactive Planet Toy - Stefan Weck
Launch new planets by clicking and dragging. You can see the predicted path of your new planet to see if it will collide with any other planets. Once a smaller planet hits a bigger planet it will disappear. Planets of the same size can't hit each other.
Every planet will apply a gravitational pull on other smaller planets. The bigger the planet, the stronger the gravitational forces!
Tip: You can turn on pauseWhileAiming in the dat.gui window to pause the simulation, this allows you to do some very specific planet launching. Have fun! -->
<canvas id="canvas">Your browser doesn't support canvas</canvas>