Support > General Discussions

sb buoy plot

<< < (2/3) > >>

Support:
Script BASIC has been used in embedded controllers for years. (ARM/POSIX) I have the current 2.2 version of Script BASIC running native on Android Linux. (ARM) I think Script BASIC and tablets make a great mobile application development environment. The beauty of Script BASIC is it can morph into about anything you need it to.

It wouldn't be too hard to convert your GD based web app to a desktop app with the Script BASIC GFX SDL extension. You could use the alpha channel for more granularity with intensity and pop an info box with the retrieved values if the user clicks on a buoy station. Just saying ...  ;)

Support:
Do you have the libSDL_gfx.so in the /usr/lib and SDL 1.2 (64 bit) installed?

Support:
My guess is the version of SDL 1.2 in the RPM is not compatible with Debian.

I have attached my Ubuntu 64 bit version of the GFX extension module, libSDL_gfx.so and libSDL.so for you to try.

Support:
Here is a Script BASIC GFX example for you to test your system with.

Script BASIC GFX - Ubuntu 12.04 LTS 64 bit




--- Code: ---' Lorenz Curtian

IMPORT gfx.inc

scrn = gfx::Window(600, 800, "ScriptBasic GFX - Lorenz Curtian")
ts = gfx::Time()
FOR t = 0 TO 7000 STEP 0.006
  x = SIN(0.99 * t) - 0.7 * COS(3.01 * t)
  y = COS(1.01 * t) + 0.1 * SIN(15.03 * t)
  x = x * 200 + 400
  y = y * 200 + 300
  gfx::pixelRGBA scrn, FIX(y), FIX(x), 250, 250, 250, 255
NEXT
te = gfx::Time()
gfx::stringColor scrn, 20, 20, "Time: " & FORMAT("%.4f",(te-ts)/1000) & " Seconds." & CHR(0), 0xffffffff
gfx::Update
WHILE gfx::KeyName(1) <> "+escape"
WEND
gfx::Close

--- End code ---

Support:
I sent you everything you needed in the last zip to make the Script BASIC GFX extension module work. What is it saying you're missing?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version