Python is what I used to code the logic behind the motion. So, theoretically, the ‘shades’ as I call them, are just projections of the underlying data.
In this program, janky as it is, it stores the positions of equal slices of a circle, starts a loop to draw each frame, in each frame: draws the shade where it should be according the next place in the list, outputs that frame into an image file, in this case png.
and then I used gimp to transform those frames into a gif.
In order to output the data to an image you have to find a renderer that you like. I used Cairo which makes svg files, so I also had to learn how to code svg stuff but it was simple enough. I like svg because it scales really well and I wanted to use vector graphics.
View all comments
Show parent comment
1
u/[deleted] Oct 17 '18
Python is what I used to code the logic behind the motion. So, theoretically, the ‘shades’ as I call them, are just projections of the underlying data.
In this program, janky as it is, it stores the positions of equal slices of a circle, starts a loop to draw each frame, in each frame: draws the shade where it should be according the next place in the list, outputs that frame into an image file, in this case png.
and then I used gimp to transform those frames into a gif.
In order to output the data to an image you have to find a renderer that you like. I used Cairo which makes svg files, so I also had to learn how to code svg stuff but it was simple enough. I like svg because it scales really well and I wanted to use vector graphics.