How-To's that you want on the openFrameworks website
Comments
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
$
%
123
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Still loading...
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
We are creating some new documentation ("How-To's") for openFrameworks, and we need your suggestions.
2
Please add to the list below! We're working in Denver to make How-To's a reality. #ofDocSprint
3
4
What is a How-to?
5
How-To's will be online resources which explain HOW TO DO something in OF.
6
How-To's will be less than 2 pages long: ideally, just a single page.
7
They're not just a link to information (as in a FAQ); they tell you HOW to do something, and provide a code fragment.
8
They are much shorter than tutorials. They tell you how to do just one thing.
9
How-To's may be derived from downloaded Examples, but not necessarily.
10
An inspiration for OF How-To's is Processing's thematic examples: https://processing.org/examples/
11
https://docs.google.com/spreadsheets/d/1v22QsDQK1yWOw5CGfjWZHjcpbRnYc2l1MwZMNRS4Rpk/edit?usp=sharing
12
13
Log for documentation
14
https://docs.google.com/spreadsheets/d/1OVgUWwZ6UmUyx6yY6WNN5nY4pnq3oyx6wHNl5Sm2qOY/edit#gid=0
15
HOW DO I: {What do I want to DO?}
16
{OR: What's a snippet that you think other people would want to know?}
17
Basics
18
Record data values into a growable array?
19
View the value of a variable? (printf, ofLog, cout)
20
Save a file? (text, data, image, XML settings)
21
Load data from a CSV or JSON file
22
how do i make a fullscreen app
23
how do i set the dimensions of my window
24
what are some suggestions for commands to put in setup() (like ofSetVerticalSync)
25
Add an ofxAddon to a project?
26
Use other libraries
27
Use code to take a screenshot?
28
Make a GUI slider to control a variable?
29
Strings
30
Split a string according to given characters (like tabs)?
31
Assemble a string from pieces?
32
read a text file into a string
33
read a text file with each line being a string in a vector
34
Communication
35
Read a file from the web?
36
Send data over OSC?
37
Receive data over OSC?
38
Send serial data (e.g. to an Arduino)? (*include Arduino code!)
39
Receive serial data (e.g. from an Arduino)? (*include Arduino code!)
40
How to parse complex serial message (what is equilient to processing's ReadStringUntil )
41
Full Duplex between OF and Arduino (send AND receive)
42
Images
43
Load and display an image?
44
Get the color at a given pixel (x,y)?
45
Display images/graphics in a checkerboard style array, or in any pattern?
46
Iterate through pixels of an image?
47
Video
48
Load and play a video?
49
mask my video with a shape
50
Audio
51
Load and play a sound?
52
Control sound files
53
Camera
54
control position / orientation / frustum of the camera
55
Capture video from camera (not just images sequenced)?
56
Capture easily synchronized video and audio?
57
3D
58
load a 3D model with texture information?
59
apply a texture to a 3d model
60
light a 3D scene?
61
Shaders
62
Send a texture to a shader
63
Blur the screen with a shader?
64
65
Data types
66
sort a vector of a more complex data type
67
Add, remove, lookup objects in an array or named array
68
Other
69
Make a timer?
70
Issue a command to the command line?
71
List a directory of files?
72
Extract the points in a glyph?
73
Detect a face?
74
Draw graphics without having them display to the screen?
75
How to effectively use Perlin noise
76
Add to the OF documentation?
77
How to build an addon
78
How to submit an example project
79
"Pause/Play" the application
80
remove elements in a vector when a condition is true (ie, how to use ofRemove(...))
81
how to use sprite sheet?
82
how to export gif?
83
when use <vector> instead of arrays and vice versa.
84
85
Web
86
Using twitter api, or any oauth 1.1 api with openFrameworks
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Loading...
 
 
 
Sheet1