Difference between revisions of "Raycasting in Python"

 
Line 3: Line 3:
 
  h = 0
 
  h = 0
 
  print(h)
 
  print(h)
yeah
+
or
 +
yousay = input('hi or bye?')
 +
if yousay == 'hi':
 +
    print('hello!')
 +
else:
 +
    print('bye...')
 +
But what if we could make 3D scenes in AoPS Python, without importing any 3D libraries?

Latest revision as of 17:08, 11 June 2024

Hello, and welcome to "Raycasting in Python." On AoPS, you may think of Python as a simple system. For instance, you may be familiar with a program like this:

h = 0
print(h)

or

yousay = input('hi or bye?')
if yousay == 'hi':
   print('hello!')
else:
   print('bye...')

But what if we could make 3D scenes in AoPS Python, without importing any 3D libraries?