Parametric design in MoI?

 From:  Max Smirnov (SMIRNOV)
7713.672 In reply to 7713.670 
Hi Marco,

>>But...in this way you've taken all the fun to coding on my own from scratch :)
>>Anyway...I'm going to use you example code as a solid base to build a new UI for that left panel.
It was just an example. :) I tried to show how your script can interact with ne kernel.

>>1) If you want, during my spare time, I can design all icons for all standard nodes of NE.
It will be great.

>> 2) I will design the icons in flat style with these dimensions :
>>Dark grey rounded box 32x32 px round radius 4px color Hex 373737.
How about HiDPI displays support? It will be better to store 64x64 icons in a node files.
You can generate 24x24 or 32x32 from 64x64 on the fly using js/html5. Also using js you can make rounded corners with any radius you want,
so you don't need draw icons with rounded corners.

In my opinion the icons should be: 64x64, straight corners, png8 (not 24).

>>3) I'm sorry but I didn't understand what you mean. Could you please be more clear ?
In the future we can store icons using our own vector format.
A workflow can be like this:
1. Draw icon using MoI
2. Using script convert the icon to string which describes all colors, lines and curves of the icon.
3. Insert string to node script
NE will render each icon every time when you start it.