Sunday, March 27, 2016

the bidimensional complex numbers nature of world

Wondered why modern physics uses bidimensional complex numbers fourier transforms and waves probability bidimensional complex density functions.( why not one dimension, or 3,4 ?).
In fact it is due to the mathematical property that any function f(t) f(x) or f(x,y,z,t) can be decomposed as a sum of cos cosinus and sin sinus , which can be described as a sum of harmonics : cosinus with amplitude and phase (2 dimensions) for each frequency ,  amplitude*cos(twopi*frequency*t +phase)  which is fourier sum.
And so the nature of world is due to maths. 

Saturday, March 26, 2016

html5 pointillés dotted broken lines draw in canvas

heres an example of how to draw dooted broken lines (lignes pointillé) in html5 javascript canvas

  var contextx=0,contexty=0,contextpattern=0;
function context_moveTo(x,y){
function context_lineTo(x,y){
  else if(contextpattern==2){
     var dr=20,dx=(x-contextx),dy=(y-contexty),dn=Math.sqrt(dx*dx+dy*dy)/dr;
     for(var i=0;i<dn;i++){context.moveTo(contextx+i*dx/dn,contexty+i*dy/dn);
     var dr=10,dx=(x-contextx),dy=(y-contexty),dn=Math.sqrt(dx*dx+dy*dy)/dr;
     for(var i=0;i<dn;i++){context.moveTo(contextx+i*dx/dn,contexty+i*dy/dn);

Thursday, March 24, 2016

communicate with html iframe child window

how to easily interact communication between html parent window and child iframe window ?
use html5 localStorage if both parent and child window are in the same folder.
you can find a javascript example in my osm car sim json_osm_webcarsimheight_shadow and mystreetview

=>     (free open source) 

Wednesday, March 9, 2016

woman3D_chung erotical nude art version of face3D_chung

woman 3D chung is an erotic nude art viewer version of face3D_chung openGL 3D avatar model creation program. ( beautifull not porn )

for 15+ years old, personnal use only  =>      

(27/12/2016) sounds, automove added