User Tools

Site Tools


EPGY - Assignment 2

Objective: to get students oriented with event handling and graphical programming.

Lab 1 - Try OpenProcessing

  1. SIGN UP!
  2. Authenticate your email
  3. IMPORTANT: Put the link to your openprocessing portfolio in the “My Links” page of your blog
    1. (except you haven't created anything yet)
  4. To the right of your openprocessing portfolio is the “Create a New Sketch”
  5. Create a new sketch
  6. (Deliverable) - Create your own processing sketch that handles user events. The sketch must respond to mouse clicks and to the mouse position. Again, this can be fairly simple, we are going for proof of concept :)

Lab 1 is hosted online on openprocessing; therefore, does not need to be in google drive. Make sure your website “My Links” page references your Processing portfolio. This language is very good for rapid prototyping– making quick demos of program concepts that you can share with anyone.

Note: the draw() in Processing is looped infinitely, while in Java, we need to create our own loop.


(Optional) Take a screenshot of your work and write a SHORT blog POST about it.

Lab 2 - Understanding Animation and Events

Today’s lab is going to be a lot like yesterday’s lab, but we are going to mix things up. Keep in mind that this is not a race and not graded. Working together can only improve your ideas!

One more time, I cannot stress this enough, you do not need to finish!

Today, all work is a deliverable!

Part 0: Warm down

Before moving on to new material, finish up yesterday’s Lab 2.

Part 1: More Drawing

(Credit: DMA)

JavaDocs for ACM:

The following instructions refer to this starter code: download

  1. Random Circles: instructions
  2. Seurat: instructions
  3. Recursion: instructions

Just zip up the project folder with your code inside when you are finished and upload it to “Day 2” in Google Drive.

(Deliverable) - take a screenshot of the OUTPUT of every program above. Write one blogPOST featuring the 4 programs and caption each with one sentence descriptions.

Part 2: EPGY Draw

Download the EPGYDraw starter code: download. Create the program according to the comments. Turn in whatever you have by the end of the day, whether it’s finished or not.

See processing example:

Lab 3: Research!

Part 1

When you are done programming, try a research topic:

If you recall, a fairly large component of this course will be a final presentation on some AI topic of interest to you (or an entry in the AI contest, more to come on that later). Look through the following ideas for one that has not yet been claimed (check out the comments for claimed topics). If there is something else that you want to do, feel free to email me or talk with the RCs to verify that the topic is substantial and relevant.

  • Autonomous Driving
  • Autonomous Agents
  • Bayesian Networks
  • Biocomputation
  • Chatbots
  • Chinese Room
  • Common Knowledge
  • Computational Creativity
  • Computer Vision
  • Decision Trees
  • Deep Learning
  • Ethical issues in AI
  • Expert Systems
  • Game Theory/Multi-Agents
  • General Game Playing
  • Genetic Algorithms
  • Haptics
  • Hidden Markov Model
  • Knowledge Ontologies
  • Knowledge Representation
  • Motion Planning
  • Natural Language Processing
  • Natural Language Generation
  • Neural Networks
  • PageRank/Link Analysis
  • Player Models/Personality Models
  • Random Forests
  • Reinforcement Learning
  • Robot localization
  • Singularity
  • Siri
  • Speech Recognition
  • Supervised Learning
  • Swarm Algorithms
  • Story Generation
  • Turing Test
  • Video game AI
  • Watson

Now it is time for some cursory research! Wikipedia, your textbook, and just Googling around are probably your best best. Write a short (2-3 paragraph) overview of your topic, making sure you’ve covered the high-level ideas. Create a new blog post by going to the admin page and clicking “Add New.” Title it “[Your Name]: [Your Topic]“. Check the categories “Student” and “Submissions.” Post what you wrote into the blog editor, and click “Publish.” Now your post is out there for the world to see!

If in the course of your work you realize that this topic is no longer as interesting to you as you thought, it would be, do not fear! We can always do some rearranging, but we ought to keep it within reason.

Part 2: More Exploration

By the end of the day, go on the Syllabus Page, read at least three of your classmates’ blog entries, and write an interesting comment for each.

Part 3: New Tool

  • Check out
  • Create a profile
  • Link to it in “My Links”
  • Store/share your code (make sure you mark it as Java syntax)
/soe/sherol/.html/teaching/data/pages/epgy/ai13/assignment_2.txt · Last modified: 2013/07/18 00:21 by ffpaladin