Line generator