
You know how much I like spinning shapes. In this video, I tried to visualize a fancy cube with ASCII chars. Thumbs up!
Twitter:
๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป
Source code :
Live a star on github, if you enjoy!
๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป๐จโ๐ป
๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ
All the products in this video
โจ๏ธ Keyboard: IQUnix OG80 Wormhole TTC ACE switches and Costar Stabilizers (5% discount)
๐ฑ๏ธ Microsoft Bluetooth Mouse
๐ฅ๏ธ Monitor Asus MX239:
๐ฅ๏ธ Monitor Dell 34 Curved Monitor - S3422DW:
๐ป 2021 Apple MacBook Pro (14", Chip Apple M1 Pro con CPU 10-core e GPU 16โcore, 16GB RAM, 1TB SSD)
๐ค Rode NTG4+ Shotgun Microphone
๐ชต IOTXY Solid Wood Writing Desk
๐ช IWMH Ergonomic Office Chair
๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ๐ฆ
00:00 Creating cube.c
00:20 Searching for rotation matrices
00:39 Calculating rotated coordinates
02:04 Getting the result matrix and calculateX()
03:49 calculateY()
04:47 calculateZ()
06:05 Creating variables
06:54 Coding
08:49 calculateForSurface()
12:24 Printing chars on the screen
13:14 The first run
14:11 Creating other surfaces by rotating the first surface
15:34 The second run
19:39 Completed