Text this: Optimized design for illusion device by genetic algorithm