BIG STUFF! (SEE ATTACHED VIDEO)
Changelog (WORK IN PROGRESS)
- Started work on adding 3d Shapes in terminal
- Working on a revolving or static Cube in terminal
- Working on Security Bypass function (To allow running blacklisted keywords)
Challenges
Making a cube in a terminal, in a framework like pytterns is extremely hard. It needs super complex maths, including weird trigonometry and high level functions. They were EXTREMELY tricky to get right.
Another challenge was to make a formula which worked on ALL the sizes, and also it worked on all the angles.
Most importantly, each line drawn should have its unique identity, so coloring could be done right.
The output had to be bypassed from the pytterns file, and centering had to be processed locally because of the complexity.
Learning & Overcoming Challenges
I learnt how to work with complex arrays
I learnt how to actually draw edges from one point to another in terminal
I learnt how to fetch terminal sizes
Future Updates
Il be adding more shapes and stuff to this to make it actually production ready and usable.
AI Disclosure
Some significant google searching and use of AI was done for this devlog as some really complex math was used to render the cube in terminal. All the codeblocks which had AI Involvement are marked through comments in the code with full disclosure.
Video Attached: Videos of cubes of different sizes and char being rendered through pytterns from 1 Line of code for the user!
Thanks for reading this 💖
Stay Tuned!
Log in to leave a comment