How to manipulate Canvas elements: Difference between revisions

Jump to navigation Jump to search
Line 249: Line 249:
== Behind the scene ==
== Behind the scene ==
Let's see in detail the elements Canvas.<br />
Let's see in detail the elements Canvas.<br />
Open the '''Nasal REPL Interpreter''' and execute (you can copy&paste, then {{key press|Enter}}:
Open the [[Interactive Nasal REPL]] interpreter and execute (you can copy&paste, then {{key press|Enter}}:
<syntaxhighlight>
<syntaxhighlight>
var window = canvas.Window.new([300,200],"dialog").set("title","Plot2D demo"  );
var window = canvas.Window.new([300,200],"dialog").set("title","Plot2D demo"  );

Navigation menu