Skip to content

Commit 7d39ddc

Browse files
committed
better bpm and cache clear less
1 parent aa197f6 commit 7d39ddc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

source/arroost/components/tunnel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ export class Tunnel extends Component {
276276
return moveCell(shared.nogan, {
277277
id: this.id,
278278
position,
279-
propogate: equals(velocity, [0, 0]),
279+
propogate: false, // equals(velocity, [0, 0]),
280280
filter: (id) => {
281281
const cell = getCell(shared.nogan, id)
282282
if (!cell) throw new Error(`Tunnel: Can't find cell ${id}`)

source/clock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { GREY_BLACK, shared } from "./main.js"
44
import { getAdvanced } from "./nogan/nogan.js"
55

66
class Clock {
7-
bpm = 120
7+
bpm = 128
88

99
/** @type {"buildup" | "aftermath"} */
1010
phase = "buildup"

source/nogan/nogan.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ export const moveCell = (
937937
const cell = getCell(nogan, id)
938938
if (!cell) throw new Error(`Couldn't find cell ${id} to move`)
939939
cell.position = position
940-
clearCache(nogan)
940+
// clearCache(nogan)
941941

942942
const movedOperation = c({ type: "moved", id, position })
943943

0 commit comments

Comments
 (0)