A radiotherapy system including a radiation source operable to produce a radiation beam towards a target, an orientation changer operable to change a relative position of the radiation source with respect to the target, and a multileaf attenuator including attenuating leaves including respective spatially varying attenuation properties and a positioner in communication with the orientation changer, each of the attenuating leaves having a leaf length, leaf thickness, leaf center and leaf direction, wherein the leaf direction is a line intersecting the leaf center along the leaf thickness, wherein the radiation beam includes one or more beam segments, wherein a beam segment is the part of the beam intercepted by one of the attenuating leaves, and wherein the target includes one or more target segments, wherein a target segment is that part of the target that intercepts a corresponding one of the beam segments, wherein each of the attenuating leaves is operative to modulate an intensity of a corresponding beam segment by selective attenuation of the leaf thickness along the leaf length, and wherein the positioner is operable to vary at least one of a leaf center position and a leaf direction relative to the radiation source in accordance with positions of the corresponding target segment and the radiation source.