Visualise Histogram Movement in Blender

I have a set of 2D arrays (30x30) each 2d array gives rise to a histogram. I can visualise each of them with Matlab (see here: Histogram on elements of a 2D matrix on Matlab). However, I would like to see the histogram moving in blender. I could now create a keyframe with 900 boxes by hand and justify the height of each indivdualy but this would take a long time. Also, I have to justify the height of all 900 boxes per keyframe, which takes clearly too much time.

Is there a smart way how to quickly get an histogram movement in blender from a set of 2D arrays?

1 Answer

There exists an addon to import csv data and use the values for F-Curves () but in only creates F-Curves for one object, so you would have to manualy import 900 csv files.

In your case i would create the boxes with ordered names (i.e. box.0.0 to box.29.29) and write the script myself. If you are familiar with python, you can find an excelent tutorial here:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest