Various snippets of UNIX code that might just be a waste if I keep them to myself. This blog is very much a work in progress and is mainly for myself. Yes, I should probably host code on one of those fancy code hosting web sites and I probably will eventually.
Saturday, January 31, 2015
Blender/Python: Plot stars from the HYG data
Plots stars on the inside of a sphere using three different types of solids.
Most stars are tetrahedrons, brighter stars are octahedrons and the brightest stars are plotted as dodecahedrons.
ps. feel free to use this however you want but please don't republish the code as I don't want multiple copies all over the internet as I am likely to update this script every now and then... oh and if you make a million dollars out of it somehow, be sure to donate some of that money to the needy. If I ever find a file hosting service that I like, I'll post the completed .blend file there to save the trouble of running it seeing how the whole catalog can take six or more hours to run...
Thursday, January 29, 2015
Blender/Python: creating a tetrahedron
creating a tetrahedron in Python for blender
(Code extracted from larger code available all over the interwebs ie. it is hard to give an actual source)
Subscribe to:
Posts (Atom)