part 1:

part 2:

and I also managed to get my original idea for the midterm project running, although I found the lines were too complex for the eye to follow so I reworked the UI a bit and went with a more easy to 'read' piece.
On the y-axis you see a collection of tangible information (date, gender and value) some of the information was estimated based on other information found about similar works by the same artist, regardless you can compare dynamically different art works, by moving them closer to other pieces you can see how high different values are in comparison to their neighbors.
I'm interested in mapping this information dynamically in some sort of UI. Ideally so that anyone can manage a large collection as if to curate an entire museum . . . on their own terms.
here is a movie to give you an idea of how it works-- code is also provided behind the cut..
problem 1:
for( int step=0; step
glBegin( GL_LINE_LOOP );
for ( int arc=0; arc
float a = arc / circlesteps*PI*2.0;
float x = radius*cos( a );
float y = step*stepheight;
float z = radius*sin( a );
glVertex3f( x, y, z );
}
glEnd();
}
for( int step=0; step
for( int arc=0; arc< circlesteps; arc++ ) {
glBegin( GL_LINE_STRIP );
float a = arc / circlesteps*PI*2.0;
float x = radius*cos( a );
float z = radius*sin( a );
glVertex3f( x, step*stepheight, z );
glVertex3f( x, (step+1)*stepheight, z );
glEnd();
problem 3:
float circlesteps = 30;
vector circleCurr;
vector circlePrev;
for( int i=0; i
glBegin( GL_LINE_LOOP );
for ( int arc=0; arc
float a = arc / circlesteps*PI*2.0;
float radius = points[i].x;
ofPoint3f cp = ofPoint3f( radius*cos(a), points[i].y, radius*sin(a) );
circleCurr.push_back(cp);
glVertex3f( cp.x, cp.y, cp.z );
}
glEnd();
glBegin( GL_LINES );
for( int i=0; i
glVertex3f( circleCurr[i].x, circleCurr[i].y, circleCurr[i].z );
glVertex3f( circlePrev[i].x, circlePrev[i].y, circlePrev[i].z );
}
glEnd();
circlePrev.clear();
for( int i=0; i
circlePrev.push_back( circleCurr[i]);
}
circleCurr.clear();
midterm part 2
#include
#include
#include