Mental disturbances from hashish and psychedelics, while similar symptoms, are completely different internally. I wouldn’t rule out psychedelics based on that experience.
It wasn't just "mental" as in anxiety -- those were visual disturbances -- tracers in bright led lights, bright spots in grill patterns (metal or my chess-pattern shirt).
The experience just made me think I'm predisposed to HPPD so I thought to play it safe.