RetroBASIC
Offtopic => Offtopic => Topic started by: Aurel on January 16, 2015, 07:31:21 AM
-
Well...
Is this forum dead or is alive ?
:o
-
Looks dead to me.
-
Unfortunately it seems to be dead since Mopz founded his own forum for Naalaa. I also had to stop registration because I got 150 spammer registrations a day.
I am still working on Pulsar2D but with my new job I have no time. Maybe one day ...
-
Unfortunately it seems to be dead since Mopz founded his own forum for Naalaa.
As far I know, Marcus quit, a new developer took over from him and started the new forum. I was wondering what was the reason for that. I can agree that BP.org has become unusable (no matter about what language or subject your question is, the topic will become a discussion about everything and mainly from developers' point of view), but this place was OK.
Cybermonkey, are you planning to keep this site online?
-
Yes, the site will stay online. And yes, you are right with Marcus, his friend John Master is now developing Naalaa and founded the new forum. Anyway, I hope I can find some time to publish Pulsar2D, especially for some better documentation as it was for EGSL ... ::)
-
awww..
this place its dead my luck....
The place is "dead", because there is no activity here, but if you want to talk EGSL or do anything with it, there is absolutely no reason you shouldn't. EGSL is not obsolete. It works on Windows and every popular Linux distro and it's gonna stay like that for a while. So, please post what you want to post and who knows - this place may be alive once again. ;)
-
Pulsar2D won't be for Mac for a while since I have no access to MacOS X anymore. I made the source as compatible as I can but can't compile it for now.
Pulsar2D is pure Lua as EGSL and almost compatible to it. A few things changed, though, but it should be simple to port scripts from EGSL to P2D.
For example this is a mandelbrot script for EGSL:
--' Mandelbrotfraktale (c) Markus Hoffmann
--' Simple and direct drawing algorithm.
--' X11-Basic, adapted for EGSL
local bx,by,bw,bh
local sx,sy,sw,sh
local t0, t1
local gx,gy,zx,zy,nzx
local col,r,v,b
bx=0
by=0
bw=256*2
bh=256*2
sx=-2.2
sy=-1.7
sw=3.4
sh=3.4
openwindow(bw,bh,0,"Mandel simple - EGSL (adapted from X11-Basic) -")
clearscreen()
t0=timerticks()
for x=bx,bx+bw do
for y=by,by+bh do
gx=(x-bx)/bw*sw+sx
gy=(y-by)/bh*sh+sy
zx=gx
zy=gy
for c=0,255 do
col = c
nzx=zx*zx - zy*zy + gx
zy=2*zx*zy+gy
zx=nzx
if zx*zx + zy*zy > 4 then
col = c
break
end
end
r = col*256+col
v = col*256+col*32
b = col*256+col*64
colour(r,v,b)
dot(x,y)
end
redraw()
end
t1=timerticks()
temps = (t1-t0)/1000
color(255,255,0)
drawtext(1,1,temps.." seconds.")
redraw()
inkey()
closewindow()
And now the same code for Pulsar2D:
--' Mandelbrotfraktale (c) Markus Hoffmann
--' Simple and direct drawing algorithm.
--' X11-Basic, adapted for Pulsar2D
local bx,by,bw,bh
local sx,sy,sw,sh
local t0, t1
local gx,gy,zx,zy,nzx
local col,r,v,b
bx=0
by=0
bw=256*3
bh=256*3
sx=-2.2
sy=-1.7
sw=3.4
sh=3.4
win = openwindow("Mandel simple - Pulsar2D (adapted from X11-Basic) -",-1,-1,bw,bh)
setactivewindow (win)
cls()
t0=timerticks()
for x=bx,bx+bw do
for y=by,by+bh do
gx=(x-bx)/bw*sw+sx
gy=(y-by)/bh*sh+sy
zx=gx
zy=gy
for c=0,255 do
col = c
nzx=zx*zx - zy*zy + gx
zy=2*zx*zy+gy
zx=nzx
if zx*zx + zy*zy > 4 then
col = c
break
end
end
r = col*256+col
v = col*256+col*32
b = col*256+col*64
color(v,b,r,255)
dot(x,y)
end
redraw()
end
t1=timerticks()
temps = (t1-t0)/1000
color(255,255,0,255)
textsize (2)
drawtext("Time needed: "..temps.." seconds.",1,1)
redraw()
inkey()
closewindow(win)
closeapplication()
-
Hello gentlemen!
@Cybermonkey
EGSL is a very nice realization. Good luck for Pulsar2D! We will wait for it. ;)