teaching machines

CS 491 Lecture 16 – Sphero Controller II

Agenda Sphero directions calibrating with the LED and CalibrationView Black Box: reverse engineering the controller from the Sphero app getting yaw, pitch, and roll the final project Black box Write in pseudocode with (preferably one) neighbor a little app that lets the user drive a Sphero like the app from Orbotix. Give the user simple […]

HNRS 304.503 Lecture 14 – Modeling found objects

Agenda Jesse Schell’s Games for Change keynote crude modeling of found objects TODO Browse through the Valve employee handbook. (If necessary, do some YouTubing to get a background for Valve and its games.) Bring a quarter sheet with two questions and observations based on your reading. Haiku

CS 491 Lecture 15 – Sphero Controller

In class Today we focus on two things:   Getting an environment set up for working with Spheros.   Designing a controller to make the Sphero move. Number one is easy enough, but it requires a Bluetooth Android phone and a computer that can install apps on that phone. To set up your environment, follow […]

HNRS 304.503 Lecture ? – Sprite animation

Agenda Sprite animation rendering renderer.material.mainTextureOffset fleshing out our frame-picking algorithm iterating through a cycle Modeling a coin our goal today: a teaser hello, Blender approximating with a cylinder sculpting an emblem subdividing with extrusion rounding off edges with a subdivision surface modifier sharpening edges back up with a loop cut incorporating into Unity adding a […]

CS 491 Lecture 13 – Pinch and zoom and pan

Before class A Before next class: Watch http://youtu.be/rQC_kQtVt38. Read http://android-developers.blogspot.com/2010/06/making-sense-of-multitouch.html. B Before next class: Watch http://youtu.be/Jfgr3Ewsw8s. Read about HTML5’s Canvas transformation API at https://developer.mozilla.org/en-US/docs/Canvas_tutorial/Transformations. In class Continue the problem from last lecture. If you have 1x, add the ability to pan around the canvas. If you have 2x, add the ability to scale, either with two fingers pinching and […]

CS 491 Lecture 12 – Continuous rendering and gestures

Before class A Before next class: Watch http://youtu.be/spSomawdgTg. Skim http://developer.android.com/reference/android/view/SurfaceView.html. B Before next class: Watch http://youtu.be/T_Z9lNQVaNg. Browse http://developer.android.com/reference/android/gesture/package-summary.html. In class Write a continuous renderer that draws a number word like “one”, “two”, “three”, and so on, which gets bigger and bigger and bigger over time. If the user draws the corresponding gesture—a 1, 2, 3, …—generate […]

CS 491 Lecture 9 – Web services and backgrounding

Before class A Before next class: Watch http://youtu.be/7etGy5NMASQ. Read http://www.json.org/fatfree.html. B Before next class: Watch http://youtu.be/nR-I8TG9mdE. Read http://techtej.blogspot.com/2011/02/android-passing-data-between-main.html. (This post offers some background on how Handlers work. There’s little narrative in the official Android documentation. Note that the UI thread already has a Looper; we need only create a Handler.) In class Continue on your task from Tuesday, […]

HNRS 304.503 Lecture 9 – Astefreuds II

Agenda Discussion I want a constant rate of rotation (framerate-independent animation) I want to fiddle with speed, not code (public variables) I want to control my ship (input layer) I want to test out collision (risks first!) I want to tweak as little as possible (prefabs) I want to destroy objects I want points (GUI […]

CS 491 Lecture 8 – Animations and Databases

Before class A Before class, please do the following: Watch http://youtu.be/GTz5xhG6haU. Read the non-technical http://android-developers.blogspot.com/2010/03/speech-input-api-for-android.html. B Before class, please do the following: Watch http://youtu.be/AxEzQ_EApkU. Read http://developer.android.com/guide/topics/data/data-storage.html#db. In class With your partner, construct an app that: Creates a database with a user table. (Don’t worry about dynamically inserting new accounts for now.) Stores usernames and passwords in the table. […]

HNRS 304.503 Lecture 8 – Moving and colliding

Agenda Discussion A prototype for Astefreuds Collision detection Haiku  

1 94 95 96 97 98 110