diff --git a/memory-viz/src/automate.ts b/memory-viz/src/automate.ts index 81bec030..40b86c75 100644 --- a/memory-viz/src/automate.ts +++ b/memory-viz/src/automate.ts @@ -29,7 +29,7 @@ function drawAutomated(objects: DrawnEntity[], width, configuration) { const m = new MemoryModel({ width: width, height: final_height, - roughjs_config: { options: { seed: configuration.seed } }, + roughjs_config: configuration.roughjs_config, }); m.drawAll(StackFrames); diff --git a/memory-viz/src/user_functions.ts b/memory-viz/src/user_functions.ts index 4e2faaaf..f276a513 100644 --- a/memory-viz/src/user_functions.ts +++ b/memory-viz/src/user_functions.ts @@ -86,7 +86,7 @@ function draw(objects, automation, configuration) { m = new MemoryModel({ width: configuration.width, height: configuration.height, - roughjs_config: { options: { seed: configuration.seed } }, + roughjs_config: configuration.roughjs_config, }); m.drawAll(objs); }