PHP Classes

File: example/pong.php

Recommend this page to a friend!
  Classes of Patrick Van Bergen   Move Me GIF   example/pong.php   Download  
File: example/pong.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Move Me GIF
Create animated GIF images in pure PHP
Author: By
Last change:
Date: 7 years ago
Size: 382 bytes


Class file image Download

use pong\Pong;

// just for debugging
ini_set('display_errors', 1);

// this may take some time

// include movemegif's namespace
require_once __DIR__ . '/../php/autoloader.php';
// include pong namespace
require_once __DIR__ . '/autoloader.php';

$pong = new Pong();
$builder = $pong->getBuilder();