You are not logged in or registered. Please login or register to use the full functionality of this board...
SIGN IN Join Our Community For FREE


Batman?
06-09-2017, 10:12 PM (This post was last modified: 06-09-2017 10:13 PM by bplus.)
Post: #1
 (Print Post)
Batman?
While kicking around with old Scarab code from BP.org I ran into this:
Code Snippet: [Select]
' batman.bas SmallBASIC 0.12.9 (B+=MGA) 2017-06-09
x = 650 : x1 = x : y = 500
for z = 1 to 200000
 f = f + 6.28   : g = f * f
 x = x + cos(g) : x1 = x1 - cos(g)
 y = y + sin(g) : p = z % 255
 pset x, y, rgb(p, p, p)
 pset x1, y, rgb(p, p,,p)
next
pause


Attached File(s) Image(s)
   

B += _
Find all posts by this user
Like Post
06-09-2017, 10:17 PM
Post: #2
 (Print Post)
RE: Batman?
if you do sherlock holmes too they can have an epic rap battle.

"i once met a fellow who smelled of guano and pain,"
"holmes, explain!"
"i deduce this deuce stain is bruce wayne!"
Find all posts by this user
Like Post
The following 1 user Likes figosdev's post:
bplus
06-09-2017, 11:13 PM
Post: #3
 (Print Post)
RE: Batman?
100 transformations from Scarab to Batman:
Code Snippet: [Select]
' transformer scarab to batman.bas SmallBASIC 0.12.9 (B+=MGA) 2017-06-09
' in 100 pics
color 15, 4
for j = 3.14 to 6.28 step .0314
 cls : c++ : print c, "press any...
 x = 650 : x1 = x : y = 500 : f = 0
 for z = 1 to 200000
   f = f + j   : g = f * f
   x = x + cos(g) : x1 = x1 - cos(g)
   y = y + sin(g) : p = z % 255
   pset x, y, rgb(p, p, p)
   pset x1, y, rgb(p, p,,p)
 next
 while len(inkey)= 0 : showpage : wend
next
pause

Highlites:


Attached File(s) Image(s)
               

B += _
Find all posts by this user
Like Post
06-10-2017, 06:08 PM
Post: #4
 (Print Post)
RE: Batman?
Does it come in blue? lol ... Kidding. Good job.

J

May your journey be free of incident.

Live long and prosper.
Find all posts by this user
Like Post
06-10-2017, 06:37 PM
Post: #5
 (Print Post)
RE: Batman?
i know you were kidding, but you could just change:

color 15, 4

to

color 15, 1

and that should do it.

more generally though, the images are greyscale on red. so you could just save the images, open in gimp (its free) and go to:

colors > hue and saturation >

and slide "hue" to -115, which will give you exactly what you want without even running the program. (also you can have a variety of other colours.)
Find all posts by this user
Like Post



Forum Jump:


User(s) browsing this thread: 1 Guest(s)




QB64 Member Project - Spiro Roses
QB64 Member Project - Kings Court
QB64 Member Project - 9 Board
QB64 Member Project - Score 4
QB64 Member Project - Pivet version one
QB64 Member Project - Dreamy Clock
QB64 Member Project - Kings Valley verion one
QB64 Member Project - Color Rotating Text
QB64 Member Project - Bowditch curve
QB64 Member Project - Full Color LED Sign
QB64 Member Project - Input
QB64 Member Project - OpenGL Triangles
QB64 Member Project - Qubic
QB64 Member Project - Martin Fractals version three
QB64 Member Project - Color Triangles
QB64 Member Project - Quarto
QB64 Member Project - MAPTRIANGLE
QB64 Member Project - Point Blank
QB64 Member Project - RGB Color Wheel
QB64 Member Project - Basic Dithering
QB64 Member Project - Overboard
QB64 Member Project - Spinning Color Wheel
QB64 Member Project - Isolation
QB64 Member Project - STxAxTIC 3D World
QB64 Member Project - Pivot version two
QB64 Member Project - Amazon
QB64 Member Project - Sabotage
QB64 Member Project - Touche
QB64 Member Project - Domain
QB64 Member Project - Foursight
QB64 Member Project - Rubix's Magic
QB64 Member Project - Connect Four
QB64 Member Project - Exit
QB64 Member Project - Martin Fractals version four
QB64 Member Project - Kobolts Monopoly
QB64 Member Project - Dakapo
QB64 Member Project - Martin Fractals version one
QB64 Member Project - Rotating Background
QB64 Member Project - ARB Checkers
QB64 Member Project - Algeria Weather
QB64 Member Project - Martin Fractals version two
QB64 Member Project - Othello
QB64 Member Project - Blokus
QB64 Member Project - Swirl
QB64 Member Project - Splatter
QB64 Member Project - Inside Moves
QB64 Member Project - Kings Vallery version two
QB64 Member Project - Line Thickness
QB64 Member Project - Red Scrolling LED Sign