Skip to content

Commit 8afaa1b

Browse files
committed
modify the Hornswaggler algorithm
1 parent 52a527e commit 8afaa1b

5 files changed

Lines changed: 57 additions & 57 deletions

File tree

‎dimorphism.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ <h2 class="preview-title" style="font-size: 0.825rem; font-weight: 600;">Dataset
343343
if (gender === 'M') {
344344
return (Math.random() - 0.5) * 30 + 200;
345345
} else { // Female
346-
return (Math.random() - 0.5) * 30 + 210;
346+
return (Math.random() - 0.5) * 30 + 200;
347347
}
348348
}
349349

@@ -410,4 +410,4 @@ <h2 class="preview-title" style="font-size: 0.825rem; font-weight: 600;">Dataset
410410
</script>
411411
</body>
412412

413-
</html>
413+
</html>

‎dimorphism2.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ <h2 class="preview-title" style="font-size: 0.825rem; font-weight: 600;">Dataset
387387
if (gender === 'M') {
388388
return (Math.random() - 0.5) * 30 + 200;
389389
} else { // Female
390-
return (Math.random() - 0.5) * 30 + 210;
390+
return (Math.random() - 0.5) * 30 + 200;
391391
}
392392
}
393393

@@ -480,4 +480,4 @@ <h2 class="preview-title" style="font-size: 0.825rem; font-weight: 600;">Dataset
480480
</script>
481481
</body>
482482

483-
</html>
483+
</html>

0 commit comments

Comments
 (0)