Art and Web Design
Contact me for information about rates and availability.
This page contains all tutorials, regardless of topic, with the latest or newest tutorials at the top. Continue scrolling down for more. Or search by topic by clicking on the categories linked above (Game Design, Science and Technology).
Planetary Science Using Python - The Solar System
Since the dawn of mankind we have look towards the stars with awe and wonder. Over the centuries, astronomy-priests have identified and tracked various celestial bodies that surround our world in a better attempt to understand the universe. Exploring our solar system gives us insight into the formation of our own planet and a possible view into the possible future of our planet. Everything from the sun, asteroids and comets, to dwarf planets, terrestrial planets and gas giants, have been explored and charted.
Before we begin coding our script, we need to collect the necessary planetary data. Most of the following data was obtained using the NASA Planetary Fact Sheet.
Planetary Science Using Python - Earth's Atmosphere
In this multi-part tutorial we will use Python and Matplotlib to calculate various atmospheric and aerodynamic variables that an object flying through Earth's atmosphere at various altitudes and velocities will encounter. Before we get into the Python code, we will take a closer look at the different layers of Earth's atmosphere.
With most of Earth's atmospheric gases located in the lowest layer of the atmosphere, the troposphere, the air becomes more dense as an object flies (or falls) at lower altitudes. Atmospheric gases are affected by incident solar radiation coming in from above and terrestrial drivers, such as hurricanes and tropical storms, forest fires, volcanic erruptions and nuclear detonations, coming up from below. It is within the lowest atmospheric layer, the troposphere, that most of life on earth can be found. Therefore, we will pay particular attention to this layer.
Planetary Science Using Python - Severe Weather Tracker
Incoming solar radiation enters the Earth’s atmosphere, where some of this energy is absorbed by atmospheric gases, water vapor and dust particles. Some of this energy is scattered by the atmosphere and a portion is reflected by clouds in the troposphere. Energy that reaches Earth’s surface is absorbed by the ground, water and other surface features or reflected back towards space.
Earth’s weather is created by the interaction between incident solar energy and water vapor suspended in the atmosphere, although the air is not significantly heated by the sun directly. Earth’s surface absorbs most of this heat and the lowest layer of the atmosphere is then warmed from being in contact with the Earth’s surface through a process of heat exchange known as conduction. Warm air gradually spreads upwards and outwards as it cools, creating a movement of air in the process. This constant movement of air from high- to low-pressure areas, combined with the effects caused by Earth’s spinning, forces air to move counterclockwise and into low-pressure areas, while moving clockwise and out of high-pressure areas.
Planetary Science Using Python - Sunspot Activity
Sunspots are about 4000 K (compared to the normal 6000 K temperatures of the sun’s surface) which causes sunspots to appear dimmer than the surrounding photosphere. Sunspots show where the sun’s magnetic field is strongest. For example, the average magnetic field on the sun’s surface is 1 gauss, but in a sunspot, the magnetic field can be over 3,000 gauss. The higher magnetic fields within these areas keep the sunspots cool and therefore dark.
While most sunspots disappear with a day or two, some sunspots can be identified and tracked for weeks or even months at a time. The apparent movement of sunspots across the Sun’s surface indicates that the solar surface is rotating anticlockwise.
Planetary Science Using Python - Effects of Gravity at Altitude
The planetary weight calculator allows you to calculate your weight while on the planet's surface and assumes that the surface of the planet is of uniform distance from its center. These equations therefore will not accurately reflect the weight of objects in space around Earth, or other planetary body.
Gravity is affected by only two variables and one constant. The universal gravitational constant (6.67408 * 10-11) cannot be changed and the planet's mass (5.98 * 1024) stays pretty much the same, therefore only your distance from the center of the Earth can be changed. Earth's surface is approximately 6378 * 102 km in altitude. When calculating the altitude of spacecraft and satellites, don't forget to add this distance to the distance of the spacecraft above the Earth's surface.
ge = G * Me / d2
Planetary Science Using Python - Gravitational Acceleration
In this tutorial we will explore the gravitational forces of the Sun and planets using Python and then learn how to plot these features for comparison using Matplotlib. For this tutorial we will be storing the mass and radius of each planet as a list of intergers and then calculating the gravitational acceleration (gp) and gravitational parameters (μ) for each planet.
Planetary Science Using Python - Planetary Weight Calculator (New)
This simple Python tutorial will show you how to build your own planetary weight calculator, will allow you to quickly calculate the weight of any object on each planet, the sun and the moon. To calculate your weight on each planet, use the gravitational acceleration vector for each planetary body, which is the product of the Universal Gravitational Constant (G) multiplied by the mass (m) of each planetary body (p) divided by the radius (r) of each body, squared.
gp = G * (mp/rp2)
Planetary Science Using Python
In this tutorial we will explore the solar system using Python and popular data science libraries NumPy and Matplotlib, to perform various functions and to visualize large amounts of planetary data. By the end of this tutorial, we will learn how to use Python to perform scientific calculations and hopefuly gain new insights into our eternal journey around the galactic core.
Raspberry Pi Weather Station
In this multi-part tutorial we will learn how to create an Astro Pi using the Raspberry Pi and Sense HAT. The Sense HAT has multiple integrted circuit-based sensors, which can be used to "sense" pressure, humidity, temperature, speed and Earth's magnetic field. The Astro Pi is currently being used to perform a variety of science experiements aboard the International Space Station (ISS).
Planetary Weight Calculator
In this tutorial we will use Python code to build a universal weight calculator, which will calculate our weight on each planetary body within our Solar System. Our weight calculator will be based on Newton's universal gravitational constant, or G = 6.674×10−11 m3 kg−1 s−2. Next we must obtain the mass and radius of each planetary body, which can be obtained from NASA. For our application, we used the Planetary Fact Sheet from NASA.
The following calculations will be done using the metric system, except for weight measurements, which should be in pounds (lbs). Don't forget to convert from diameter to radius for each celestial body, if you are using the NASA Planetary Fact Sheet.
Alternative and Augmentative Communication
This article will show you how to transform your laptop into the ultimate alternative and augmentative communication device. This project requires a webcam and two downloads: Camera Mouse, which uses the webcam to track your eyes, and OptiKey, an optical keyboard that can be used to spell out words and phrases.
DIY - Tabletop Props and Set Pieces
Follow along as we build various miniatures and set pieces for the Chaos Realms table-top role playing game. Using little more than cardboard, modelling clay, foam, random parts from models found at your nearest hobby/crafts store, along with rand debris found around your house, we will build props and set pieces that can be used for any modern, science fiction or post-apocalyptic table-top game.
If you are a seasoned game master looking to spruce up your games, or an amature game designer looking to build your own set pieces for tabletop role-playing games...look no further. These game-design tutorials will guide you through the creative process of turning random pieces of cardboard, junk, lots of glue, every day items and layers upon layers of paint into fantastic minitaure set pieces.
As an additional bonus, I offer tips and strategies on what types of things to be on the lookout for when collecting bits and pieces to add to your set piece; from sand and gravel, to small twigs and sticks.
Modern and Apocalyptic Miniatures (28mm)
Indie tabletop game designers and crafty game masters working on tabletop games set in a modern, science fiction or post-apocalyptic setting may enjoy adding the following miniatures to their games. Apocalypse Survivors: The Men and The Women, by Wargames Factory, offers a variety of armed civilians from men and women to children. US Soldiers from Mars Attacks, The Miniatures Game, provides a small army of elite military forces, which can also be used as corporate mercenaries or armed militias. Additional miniatures have been repurposed from the Call of Cthulhu boardgames by Richard Launius and Kevin Wilson, and Dark Heaven Bones by Reaper Miniatures.
Environmental Scanner - Arduino-based Sensor Array
The Environmental Scanner project began as a simple Arduino-based, environmental monitoring and alert system. Featuring and array of Adafruit and SparkFun electronic sensors, Arduino Uno and an ethernet shield, the Environmental Scanner will host a webpage containing sensor readings and alerts. This webpage will display the current sensor readings, which will refresh every few seconds and will send an alert when sensor levels exceed certain, predefined thresholds.
Facial Recognition Using Python and a Webcam
In this tutorial we will explore basic machine learning concepts by developing a simple facial recognition program in under 22 lines of code, using a webcam, Python 2.7, and the open source library OpenCV v2. OpenCV is a popular library for computer vision, which was originally written in C/C++, but now provides bindings for Python. This tutorial is based on Shantnu Tiwari's python blog, which can be found at https://realpython.com/blog/python/face-detection-in-python-using-a-webcam/.