PHP Classes

monocreate: Display a character from body parts defined in SVG

Recommend this page to a friend!
  Info   View files Example   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 77 All time: 10,129 This week: 571Up
Version License PHP version Categories
monocreate 1.0.0Custom (specified...5HTML, PHP 5, Graphics
Description 

Author

This class can display a character from body parts defined in SVG.

It can read SVG files that define different parts of a body and assembles the parts to display the body in a Web page.

The package provides SVG files for the different parts of the body, such as the head, body and legs.

Innovation Award
PHP Programming Innovation award nominee
October 2021
Number 10
SVG is a standard format for files that store information about a drawing using vectorial coordinates.

This characteristic allows rendering the same drawing in many different sizes without losing the quality of the image of the picture when it is displayed.

This package can generate a drawing file in SVG format for a character composed of head, body, and legs.

This package can be helpful to generate artistic drawings of characters that you can display with excellent image quality.

Manuel Lemos
Picture of jean paul Delaye
  Performance   Level  
Name: jean paul Delaye <contact>
Classes: 7 packages by
Country: Mexico Mexico
Age: 49
All time rank: 376347 in Mexico Mexico
Week rank: 106 Up3 in Mexico Mexico Up
Innovation award
Innovation award
Nominee: 2x

Example

<?php
/**
 * Monocrea Class
 * TPhp class that output a character drawing. It loads random SVG files from 3 directories,
 * each one containig parts of the character body to be created. Heads, Body and Legs.
 * @author Jean Paul Delaye
 */

require_once('class.monocrea.php');

  
$artwork = new monocrea();

?>


Details

monocreate

Php class that output a character drawing. It loads random SVG files from 3 directories, each one containig parts of the character body to be created. Heads, Body and Legs

Requirements: php >= 5.4.0

Intallation: just copy the class to your classes folder

Basic Usage: $artwork = new monocrea();

sample: https://intelector.com/monocrea/

NOTE: each time the page loads it render a different character.


  Files folder image Files  
File Role Description
Files folder imageMONOCREA (3 directories)
Plain text file class.monocrea.php Class Class source
Plain text file index.php Example Example script
Plain text file LICENSE Lic. License text
Plain text file README.md Doc. Documentation

  Files folder image Files  /  MONOCREA  
File Role Description
Files folder imageCABEZAS (3 files)
Files folder imageCUERPOS (3 files)
Files folder imagePIERNAS (3 files)

  Files folder image Files  /  MONOCREA  /  CABEZAS  
File Role Description
  Plain text file Cabeza.svg Data Auxiliary data
  Plain text file Cabezay.svg Data Auxiliary data
  Plain text file Cabreza3.svg Data Auxiliary data

  Files folder image Files  /  MONOCREA  /  CUERPOS  
File Role Description
  Plain text file Cuerpo.svg Data Auxiliary data
  Plain text file Cuerpol2.svg Data Auxiliary data
  Plain text file Cuexpo3.svg Data Auxiliary data

  Files folder image Files  /  MONOCREA  /  PIERNAS  
File Role Description
  Plain text file Piernas.svg Data Auxiliary data
  Plain text file Piernas2.svg Data Auxiliary data
  Plain text file Piernas3.svg Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:77
This week:0
All time:10,129
This week:571Up