data gen file

better version to generate the data required for the pics/gif/video