← Back

ofxCTPainting

github.com/CaterTsai/ofxCTPainting · @CaterTsai
OF 0.9 Animation Graphics

An openframeworks add-on to painting the giraffe and others thing.

8 0 Last commit 10y ago Created 10y ago

README

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

Get this addon

HTTPS
SSH