Skip to content
Snippets Groups Projects
Commit b8808daa authored by Sören Peters's avatar Sören Peters
Browse files

Add GPL3 license to flowsim.

parent 54de6ddb
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -8,8 +8,8 @@ FlowSim was developed as a Bachelor thesis to study test driven development.
## Exercise 1
The first exercise is based on fourth lecture about linear transformation.
In this exercise we will implement the transformation of simple geometrical shapes. So far we can instantiate shapes in the main method (view/swing/Main.java) like the 2DLine. Notice that this object is put into the shapeList of type PaintableShape. However, while running the application we can only see parts of the line in the top left corner. Our task is now to implement the following class:
The first exercise is based on the fourth lecture about linear transformation.
In this exercise, we will implement the transformation of simple geometrical shapes. So far we can instantiate shapes in the main method (view/swing/Main.java) like the 2DLine. Notice that this object is put into the shapeList of type PaintableShape. However, while running the application we can only see parts of the line in the top left corner. Our task is now to implement the following class:
model/util/CoordinateTransformerImpl.java
......@@ -40,19 +40,19 @@ Compared with the last exercise the following classes are added to the project:
The task is to implement the behavior of the commands and the command stack.
At the bottom of the main method (view/swing/Main.java) several commands were instantiated. Between the execution of the commands is a 2 second delay.
At the bottom of the main method (view/swing/Main.java) several commands were instantiated. Between the execution of the commands is a 2-second delay.
### Expected behavior:
The commands are executed correctly. After the execution we can undo and redo the commands.
The commands are executed correctly. After the execution, we can undo and redo the commands.
## Exercise 3
This exercise is based on the sixth lecture about the factory and builder pattern.
Compared to the last exercise, we now have the two new folders filled with class stubs.
Compared to the last exercise, we now have two new folders filled with class stubs.
presentation/builder/
presentation/factory/
The task is implement the factory and builder classes. These classes were instantiated in the main.
The task is to implement the factory and builder classes. These classes were instantiated in the main.
### Expected behavior:
A Line and a Polyline is painted and visible in the main window.
......@@ -62,7 +62,7 @@ Compared to the last exercise, we now have the following folder filled with clas
presentation/strategy/
The task is implement BuildObjectMouseStrategy and MoveMouseStrategy.
The task is to implement BuildObjectMouseStrategy and MoveMouseStrategy.
### Expected behavior:
Shapes can be painted via the menu or the toolbar. Additionally, the shapes can be moved via the mouse, the window can be panned and zoomed. A right click should remove the shape.
......@@ -100,9 +100,9 @@ Additionally, the following class was added to the project:
Spline interpolation can be painted.
## Exercise 7.2
This exercise is based on the eleventh lecture about a more effcient spline interpolation method.
This exercise is based on the eleventh lecture about a more efficient spline interpolation method.
In this exercise we need to implement this new method in the following classes:
In this exercise, we need to implement this new method in the following classes:
model/Spline.java
view/graphics/PaintableSpline.java
......@@ -111,12 +111,15 @@ Spline interpolation can be painted as before.
## Exercise 8
In this exercise we are going to implement the bresenham line drawing and the floodfill filling algorithm.
In this exercise, we are going to implement the bresenham line drawing and the floodfill filling algorithm.
Compared to the last exercises, there is now the LBM simulation behaviour available located in lbm/* and simulation/*
Compared to the last exercises, there is now the LBM simulation behavior available located in lbm/* and simulation/*
In this exercise we need to implement floodfill() and the bresenham() method in the following class:
simulation/GridMapper.java
## Exercise 9
In this exercise we are going to implement the visulation of the numerical simulation.
\ No newline at end of file
## Exercises 9 & 10
In this exercise, we are going to implement the visualization of the numerical simulation.
## Exercise 11
The task of this exercise is to implement the Delaunay triangulation.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment