Logo

BlogAboutProjects
Resume

Copyright © Daniel White 2019
Simulating Chaos With Python
Using Python and a couple of popular modules, SciPy and Matplotlib, you can simulate physical systems like the double pendulum shown above. Each system will be represented as a class that consists of two parts: The differential equations of the system An initial state We can plug these two items into a numerical integrator supplied by SciPy, odeint, and render the output using matplotlib. The…
Posted on 02.2019pythonmatplotlib
Adding Local Videos To Gatsby Markdown Pages
GatsbyJS has a great plugin for embedding hosted videos to your markdown with gatsby-remark-embed-video . What if you want to add your add your own HTML5 videos, locally hosted from your static folder? Now you can with the gatsby-remark-videos plugin. When Not To Do This Before you decide to do this, keep in mind that there are a number of reasons why you would not want to do this. Bandwidth…
Posted on 03.2019javascriptgatsbyjs
Game Physics the Wrong Way
This is a short look at a game I made called Last Circle, how I designed the collision detection for it, and what I learned. The player controls a blue-turquoise octagon by moving and shooting in the cardinal directions(N, S, W, E). The challenge was to create a somewhat complex 2-D game without the help of a physics engine. A First Attempt Collisions detection was based on geometric calculation…
Posted on 07.2018javagame-development
GPS & Arduino
You can do a lot of cool things with GPS data, and it's easier than ever to build projects with GPS modules. Many of these are available at SparkFun at relatively low prices and can be programmed to do all kinds of things. Below is a very basic schematic connecting one of these modules, The UP501 , to an Arduino microcontroller. The UP501 has been discontinued, but there are many similar models…
Posted on 10.2018arduinogps