Blending
  • About
  • Artwork
    • Image Gallery
    • Video Gallery
    • My Short Film
  • Technical art
  • Scripting
    • Python
    • OSL
  • Android Apps
    • Foul and a miss
    • Privacy Policies
  • Blog
  • Contact

Python scripting - Statistics data visualization

16/4/2013

8 Comments

 
 Imagem
During the Blender PT Conference 2013 that was organized in Oporto in 6-7 April this year, I made a presentation about an article I submitted to show how Python can be used to make repetitive tasks a lot easier.
In the example of the article, I wanted to show population statistics of the 308 Portuguese counties for different years, by placing the respective region with a height proportional to the statistical data like in this image. It would be a pain to change all the regions height one by one so I described how to create a python script to read the data from an external file and to change each region height automatically.
Additionally I show how to create automatic key frames so that it is easy to animate the data along time and how to create a personalized menu in the Blender interface to make it more user friendly.
I deliver now the article and the example files for anyone to explore it, to learn from it and to modify it or improve it if you want. You can download it here.
In the following video you can see an example of an animated presentation of population statistical data.

8 Comments

Slot Machine

10/4/2013

0 Comments

 
 Imagem
These last weeks I've been busy preparing my presentations for the Blender PT Conference 2013. I'll post here the presentations and article soon but apart from that I also prepared this Slot Machine we used to raffle of several prizes during the conference.
It was made with BGE and we created a fully functional stand alone executable for the conference. Here I present the .blend file, without the textures and sounds since they could not be re-distributed but you have the references in the .blend file if you want to re-create it like us or you can use your own textures and sounds.
You can tell in the .blend file the number of participants and they will be randomly drawn without repetition each time you click on the lever. In the same directory of the .blend file two .json files will be created, one with the list of the numbers still to be drawn and another for backup. You must delete these .json files each time you want to start a new raffle from scratch or if you change the number of participants, otherwise it will use the available list in those files. You can download it here to explore, change it or use it in every way you want, but please credit the authors.

0 Comments

    Author

    Renato Sousa
    This is where you can keep updated with some news and with my works in progress.

    Blog up to October 2012

    Archives

    August 2016
    May 2016
    April 2016
    November 2015
    September 2015
    June 2015
    April 2015
    November 2014
    July 2014
    March 2014
    January 2014
    December 2013
    September 2013
    August 2013
    July 2013
    June 2013
    April 2013
    March 2013
    February 2013
    January 2013
    December 2012
    November 2012
    October 2012

    Categories

    All
    Android
    Animation
    Bge
    Blender
    Christmas
    Conference
    Cross-stich
    Curta
    Imagens
    Materials
    News
    Osl
    Ponto Cruz
    Python
    Short Movie
    Stop Motion
    Website
    Workshop

    RSS Feed

Powered by Create your own unique website with customizable templates.