Construction of random curves