generating preview based on angles number