Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
IDATT2003_gr43-Programmering 2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
August Reitan Bøgseth
IDATT2003_gr43-Programmering 2
Commits
9ff32763
Commit
9ff32763
authored
1 year ago
by
augustrb
Browse files
Options
Downloads
Patches
Plain Diff
Moved the main file to launcher file
parent
dfcb02b4
No related branches found
No related tags found
1 merge request
!2
Merge Bug fixes into main
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/edu/ntnu/stud/Main.java
+0
-19
0 additions, 19 deletions
src/main/java/edu/ntnu/stud/Main.java
target/classes/edu/ntnu/stud/Main.class
+0
-0
0 additions, 0 deletions
target/classes/edu/ntnu/stud/Main.class
with
0 additions
and
19 deletions
src/main/java/edu/ntnu/stud/Main.java
deleted
100644 → 0
+
0
−
19
View file @
dfcb02b4
package
edu.ntnu.stud
;
import
edu.ntnu.stud.model.*
;
import
java.util.Arrays
;
public
class
Main
{
public
static
void
main
(
String
[]
args
)
{
Vector2D
minCoords
=
new
Vector2D
(
0
,
0
);
Vector2D
maxCoords
=
new
Vector2D
(
1
,
1
);
AffineTransform2D
transform1
=
new
AffineTransform2D
(
new
Matrix2x2
(
0.5
,
0
,
0
,
0.5
),
new
Vector2D
(
0
,
0
));
AffineTransform2D
transform2
=
new
AffineTransform2D
(
new
Matrix2x2
(
0.5
,
0
,
0
,
0.5
),
new
Vector2D
(
0.25
,
0.5
));
AffineTransform2D
transform3
=
new
AffineTransform2D
(
new
Matrix2x2
(
0.5
,
0
,
0
,
0.5
),
new
Vector2D
(
0.5
,
0
));
ChaosGameDescription
description
=
new
ChaosGameDescription
(
minCoords
,
maxCoords
,
Arrays
.
asList
(
transform1
,
transform2
,
transform3
));
ChaosGame
game
=
new
ChaosGame
(
description
,
80
,
120
);
game
.
runSteps
(
10000000
);
game
.
getCanvas
().
showCanvas
();
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
target/classes/edu/ntnu/stud/Main.class
+
0
−
0
View file @
9ff32763
No preview for this file type
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment