Goat 1000 home

Welcome to Goat 1000 - this is where you'll find some of the bits and pieces of software that I cobble together for fun. Please feel free to download them and try them out. All this stuff is freeware, no guarantee that it will do anything, etc. (though if it does fail to do anything, please let me know!)

RSS Feed

News

02/09/2015

TagCanvas 2.8

TagCanvas 2.8 is quite a small update, only adding two options and some validation of a couple of the existing options. The canvas below uses both new options and the fixed code.

You should be seeing a canvas here.

Round images, nasty highlight colour

The first new option is imageRadius, and it cuts the corners off your images to give a rounded effect. The option can be in pixels, or as a percentage (enclosed in single or double quotes to make it a string). The example cloud is using '50%' to make the images round (they are actually 128×128 squares).

The second of the new options is scrollPause, which pauses the animation while the page is being scrolled. Some browsers (especially on mobile devices) struggle to display the page when there is a lot of canvas animation happening at the same time as the page is scrolling. This option allows you to set a delay in milliseconds that TagCanvas will pause for when it receives a window scroll event. The example cloud is using a value of 200, so you should be able to notice the slight delay after the page has scrolled and before the animation resumes. This option is disabled by default, though it should not do any harm to enable it for all browsers.

Read more . . .

21/08/2015

SVGGraph 2.19.1

Version 2.19.1 of SVGGraph is a quick bugfix release, fixing one clear bug, some behaviour that was a bit inconsistent, and adding in a new callback option that should really have been there before.

The bugfix is to the stacked and grouped bar graph. Depending on the values in the graph it could calculate the height of the bars incorrectly, meaning that the automatic axis scale selection would chop off the tops of some bars. This version fixes that calculation error.

The inconsistent behaviour was in the structured_data option, which can best be described by a table:

When is structured data enabled?

 structure not set structure present
structured_data not setoffon
structured_data = TRUEonon
structured_data = FALSEoffoff

Read more . . .

17/07/2015

SVGGraph 2.19

The main change in version 2.19 of SVGGraph is the addition of a Histogram graph type. I haven't considered adding one until now because I figured people could work out how to do it for themselves and use one of the existing bar graph classes. I've changed my mind - histograms actually work quite differently to bar graphs, so I've produced these two graphs to demonstrate the difference.

BarGraph of SVGGraph PHP file sizes

The example above is a standard BarGraph displaying the current sizes of the PHP files in the SVGGraph library. There are a couple of fairly large files and quite a few smaller files. I've used a simple associative array to pass the file sizes to SVGGraph. (The actual values might have changed a bit since I generated them using ls and awk.)

Read more . . .

Older news . . .

Sections

Contact me

If you want to contact me, my email address is at the bottom of the Readme.txt file or PDF in any of the zip files, or in the source of Javascript files, or you could try to figure it out from a combination of my name, (graham) this domain name (goat1000.com) and the @ sign.

About this site

All pages on this site are written in PHP. Syntax highlighting is performed using GeSHi. Titles and sub-titles use the Franchise font, with CSS @font-face files generated by the Font Squirrel @font-face generator.

The site uses cookies, find out more

Site search

The search box on this web site (“Search Box”) is powered by Google Inc (“Google”). You acknowledge and agree that Google's privacy policy (located at http://www.google.co.uk/privacy.html) shall apply to your use of the Search Box and by using the Search Box you consent to Google using your personal data in accordance with its privacy policy.

Updated 02/09/2015.