A method and apparatus for continuous removal of sub-micron sized particles and other materials attached thereto such as cancer cells and bacteria from blood and other liquids. A centrifuge rotor having a curved shape is offset on a spinning rotor base and creates contiguous areas of low to high centrifugal force depending on the distances from the axis of the rotor base. This creates a density gradient field that separates materials of different densities input to the centrifuge that exit via different outputs. A monitor detects components of the fluid that are mixed with the particles before they exit the centrifuge. If there are any unwanted components detected with the particles logic circuitry changes the speed of rotation of the rotor, and the flow rate of pumps inputting and removing separated fluid and particles to and from the centrifuge until there are no unwanted components in the fluid exiting with the particles from the centrifuge.