Tag Archives: lecture
Ihr findet eine erste Beispielaufgabe zur Klausurvorbereitung im HMS.
Hier nun doch noch das Video von der Übung:
Screen capture did work, but sound is a little low.
Sorry, recording the screen cast did not work.
Instead find the source code of the FractalTree from the lecture here:
package de.uks.ep1415.m1234567.ha11; import processing.core.PApplet; public class FractalTree extends PApplet { @Override public void setup() { size(400, 600); } float totalSize = 5; @Override public void draw() { background(255); drawTree(200, 550, PI/2, totalSize); totalSize++; } private void drawTree(float rootX, float rootY, float angle, float size) { float topX = rootX + size * cos(angle); float topY = rootY - size * sin(angle); stroke(139,69,19); strokeWeight(size / 20); line(rootX, rootY, topX, topY); noStroke(); fill(0, 255, 0); ellipse(topX, topY, 10, 10); if (size >= 10) { drawTree((topX+rootX)/2, (topY+rootY)/2, angle-PI/4, size*0.7f); drawTree((topX+rootX)/2, (topY+rootY)/2, angle+PI/4, size*0.6f); } } }
This lecture is not available as a screencast. We will upload the developed source code so you can use it for reference purpose. As we can not guarantee video footage of the lecture it is highly recommended to attend in person.
Sorry, the screen cast of this lecture did not work. Thus, this is the lecture from last year.
The First 52 minutes explain a very diffent kind of GUI for the group account application compared to this year.
Thus, you might skip the first 52 minutes and start with minute 53 where the model vavigation is explained.
Die Klausur findet am 06.03.2015 um 9:00 statt. Die Räume sind: 1603/0446/0425
Video repair did not work.
As a little replacement, find a zip archive from the ProbCalc code from the lecture here.
Go through it with the debugger and try to get the idea.