Page 1 of 1

Sphere by DrChip

Posted: Wed Oct 22, 2014 1:45 pm
by Dutchman
On 'that other forum' :lol: I found HTML-code for a wobbling sphere coded by 'DrChip'.
I could not attach the file. First I got the message that HTML-files are not allowed.
Then I changed the extension to '.txt' and got the message: "The upload was rejected because the uploaded file was identified as a possible attack vector."
Therefore you'll have to download via dropbox.
The file and the program to run it is available on https://www.dropbox.com/sh/8k1rau1xm2fw ... MwE1a?dl=0
The program contains the following code:

Code: Select all

'Sphere by Dutchman oktober 2014
'Display of sphere.html from DrChip on 'Basic!' forum
sw=SCREEN_WIDTH() ! sh=SCREEN_HEIGHT()
BROWSER "sphere" URL "sphere.html" AT 0,0 SIZE sw,sh
END
It is amazing that such a complex graphics entity can change so fast via an interpreter.
Screenshot:

Re: Sphere by DrChip

Posted: Wed Oct 22, 2014 2:08 pm
by Mr. Kibernetik
This is an example of HTML5 functionality inside Safari browser.

Re: Sphere by DrChip

Posted: Wed Oct 22, 2014 2:38 pm
by Фант
gorgeous! nucleation in 3d smart Basic? :shock:

Re: Sphere by DrChip

Posted: Wed Oct 22, 2014 3:33 pm
by DrChip
Thanks Dutchman! I need to port my games and demos to here. That should keep me busy for a while. :)

Re: Sphere by DrChip

Posted: Wed Oct 22, 2014 4:06 pm
by Dutchman
That would be great :!: But I'm looking forward to your new programs and tutorials. Smart Basic opens new horizons, especially on sprites. :D
How is 'Digit'? Too bad we no longer see contributions from him. Is he now in 'higher' (Java) spheres? :lol:

Re: Sphere by DrChip

Posted: Fri Oct 24, 2014 5:21 pm
by Dutchman
If you add {Sphere} to the beginning or end of the file 'sphere.html' and decomment the rest of the contents with /* and */ then you can run the html-file with the run-button.
{Sphere} will include the program 'sphere.txt' during runtime.