How to not make ugly circles in Open Frameworks

I was teaching a creative coding class at Parsons and my students were tasked with making some circles bounce on the screen. But once we got the demo sketch running, we realized that Open Frameworks makes ugly circles by default. They look like this guy ---->

After some searching around on the internet for help I realized that ofEnableSmoothing() would not fix the problem as it only works on lines and the other solution I found broke my code. After some searching on the documentation I learned the way to turn ugly circles into awesome circles. Its called ofSetCircleResolution!

Just place it in the code where you want to draw a circle and voila! A nice smooth circle. The circle below is drawn with a circle resolution of 100. The default resolution for a circle is 22, which looks rather bumpy. Check out the code below.

void ofApp::draw(){
    ofSetCircleResolution(10);
    ofCircle(150,150,100);          //draws a rough circle
    ofSetCircleResolution(100);
    ofCircle(450,150,100);          //draws a fine circle
}

If you want to get really meta you can change the resolution to 3 and get some sweet triangles. 

Accent Express

Accent Express is a fun iOS mobile app prototype designed by Niki Selken, Reut Ringle, and Xiaoyi Zhang at Parsons. It allows users to learn different accents and share their progress over social media by creating small audio recordings of their accent attempts. 

New York Public Library Heuristics Report

This semester I am taking Design for Usability at Parsons with Morry Galonoy. I created my first Heuristics Evaluation with Yu-Chien Kao about the New York Public Library Website. The evaluation uses a set of ten heuristics suggested by Jakob Nielsen. We also used Neilsen’s severity rankings scale to help the (imaginary) client tackle the most severe usability issues in a sensible order. You can view it below or download it

Jar of Fireflies

This is a firefly jar made with Arduino code programmed onto a Gemma. I also used LED string lights from Sparkfun, copper tape, glue, paper, solder, a rechargable 3.7 V battery and a Ball Jar. The light turns on with a twist of the lid. More on Nikiselken.com

The Jar of Fireflies is the second iteration of a firefly lamp I made with one string of lights. I wanted to make a jar of fireflies that felt more organic than the first one I made. I also wanted to make the switch as simple as a turn of the jar lid. I wanted to create a magical feeling of organic and glowing objects. This object could function as a nightlight or centerpiece for an indoor or outdoor table-setting. It is for anyone who likes mysterious and magical objects. Check out my instructable on how to make it!

The biggest challenge was finding out what kind of resisters to use with the cut up light strings. I read on some forums and discovered that 47 Ohm resistors were needed. I then soldered them to the positive leads of each light string before connecting that to the Gemma. then I had to attach copper tape to the lid rim on the inside. I also soldered the negative lead from  the battery cable to copper tape and placed that in the lip of the jar. So when someone closes the lid the two copper pieces make contact and that completes the circuit to send power to the gemma and start the lights going.

Some of the things you will need

The Firefly Jar is made with Arduino code programmed onto a Gemma. I also used LED string lights from Sparkfun, copper tape, glue, paper, solder, a rechargable 3.7 V battery and a Ball Jar. The light turns on with a twist of the lid. Code on Github.

The Jar of Fireflies built with Arduino code and Adafruit Gemma

Mastery Object and Concept Map

Theater Workshop/Ritual/Warm-Up 1. Gather in a circle 2. say your name and favorite fruit 3. Take hands and pass the pulse 4. Turn to your right and massage that person, turn around and do it to the other person 5. face the circle’s center 6. Play energy ball or sound ball. - start with the ball in the center and ask people to imagine that it is a blue glowing light. - Demonstrate how it gets larger and louder and smaller and more quiet. Then do pitch - high is high and low is low. - have the group join in and make the ball expand and contract and get higher or lower - pass the ball to someone else - take the ball back and make it small and release it up 7. Ask everyone for one word of intention they would like to offer the class for the semester. everyone say those intentions. 8. Thank everyone for participating.

 

Concept Map

Major Studio2 Map

 

Resources:

Source: http://nikiselken.com/wp-content/uploads/2...