G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing
GREYC CNRS ENSICAEN UNICAEN

A Full-Featured Open-Source Framework for Image Processing



Latest stable version: 3.5.0        Current pre-release: 3.5.1 (2025/01/14)

Reference

Table of Contents  ▸  List of Commands  ▸  Image Drawing  ▸  ball◀  axes    |    chessboard  ▶

ball

Arguments:

Description:

Input a 2D RGBA colored ball sprite, rendered using the Phong illumination model.

Default values:

size=64, R=200, G=R, B=R, ambient=0.25, diffuse=1, specular=1, shininess=20, light_x=1.5, light_y=-1.5 and light_z=1.

Example of use:

repeat 9 { ball {int(1.5^($>+4))},${-rgb} } append_tiles 3,3

Command: repeat 9 { ball {int(1.5^($>+4))},${-rgb} } append_tiles 3,3
G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing

G'MIC is an open-source software distributed under the CeCILL free software licenses (LGPL-like and/or
GPL-compatible). Copyrights (C) Since July 2008, David Tschumperlé - GREYC UMR CNRS 6072, Image Team.