Difference between revisions of "The HSV color scheme"

From JSXGraph Wiki
Jump to navigationJump to search
Line 1: Line 1:
 
<jsxgraph width=600 height=500>
 
<jsxgraph width=600 height=500>
 
var brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox:[-2,4,8,-4]});
 
var brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox:[-2,4,8,-4]});
var H = brd.createElement('slider',[[5,3.5],[10,3.5],[0,1,360]], {name:'H'});
+
var H = brd.createElement('slider',[[0,3.5],[5,3.5],[0,1,360]], {name:'H'});
var S = brd.createElement('slider',[[5,3],[10,3],[0,0.8,1]], {name:'S'});
+
var S = brd.createElement('slider',[[0,3],[5,3],[0,0.8,1]], {name:'S'});
var V = brd.createElement('slider',[[5,2.5],[10,2.5],[0,0.7,1]], {name:'V'});
+
var V = brd.createElement('slider',[[0,2.5],[5,2.5],[0,0.7,1]], {name:'V'});
  
 
</jsxgraph>
 
</jsxgraph>

Revision as of 16:13, 11 August 2009