<HEAD>
  <SCRIPT SRC="../ganja.js"></SCRIPT>
</HEAD>
<BODY><SCRIPT>
// the OPNS visualizer can be directly visualize the Outer Product
// Null Space of GA objects.

// We demonstrate in CGA. The OPNS visualizer only works for the graded
// algebra generator, so we have to specify that when we create our algebra :
Algebra({p:4,q:1,graded:true},()=>{
  
  // As usual, we start by defining a null basis, and upcasting for points
  var ni = 1e4+1e5, no = .5e5-.5e4;
  var up = (x)=> no + x + .5*x*x*ni;
 
  // for