Difference between revisions of "Raycasting in Python"
| Line 3: | Line 3: | ||
h = 0 | h = 0 | ||
print(h) | 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? | ||
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?