Merge branch 'master' of ssh://gitea.calebfontenot.com:25566/CCF_100/NoMoreAcronyms
This commit is contained in:
commit
26169d58b9
@ -171,11 +171,11 @@ function design4(input) {
|
|||||||
for (let i = 0; i <= 2 * radius; i++) {
|
for (let i = 0; i <= 2 * radius; i++) {
|
||||||
if (i != mid) {
|
if (i != mid) {
|
||||||
// for vertical movement
|
// for vertical movement
|
||||||
for (let j = 0; j <= 1 * radius; j++) {
|
for (let j = 0; j <= 1.5 * radius; j++) {
|
||||||
|
|
||||||
dist = Math.sqrt(
|
dist = Math.sqrt(
|
||||||
(i - radius) * (i - radius) +
|
(i - radius) * (i - radius) +
|
||||||
(j - radius)
|
(j - radius) * (j - radius)
|
||||||
);
|
);
|
||||||
|
|
||||||
// dist should be in the range (radius - 0.5)
|
// dist should be in the range (radius - 0.5)
|
||||||
|
Loading…
Reference in New Issue
Block a user