Spindle fibers originate from the centrosomes, which are microtubule-organizing centers. The process begins in the prophase of mitosis, where the centrosomes move to opposite poles of the cell, and microtubules extend from them to form the mitotic spindle.