the invention concerns a selvedge-forming device for a loom with a computer control system which has a rotating body which can be rotated in at least one direction about its geometrical longitudinal axis. IPC D03C.