English
Experimente

Kontaktverfolgung ;-) with Ringspeicheralgorithmus

 

p.specht


Window Title "DAS IMPFDING"
Window Style 24
Window 0,0 - %maxx,%maxy
Font 2
randomize
var xm&=width(%Hwnd)
var ym&=height(%Hwnd)
Declare x&[10000],y&[10000]
Declare top&,bot&,x&,y&
top&=2

Repeat

    x&=x&+3-6*rnd(2)
    case x&>xm&:x&=1
    case x&<1:x&=xm&-1
    y&=y&+3-6*rnd(2)
    case y&>ym&:y&=1
    case y&<1:y&=ym&-1
    x&[top&]=x&
    y&[top&]=y&
    inc top&
    top&=top& mod 10000 + 1
    bot&=top&-1
    bot&=bot& mod 10000 + 1
    usepen 0,2,8^8-top&*3'rgb(235,235,235)
    rectangle x&[bot&]+2,(y&[bot&]+2) - (x&[bot&]-2),y&[bot&]-2
    usepen 0,2,bot&*5'rgb(0,0,255)
    rectangle x&+3,(y&+3) - (x&-3),y&-3

until 0

 
XProfan 11
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
04/27/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

453 Views

Untitledvor 0 min.
N.Art07/21/22
Ernst07/21/21
Uwe ''Pascal'' Niemeier06/13/21
R.Schneider05/28/21
More...

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