PHP & More

A technical blog about programming in PHP and about technology in general: programming, workarounds and troubleshooting

D3 is a JavaScript framework used for data visualization. Learning how to work with D3.js is very easy. If you begin with the basics, you’ll see how easy it is to use D3, because: the DOM function names are much shorter than those in the legacy DOM library. the same functions are used for both …

Continue reading

The Bézier curve is a popular way to draw curves in graphic editors such as GIMP and Inkscape. A curve of degree n is defined using n+1 points, where the first and last are the start and end points of the curve, respectively, and the rest are control points. For example: The curve in the …

Continue reading