Kicking Off Development with p5.js

Week 8

This week marked the beginning of the development phase for the NeuroMap app using p5.js. Based on the storyboard and user flow shaped in previous weeks, I started with building the core interactive puzzle feature.

Progress This Week:

  • Built the puzzle framework using p5.js: Build a puzzle function framework in p5.js: This week's key breakthrough is to realize the function that the system can automatically cut the photos uploaded by users into puzzle pieces. In this process, I tried different cutting algorithms. The first two successful attempts failed to correctly reassemble the puzzle due to coordinate misalignment and image blur. Finally, the third attempt achieved accurate cutting and restoration of puzzle pieces.




  • Developed drag-and-drop interaction: I implemented a basic dragging mechanism and added interactive feedback effects (such as mouse hover highlight) to puzzle pieces. This helps improve visual recognition and operation feedback for elderly users. In order to achieve stable performance, I tested the dragging sensitivity of puzzle pieces on different screen sizes and made preliminary optimizations.


  • Repeated debugging for image loading: While developing the photo upload feature, I encountered issues where the image hadn’t fully loaded before being sliced, causing the puzzle to fail. I resolved this by adding a delay mechanism and error handling in loadImage() to ensure stable functionality.


Updated Project Timeline:

To ensure a structured development cycle, I created a visual project roadmap outlining the weekly goals from Week 8 to Week 13.


Next Steps:

Moving forward, I will continue enhancing the core modules using p5.js:

  • Puzzle Completion Detection: I plan to design a system that can automatically detect and give feedback (such as pop-up prompts or animations) when the user successfully completes the puzzle, and save the photo in the "Memory Library"

  • Memory Map Feature: After completing the puzzle, users can "pin" the memory on an interactive map. Allow users to drag and drop photos on the map, and support zooming for future review.

Comments

Popular posts from this blog

Initial App Wireframe

Clarifying the Purpose

Video Shooting Begins