English
Experimente

Experimentierbrett for Lissajou-figures

 

p.specht

On Oszilloskopen with Leuchtröhre saw one former often interesting figures, The of a in x- and y-Achsenrichtung with unterschiedlichen Frequencies and Phasenlagen angesteuerten Leuchtpunkt created get. in the nachfolgenden Program can itself diesbezüglich through geeignetes Umprogrammieren calm.

who always pleasure has, regulator and Drehknöpfe incorporate, is moreover cordial invited. famous are The with XProfan erreichbaren Grenzfrequenzen but not, there müssten we already with Inline-Assembler or XPSE ran. Feel free!

Window Title "Lissajou-Figuren":Window Style 24:Window 0,0-%maxx,%maxy:cls 0:showmax
declare xg&,xh&,yg&,yh&,pi2!,w!,x!,y!,phi!,n!,ewig&
xg&=width(%hwnd):xh&=xg&\2:yg&=height(%hwnd):yh&=yg&\2:pi2!=2*pi()

Repeat

    n!=0

    whileloop 0,xg&,6

        n!=n!+0.1
        phi!=&Loop*pi2!/xg&
        MCLS xg&,yg&,0:StartPaint -1
        usepen 0, 1 ,$00FF00
        moveto xh&,yh&+300*sin(phi!)

        whileloop 0,xg&+5,6

            w!=&Loop*pi2!/xg&
            y!=sin(n!*w!+phi!)
            lineto xh&-500*sin(w!)  , yh&+300*y!

        Endwhile

        EndPaint:MCopyBMP 0,0 - xg&,yg& >0,0;0

    endwhile

until ewig&

 
XProfan 11
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
05/23/21  
 



Zum Experiment


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

744 Views

Themeninformationen

this Topic has 1 subscriber:

p.specht (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie