English
Source / code snippets

produce graphic Regenbogenfarben

 

CompileMarkSeparation
Source wurde am 15.07.2007 aus der MMJ-Quellcodesammlung (Dietmar Horn) in die Babyklappe auf XProfan.Com abgelegt:
Grafik: Regenbogenfarben erzeugen
declare a%,b%,x%,y%
declare f1!,f1x!,f2!,f2x!,f3!,f3x!
window 0,0-710,550
SetTrueColor 0
cls 0
charset 2
usefont Wingdings,20,20,0,0,0

while 1

    case @lt(a%,1):let x%=1
    case @lt(b%,1):let y%=1
    case @gt(a%,680):let x%=-1
    case @gt(b%,480):let y%=-1
    case @lt(f1!,1):let f1x!=1
    case @gt(f1!,32):let f1x!=-1
    case @lt(f2!,1):let f2x!=0.5
    case @gt(f2!,32):let f2x!=-0.5
    case @lt(f3!,1):let f3x!=0.25
    case @gt(f3!,32):let f3x!=-0.25
    let f1!=@add(f1!,f1x!)
    let f2!=@add(f2!,f2x!)
    let f3!=@add(f3!,f3x!)
    TextColor @RGB(f1!,f2!,f3!),-1
    drawtext a%,b%,|
    add a%,x%
    add b%,y%

endwhile

 
07/15/07  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.415 Views

Untitledvor 0 min.
Sven Bader08/06/21
Julian Schmidt10/29/11
RudiB.06/04/11

Themeninformationen

this Topic has 1 subscriber:

unbekannt (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