All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Security
Security
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

openFrameworks Tutorial: Generating a Gradient Cylinder with Noise Deformation

20d ago· 3 min readen

Summary

This article contains C++ source code using the openFrameworks creative coding toolkit. It sets up a 3D graphics application that generates a gradient cylinder using noise-based deformation. The code configures frame rate, window title, background color, line width, depth testing, and uses primitive modes for rendering lines. It includes parameters for noise, thresholds, degree spans, z-spans, and radius to control the cylinder's visual appearance.

Source

Twitter / XopenFrameworks Tutorial: Generating a Gradient Cylinder with Noise Deformationjunkiyoshi.com

Key quotes

· 4 pulled
ofSetFrameRate(25);
ofSetWindowTitle("openFrameworks");
ofEnableDepthTest();
this->line.setMode(ofPrimitiveMode::OF_PRIMITIVE_LINES);
Snippet from the RSS feed
#include "ofApp.h"

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.