add-on for openFrameworks to easy generate different gradiented background styles.
README
DEPRECATED AND MOVED TO
https://github.com/moebiussurfing/ofxSurfingBg
-----------
ofxBackgroundGradient
Overview
ofxBackgroundGradient is an add-on for openFrameworks to easy generate different gradiented background styles.Screenshots
Features
- 5 different types: Linear, Circular, Bar, Image and 3D editor dark-style with 3D-Grid-Floor.
- Two colors with offset transforms: scale and x,y position for cicrcular type.
- Transform animator to auto rotator with variable speed.
- Mouse control with wheel.
- Helpers: randomize colors, transforms, reset, swap colors...
- Control GUI.
- Store and handle different presets. WIP
Usage
ofApp.h ``
.cpp include "ofxBackgroundGradient.h"
ofxBackgroundGradient bg;
ofApp.cpp
.cpp void ofApp::draw() { bg.drawBackground(); bg.drawGui(); } ``Dependencies
ofxGui [Core] ofxSurfingHelpersNOTE
Uses an fbo to refresh only when updated. Not using any shader. This would be more performant.Tested systems
- Windows10 / VS2017 / OF ~0.11
- macOS High Sierra / Xcode 9/10 / OF ~0.11
Author
Addon by @moebiusSurfing (ManuMolina). 2020.License
MIT License.Get this addon
Latest release
v0.1
published 3y ago
ofxAddons