Posts

Pi day was a few weeks ago, but I came across this simple approximation of pi recently and decided to put together an example in PHP since it seemed pretty simple. This approximation of pi centers around a real world example, but we can simulate this using some code. Let's say you have a dart board that fits inside a square area so that it is flush with the outside of the square. Then you pick som...

## New! Approximating Pi Using A Circle And A Square

May 26, 2024

A parabolic curve is a type of curve where every point is an equal distance from a focal point. There a number of different way to generate this sort of curve using math, but one of the simplest is to use straight lines to create the illusion of the curve. The curve is created by diving two axis into equal points and then drawing a line from the first point on one axis to the last point on the opp...

## New! Drawing A Parabolic Curve With Straight Lines In PHP

May 12, 2024

55 views

April 23rd, 2024 saw the first LocalGov Drupal Camp, held at the Birmingham Council buildings in Birmingham city center. It's been ages since I attended an in person Drupal Camp in the UK, so when I saw that the LocalGov Drupal people were organising one just down the road for me I jumped at the chance to grab a ticket. LocalGov Drupal is a distribution that combines Drupal, some configuration, so...

## New! LocalGov Drupal Camp 2024

Apr 28, 2024

43 views