more color fun:

http://chemapps.stolaf.edu/jmol/jsmol/jsmol.htm has a new top-center link
"color wheel"

relevant Jmol commands:

// construct a color scheme; use hue/saturation/lightness for the linear
path from red to blue

x = color("red", "blue", 50, true)

// color atoms using this scheme

x = color("red", "blue", 50, true)
load =1crn
color property temperature @x

// color an isosurface using this scheme

isosurface vdw
isosurface map property temperature colorScheme @x

// inspect colors

print "red".color

print color("toHSL", "red")
print color("toRGB", {0, 100, 50})

// check that it works

print color("toRGB",color("toHSL", {77 53 199}))

Thanks to Alexander and Angel for the great suggestions.


Bob
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to