teaching machines

CS 145 Lecture 38 – Slideshow

Agenda what ?s program this slideshow application TODO Read Isaac Asimov’s short story The Feeling of Power. On a 1/4 sheet for Monday, share your reaction, observations, amens, and ahems. Note Today we’ll get a working slideshow application running. But first, let’s have a little Program This: Suppose you are a chemist. With a neighbor, design an […]

CS 491 Lecture 23 – Particle Systems

Agenda what ?s rain fire explosion TODO Watch Unity’s particle system live training. On a 1/4 sheet, identity an effect that can be achieved with a particle system and describe how you’d achieve it. Code … Haiku

Snowflake

I have a challenge with some students to make a Christmas ornament in Madeup. I was pretty certain I was going to make a cutesy revolved Christmas tree, but I needed more time to think about the math. I fell back on something we fall back on: All told, the snowflake is comprised of 2 […]

MacMolPlt

In an earlier chapter of my life, I had the opportunity to work with a computational chemist at a Department of Energy laboratory to help build MacMolPlt, an application for generating graphical models of molecules. I was given immense freedom to learn and create. It was that job that taught me the most about computer graphics, […]

CS 145 Lecture 37 – Instance vs. Static vs. Local

Agenda what ?s instance vs. local vs. static  Vector2D a slideshow application Note Whenever you declare a variable, you have to decide a few things: what type will it be? what will I name it? who needs access to it? how long will it need to live? Different answers to the last two questions lead us to […]

CS 145 Lecture 36 – Blackboxes Cont’d

Agenda what ?s blackboxes cont’d implementing ArrayList TODO Start homework 7. Due before December 14—unless you are pursuing the mercy bounty, in which it’s due before December 7. Note Today we keep exploring objects from the outside in with a few more blackboxes: Blackbox 23 Blackbox 25 Blackbox 24 If we have time, we’ll also […]

CS 145 Lecture 35 – Android Demo

Agenda what ?s Android app structure declarative layout custom views handling touch events Note Today we create an Android application! We’ll incorporate many of the subjects we’ve been discussing, with loops, 2D arrays, and objects. We’ll also slog through what you’re likely to encounter in many modern software projects: an extensive standard library at your […]

CS 145 Lab 6 – Objects

First, if you have checkpoints left over from last lab, get them inspected during the first 15 minutes of this lab. No credit will be awarded past these 15 minutes. Don’t forget to work in pairs! Where possible, please work with someone that you did not work with last week. The exchange of new ideas and […]

CS 145 Homework 7 – due before December 14

See the PDF.

CS 145 Lecture 34 – Blackbox Objects

Agenda what ?s blackbox objects TODO No lab on Tuesday. Android demo on Wednesday. Note We’ve been through encapsulation before. At the beginning of the semester, we tucked code into reusable methods. We explored these methods through Blackboxes. We’re doing something similar with objects, but these Blackboxes have a persistent memory. Today, we’ll look at […]

1 113 114 115 116 117 204