Skip to content

Fixing Brain model logic #7

@priyanshuthakare

Description

@priyanshuthakare

Currently, the Neural Impact brain heatmap is driven only by checklist completion categories (physical, grounding, target) instead of actual brain-region signals.

Current behavior (as of now)

  • HomeView computes categoryProgress = useNeuralHeatmap(items) and passes it to NeuralImpactMap.
  • useNeuralHeatmap derives progress only from checklist items:
    • categories: physical, grounding, target
    • ratio = completed items / total items per category
  • NeuralImpactMap uses hardcoded UV regions for those 3 categories and paints emissive blobs by category ratio.
  • Result: brain visualization reflects checklist progress, not actual neuro-region mapping.

Source references

  • src/hooks/useNeuralHeatmap.js (checklist-only derivation)
  • src/components/views/HomeView.jsx (passes derived checklist progress into map)
  • src/components/ui/NeuralImpactMap.jsx (UV regions + emissive painting logic tied to the 3 checklist categories)

Problem

We need the brain heatmap to represent specific brain regions, not generic checklist groups.

Target regions:

  • Motor Cortex
  • Prefrontal
  • Limbic
  • Cerebellum
  • Tempora
  • Amygdala

Required change

Implement region-based heatmap input and rendering pipeline:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions