An openframeworks add-on to painting the giraffe and others thing.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example/src Upload the addon Mar 14, 2016
libs Upload the addon Mar 14, 2016
src Upload the addon Mar 14, 2016
.gitattributes :neckbeard: Added .gitattributes & .gitignore files Mar 14, 2016
.gitignore Upload the addon Mar 14, 2016
README.md Update README.md Mar 15, 2016
ofxaddons_thumbnail.png Upload the addon Mar 14, 2016

README.md

ofxCTPainting

Description

An openframeworks add-on to painting the giraffe.

How To

Step1. Import the add-on

#include "ofxCTPainting.h"

Step2. Declare the element

stGiraffeP _giraffe;

Step3. Drawing on the right place

ofxCTPainting::GetInstance()->draw(_giraffe);

Step4. Giraffe!!

There have 16 difference type of element as follow:

  • stGiraffeP
  • stSwingGiraffeP
  • stLongGiraffeP
  • stOpenGiraffeP
  • stThreeLevelFireworkP
  • stElevatorP
  • stBoxP
  • stJetpackP
  • stPipeP
  • stFireFlowerP
  • stStarP
  • stCactusP
  • stPokeBallP
  • stPACManP
  • stGhostP
  • stExclamationMarkP

Those elements inherit the same class stBasicP that include the position, rotate, scale... etc. And each element can be controlled by its own parameter. You can check out the example to get more detail.

Example

The example is test on visual studio 2012 with openframework 0.8.1.

ofxCTPainting example