Programming

Newton's Cannon

Wed, 10/17/2018 - 18:57

Newton's cannonball was a thought experiment Isaac Newton used to hypothesize that the force of gravity was universal...

https://en.wikipedia.org/wiki/Newton%27s_cannonball

The cannon fires a ball that falls to earth. The cannon adds some power to the next shot and the cannonball goes a bit farther. Eventually the ball flies with enough velocity to break the planets gravity and falls into orbit. The ball literally falls around the planet indefinitely.

SVG Preloader with Javascript

Sun, 03/18/2018 - 13:31

I am currently working on a CRM that will be including a feature to display statistics on a large screen.
A feature I proposed was a nice animated timer to display when each module would update.

This timer should be dynamic and should have the ability to have easy set parameters; update time, color, etc...

So anyways, this is what I came up with: SVG-Preloader GitHub Repo.

Basic usage is quite simple:

Tags

Whoa - Accidental Fractal

Thu, 03/01/2018 - 19:57

I was attempting to add a cracked windshield to the player tank in my Battlezone remake built in Javascript. I wanted to built the crack procedurally and it's "working". But it's not very believable as a cracked windshield just yet. I was able to add a pretty cool effect that shakes the screen but, the cracked windshield currently either resembles fractured rock or in many cases modern art. 

Homepage Animation Block For Drupal 8

Wed, 02/21/2018 - 12:18

Many websites have an animation of some kind running on the homepage. My website is no exception however, I like to experiment with different animations and such and I am sure I will want to regularly swap them out. I could simply dump in a new file whenever I want to make a change but, I like to design things that are a little more elegant. Something that might be used by other people in the real world. So, I built this simple module.

Tags

Books and Authors Plugin

Sun, 02/18/2018 - 08:17

Our team was tasked with building a new website for a non-profit organization in Riverside for local authors known as the Inlandia Institute. The previous website was built on vanilla PHP with a custom CMS. The website had a few hundred authors and subsequently a few thousand associated books.

The CMS was limited and difficult to use and for this reason the owners had rarely used it.

My task was to:

Curious Pondering - MYSQL And How It's Always Eventually Evaluated As A String

Thu, 02/15/2018 - 08:16

I was working recently on building an abstraction for IndexedDB in Javascript and as I was building I was thinking ahead about building queries. I have only just begun using the feature and so I haven't really delved into retrieving data as it refers to searching. Regardless, I was thinking about building a simple SQL type language. This is really impractical of course but, the thought crossed my mind for a second. It passed quickly mainly because I would be evaluating a string and accessing a database.

Subscribe to Programming