Coding Challenge: 3D on Apple II

Published: 12 November 2022
on channel: The Coding Train
330,133
10k

Take a trip back in time and watch me attempt to build a 3D graphics engine in AppleSoft BASIC on a restored Apple II+ computer! Can I render a spinning cube? Code: https://thecodingtrain.com/challenges...

🚀 Watch this video ad-free on Nebula https://nebula.tv/videos/codingtrain-...

🎥 Previous video:    • Apple ][ Coding Challenge: Fractal Tree  
🎥 All videos:    • Coding Challenges  

References:
💾 Big Mess o' Wires: http://www.bigmessowires.com/floppy-emu/
✨ Nebula: https://nebula.tv/videos/codingtrain-...
🧠 What is Code?: https://nebula.tv/what-is-code
🎶 Coding Together:   / coding-together  

Related Videos:
🎥 Coding Together Track: https://thecodingtrain.com/tracks/cod...
🎥 Polar Coordinates:    • 3.4 Polar Coordinates - The Nature of...  
🎥 3D Rendering with Rotation and Projection:    • Coding Challenge #112: 3D Rendering w...  

AppleSoft BASIC:
🐶 Beagle Basic: http://www.apple-iigs.info/doc/fichie...
🍎 The AppleSoft Tutorial: http://cini.classiccmp.org/pdf/Apple/...
🍎 Basic Programming Reference Manual: https://mirrors.apple2.org.za/Apple%2...
🪧 Peeks, Pokes and Pointers: https://archive.org/details/peeks-pok...

Apple II Emulators:
☕ Applesoft BASIC in JavaScript: https://www.calormen.com/jsbasic/
🍎 Apple IIjs: https://www.scullinsteel.com/apple2/
🍎 MicroM8: https://paleotronic.com/software/micr...

Unedited Raw Footage:
⭐️ Session 1:    • Members Live: Recording the AppleSoft...  
⭐️ Session 2:    • Members Live: Archive of Apple ][ Rec...  
⭐️ Session 3:    • Member Live: Archive of 3rd Apple ][ ...  

Related Coding Challenges:
🚂 112 3D Rendering with Rotation and Projection:    • Coding Challenge #112: 3D Rendering w...  
🚂 173 AppleSoft Basic Snake Game:    • What was Coding like 40 years ago?  
🚂 174 AppleSoft Basic Fractal Tree:    • Apple ][ Coding Challenge: Fractal Tree  

Timestamps:
0:00 The future of computer graphics!
0:39 Viewer comments
1:58 Editing code in BASIC
3:28 Floppy Emu disk emulator
5:09 Double buffered animation
6:55 Initialize high resolution graphics for 2 pages
7:42 Animating a line
8:50 CALL to clear the screen
9:22 Switching screens
13:18 The "draw loop"
14:55 Rotate a line
15:45 Add points
16:36 Add a subroutine that draws a line between two points
17:55 Scaling the line
20:55 Matrix Multiplication for Rotation
29:26 Animate rotation
32:00 Clear background
33:17 Subroutine to add the points of a cube
35:40 Subroutine to draw the lines
36:46 Incorporating matrix math.
40:24 Edit code to add more points
41:46 Connect the points to draw a cube
43:03 Beautiful, 3D rotating cube!!
43:17 x-axis rotation
43:52 Ways to optimize the code
44:42 Can you add perspective projection?
45:08 See you next time on Coding Together!

Editing by Mathieu Blanchette
Animations by Jason Heglund
Coding Together Theme by Will from America (  / willfromamerica  )
Eye of the Tiger cover by Leon from @neo
Additional music from from Epidemic Sound

🚂 Website: http://thecodingtrain.com/
👾 Share Your Creation! https://thecodingtrain.com/guides/pas...
🚩 Suggest Topics: https://github.com/CodingTrain/Sugges...
💡 GitHub: https://github.com/CodingTrain
💬 Discord: https://thecodingtrain.com/discord
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
🖋️ Twitter:   / thecodingtrain  
📸 Instagram:   / the.coding.train  

🎥 Coding Challenges:    • Coding Challenges  
🎥 Intro to Programming:    • Start learning here!  

🔗 p5.js: https://p5js.org
🔗 p5.js Web Editor: https://editor.p5js.org/
🔗 Processing: https://processing.org

📄 Code of Conduct: https://github.com/CodingTrain/Code-o...

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecod...

#3dgraphics #1980s #appleii #matrixmath #basic


Watch video Coding Challenge: 3D on Apple II online without registration, duration hours minute second in high quality. This video was added by user The Coding Train 12 November 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 330,133 once and liked it 10 thousand people.