Apparatus in which the depositing device or the receptacle is rotated and in which coils are formed before deposition