Sphere by DrChip

Post Reply
User avatar
Dutchman
Posts: 851
Joined: Mon May 06, 2013 9:21 am
My devices: iMac, iPad Air, iPhone
Location: Netherlands
Flag: Netherlands

Sphere by DrChip

Post 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:
Attachments
screenshot
screenshot
screenshot.png (46.15 KiB) Viewed 3272 times
Last edited by Dutchman on Sun Sep 10, 2017 6:04 pm, edited 2 times in total.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: Sphere by DrChip

Post by Mr. Kibernetik »

This is an example of HTML5 functionality inside Safari browser.

User avatar
Фант
Posts: 1363
Joined: Sat Nov 30, 2013 10:01 am
My devices: iPad 4 (iOS 9.3), iMac (MAC OS 11.03)
Location: Россия,Санкт-Петербург
Flag: Russia
Contact:

Re: Sphere by DrChip

Post by Фант »

gorgeous! nucleation in 3d smart Basic? :shock:

DrChip
Posts: 167
Joined: Wed Oct 22, 2014 3:26 pm
My devices: iPhone 4 to 6+,iPad mini to iPad air 2

Re: Sphere by DrChip

Post by DrChip »

Thanks Dutchman! I need to port my games and demos to here. That should keep me busy for a while. :)

User avatar
Dutchman
Posts: 851
Joined: Mon May 06, 2013 9:21 am
My devices: iMac, iPad Air, iPhone
Location: Netherlands
Flag: Netherlands

Re: Sphere by DrChip

Post 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:

User avatar
Dutchman
Posts: 851
Joined: Mon May 06, 2013 9:21 am
My devices: iMac, iPad Air, iPhone
Location: Netherlands
Flag: Netherlands

Re: Sphere by DrChip

Post 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.

Post Reply