diff --git a/backend/sandbox/default_packs.py b/backend/sandbox/default_packs.py index 725c1b7..cb1c2f3 100644 --- a/backend/sandbox/default_packs.py +++ b/backend/sandbox/default_packs.py @@ -169,7 +169,9 @@ def pack_hash(self) -> str: - Use p5.js best practices Structure Tips: -- ALL changes and features should be in /app/frontend/public/sketch.js +- ALL changes and features should be in /app/frontend/public/{sketch,helpers,objects}.js +- Organize "objects" (balls, items, etc) into objects.js +- Organize "utils" (utility functions, etc) into helpers.js - At all times, sketch.js should include setup() windowResized() and draw() functions - If the user wants to add a p5.js addon, edit layout.js to add a new