teaching machines

CS 330 CSE Homework – due before March 12

See the PDF.

CS 330 Lecture 13 – Control Statements

Agenda what ?s what’s a program look like? adding moves and rotates adding loops and conditionals adding functions TODO Start the CSE homework. Sync and pull to get the grader as described in post @16. Extra credit participation: download the Logo Eclipse project and write a Logo program. Post it on Piazza (filed under folder logo) […]

CS 330 Lecture 12 – Storing a Program

Agenda what ?s think about this storing program structures in Basecalc TODO Watch two videos on optimization from Stanford professor Alex Aiken: https://www.youtube.com/watch?v=_8PEtL9AYmQ and https://www.youtube.com/watch?v=yRfh7hUx26k. Feel free to watch at double speed. Share 3-4 questions or observations on a 1/4 sheet. Think About This Suppose we add a ternary operator to our Basecalc language. What happens when we […]

pinterrm – HW1

I started with creating the Image class and its methods. This part was straightforward and with some test cases and verifying outputs the work was complete. I then moved onto analyzing the formula to be used as the center point of calculations. I made a list of structs for holding basic information related to the […]

CS 455 Lecture 8 – Calculating Normals

Agenda what ?s finding Playdoh normals finding normals of a model Think About This Here’s what you know: The positions of five vertices. Connectivity information (e.g., vertices 0, 1, and 2 form a face). Vector operations: you can add 3D quantities, subtract them, take their dot product (which tells you the cosine of the angle […]

CS 330 Lecture 11 – Basecalc Interpreter Cont’d

Agenda what ?s defining an interpreter add callbacks to interpreter internode communication variables TODO See post Git Syncing + Permissions Issues on Thingies on Piazza to fix some problems you are likely to encounter. Get your homework (at least the first two problems) pushed to Bitbucket before Friday. If you can’t see your code on Bitbucket’s site, neither […]

CS 455 Lecture 7 – Diffuse and Ambient Lighting

Agenda what ?s diffuse lighting ambient lighting TODO Incorporate diffuse and ambient shading into the sphere renderer. Mix 90% of the diffuse color with 10% ambient. Cast a white light on an orange diffuse surface. Email me a screenshot of your lit sphere. Code … Haiku

Robby’s Gaussian Pox

For this assignment my thought process started by just getting the implementation of the Image class all sorted out. After that I moved into the actually application of the Image class using the Guassian Pox function in order to calculate our energy. After reading that carefully and being confident I understood what the end goal […]

CS 330 Lecture 10 – Basecalc Interpreter

Agenda what ?s whitespace expr productions parse trees a REPL an interpreter TODO Read up on the origin of a programming language of your choosing, and share some interesting factoids on a 1/4 sheet. Review Process of Interpretation Write your grammar in a *.g file. Run antlr on *.g file to produce the Java source […]

spiegedj – HW 1

Hurdles:  One issue I had was that I was getting weird distortions around the edges of my bumps. This turned to be because I was printing the float value of the colors to my PPM file and gimp interprets 3.03984e-005 as 3. Additionally, testing the code to make sure it was correct was a challenge. Thought […]

1 127 128 129 130 131 233