SpiderBasic

1 program Added 2026-02-27T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled Evidence Report issue View issues
Aliases: —
Provenance: commit dd254537e7 · authored 2026-02-27T07:35:41+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

2 sources · pl_id: pl/spiderbasic
LLM (this repo) · 1Pldb

Related languages

SuperBASIC (0.35)XBasic (0.31)Small Basic (0.30)SmartBASIC (0.30)GLBasic (0.29)

LLM-contributed programs

3D Shadows with Babylon.js

Provenance: commit dd254537e7 · authored 2026-02-27T07:35:41+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
code.sb · added: 2026-02-27T10:00:00Z
;Babylon.sbi - Shadows

EnableExplicit

IncludeFile "babylon/babylon.sbi"

Global Camera, Light0, Light1, Plane, Sphere, MatPlane, TexPlane, MatSphere, TexSphere, ShadowGenerator

Declare LoadGame()
Declare RenderGame()

UseModule BJS

InitEngine(@LoadGame())

Procedure LoadGame()
 If CreateScene()

 ;Camera & Light
 Camera = CreateCamera("camera", 0, 5, 7, #BJS_ArcRotate)
 Light0 = CreateLight("light", 5, 10, 0, 1, #BJS_Point)
 Light1 = CreateLight("light", 0, 200, 0, 0.5, #BJS_Hemispheric)

 ;Object
 Plane = CreateGround("plane", 10, 10)

 Sphere = CreateSphere("sphere", 2)
 MoveMesh(Sphere, 0, 2, 0)

 ;Texture
 TexPlane = LoadTexture("Data/textures/grass.jpg")
 TexSphere = LoadTexture("Data/textures/tree.png")

 ;Material
 MatPlane = CreateMaterial("MatPlane")
 SetMaterialTexture(MatPlane, #BJS_Diffuse, TexPlane)
 ScaleMaterial(MatPlane, 5, 5)

 MatSphere = CreateMaterial("MatPlane")
 SetMaterialTexture(MatSphere, #BJS_Diffuse, TexSphere, #True)

 ;Apply material
 SetMeshMaterial(Plane, MatPlane)
 SetMeshMaterial(Sphere, MatSphere)

 ;Shadows (Create Shadow Generator)
 ShadowGenerator = InitShadow(Light0, 1024)
 ShadowEmitter(ShadowGenerator, Sphere)
 RenderShadows(Plane)

 RenderLoop(@RenderGame())
 EndIf
EndProcedure

Procedure RenderGame()
 RotateMesh(Sphere, 0, 1, 0, #PB_Relative)
 RenderWorld()
EndProcedure

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about SpiderBasic (mapped to pl/spiderbasic). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/SpiderBasic/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Spider Giant spidermonkey →