Monday, June 6, 2011

Date information to parameters.

In last article of blog, about the paramaters from other data. I put the date information to Body parameters.

<CODE>



day = datetime.datetime.today()
Body_Len = day.month + 6
Body_Phase = day.day * 12
Body_Step = day.hour / 2 + 10
Body_StepAngle = day.minute / 5 - 6
Body_ModStep = day.second /10 - 3


</CODE>

At the time of pushing the 'Generate' button, I could get different numbers each times.

This is the result.


And this is the Today's collection.


No comments:

Post a Comment