ON 20030916@10:57:05 PM at page: http://techref.massmind.org/techref/language/java/script/exe.htm JMN-EFP-786 James Newton edited the page. Difference: http://techref.massmind.org/techref/diff.asp?url=H:\techref\language\java\script\exe.htm&version=0 ON 20030925@9:54:47 PM at page: http://techref.massmind.org/techref/language/java/script/index.htm JMN-EFP-786 James Newton Says http://techref.massmind.org/techref/language/java/script/imgdraw.htm Drawing vector graphics in DHTML with Javascript ON 20030925@9:55:11 PM at page: http://techref.massmind.org/techref/language/java/script/imgdraw.htm JMN-EFP-786 James Newton Code:
<script Language="JavaScript"> r=0 g=0 b=0 function pset(x,y,wi,he) { document.write ("<img src='../1x1.gif' style='z-index:-10; position:absolute; left:"+x+";top:"+y+";width:"+wi+";height:"+he+";background:rgb("+r+","+g+","+b+")'>") } kx=400 ky=400 x0=(window.screen.width-20)/2 y0=400 r=g=b=0 pset(x0-kx/2,y0,kx,2) pset(x0,y0-ky/2,2,ky) g=255 for(x=-kx/4;x<kx/4;x++) { y=x*x/kx*8 pset(x+x0,-y+y0,2,2) } g=0 r=255 for(x=-kx/2;x<kx/2;x++) { y=Math.sin(x/kx*20)*ky/10 pset(x+x0,-y+y0,2,2) } r=0 b=255 for(i=-100;i<100;i=i+0.5) { x=Math.cos(i/100*3.15)*kx/4 y=Math.sin(i/100*3.15)*ky/4 pset(x+x0,-y+y0,2,2) } </script>ON 20030925@10:18:06 PM at page: http://techref.massmind.org/techref/language/java/script/browseredit.htm JMN-EFP-786 James Newton See also: http://m.synovic.home.att.net/codespy/codespy.html A little window that shows (and allows you to edit) the HTML in all other pages when you mouse over them. ON 20030926@8:33:07 AM at page: http://techref.massmind.org/techref/language/java/script/browseredit.htm JMN-EFP-786 James Newton See also: http://pilat.free.fr/english/svgfonc/fonc.htm Edits SVG graphics in the editor. Mostly for math.