VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Very Cool Graphics With Lines using only 11 lines of code

ReXz  (9 Submissions)   Graphics   Visual Basic 3.0   Beginner   Wed 3rd February 2021

This code draws a nice, very cool gradient field with a nice sidebar using line(see screenshot) Please rate it! (Thnx!).

Inputs
The only thing you need to do is to set the scalemode on the form to 'Pixel' and the backcolor to black and insert a timer called 'timer1' with interval : 1

Assumes
You can set the color to draw by setting the RGB value to rgb(0,red,0) or rgb(red,0,0) etc. You can also change the graphic resolution by changing the 'lY1 = lY1' command.

API Declarations
Dim lY1 As Integer
Dim Red As Integer

Rate Very Cool Graphics With Lines using only 11 lines of code (4(4 Vote))
Very Cool Graphics With Lines using only 11 lines of code.bas

Very Cool Graphics With Lines using only 11 lines of code Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters