Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Herd committed Mar 23, 2024
1 parent 9165dd4 commit e525b32
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<script type="module" crossorigin src="/diorama-2023/assets/index-297d9624.js"></script>
<script type="module" crossorigin src="/diorama-2023/assets/index-d7371230.js"></script>
<link rel="stylesheet" href="/diorama-2023/assets/index-5d0ad71d.css">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const maxComputationTime = 500 as Milliseconds
export const randomizeThreshold = 11 // if amount of pics is bigger we have too many permutations to iterate through, switch to random strategy
export const iconSize = 20
export const initialImageAmount = 8
export const aspectRatioThreshold = 0.85
export const aspectRatioThreshold = 0.9

export const aspectRatioAndSize = ({ sizeHomogeneity, score }: Solution): Ord => {
return score * sizeHomogeneity
Expand Down

0 comments on commit e525b32

Please sign in to comment.