QB64.com

QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS.

HomeNewsGitHubWikiSamplesInFormGXQBjsCommunityMore…

SAMPLES: GEOMETRY

Circle Intersecting Circle

🐝 bplus 🐝 STxAxTIC 🔗 geometry, intersections, qbjs

Here we present two (equivalent) methods for calculating the intersection points between any two …

Circle Intersecting Line

🐝 bplus 🔗 geometry, intersections

This is an interactive (mouse-driven) demo that calculates the intersection of any line with any …

Ellipse Intersecting Line

🐝 STxAxTIC 🔗 geometry, intersections, qbjs

… all I could think is “why stop at circles when you can do ellipses?”

Lines Intersecting

🐝 STxAxTIC 🔗 geometry, intersections, qbjs

Line segments intersecting.

RightTriangle

🐝 T.A. Giles 🔗 geometry, legacy

‘Program (c) T.A.Giles - Mar 2001 ‘Right Angle Triangle Solver v 1.1 ‘640 x 480 graphics resolution

Rotate

🐝 missing 🔗 geometry, legacy

Rotating circles.

Torus Demo

🐝 Microsoft 🔗 geometry, torus

’————————————————————————————————…

Vektor

🐝 missing 🔗 geometry, legacy

Fly around a plane of dots. PRINT “Welcome to my second go at displaying” PRINT “points in a thr…

VSphere

🐝 missing 🔗 geometry, legacy, qbjs

‘This is a program that calculates the volume of a sphere.