Archimedean Spirals script, Chinese YinYang
All  1-7  8-9

Previous
Next
 From:  bemfarmer
6906.8 In reply to 6906.7 
Hi Max

Michael provided the code/information on moi.ui.fireUIEvent and onmousemove, for the Clothoid2ptSliders script.
I will try to use your improvements for the Clothoid sliders.

Thank you for the diff tool information.

Checking out your code shows 3 improvement areas.
1. Corrected divide by zero potential error.
2. Greatly reduced slider flickering.
3. Clicking on one of the 4 spiral families switches the spiral to that type.

I am posting a zip of your two files to post #1, replacing the older script.
I need to improve my haphazard version control.

Also, Thank you for your impressive improvements. I had no idea how to do them.

- Brian

EDITED: 13 Sep 2014 by BEMFARMER

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  bemfarmer
6906.9 In reply to 6906.8 
I successfully modified the Clothoid2pt script with the low flicker sliders.
I'll wait a day or two to check it out. It is too late right now.


Also added (for example)

code:
 <td onclick='end_slider.value=180; moi.ui.fireUIEvent("end_slider");'>End Angle:</td> 


to reset the endpoint slider to its midpoint value.

This reset to midpoint value should work on the Spirals, FxGraph3D, and would even work for Blend (?), but I'll leave the latter two alone.

- Brian

EDITED: 14 Sep 2014 by BEMFARMER

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-7  8-9