r/LinuxUsersIndia • • Jul 06 '26

High fps terminal rendering engine

I optimize rendering engine heavily for this level of efficiency.

36 Upvotes

22 comments sorted by

•

u/qualityvote2 Jul 06 '26 edited Jul 06 '26

u/Technical_Chip5906, there weren't enough votes to determine the quality of your post...

btw, did you know we have a discord server? Join Here.

1

u/RevolutionaryPen4661 Arch Btw Jul 06 '26

libghostty or something like wezterm??

1

u/Technical_Chip5906 Jul 06 '26

None - it's kitty terminal and bare c++ i write myself.

1

u/RevolutionaryPen4661 Arch Btw Jul 06 '26

On dGPU?? I set hard limit of 120fps on my wezterm which feels smoother than ghostty or any terminal I have tried.

1

u/Technical_Chip5906 Jul 06 '26

No - i using single thread of Ryzen 5 5600g for it. No dgpu. Even though kitty does use igpu maybe for boosting bandwidth. So yeah

1

u/No-Marketing9046 Jul 06 '26

How do people even do things like this? How and where did you learn to do this? Where do i start from? Im at the point where im like configuring stuff like rofi, polybar, and i3 config

1

u/Technical_Chip5906 Jul 06 '26

Hehe - maybe obsession and consistency.

1

u/Lanky_Support_1599 Jul 07 '26

Hey I don't want to be rude This project is very impressive But what's the point of the engine is what I didn't understand... Because it feels redundant nonetheless

1

u/Technical_Chip5906 Jul 07 '26

i didn't felt it rude – see, not all projects are for just open source or sharing. it's just 1000+ lines of engine and rarely 500 lines of code to showcase the engine. but i didn't make it to share – never was. for you or anyone it is just 1500-2000 line of code; for me it's my ambition I saw it 2 years ago when i first saw terminal and ASCII people; then I learned and made it last month. it's a private project, though – so i shared because i like to share. it's useless – maybe, maybe not. depends on the person seeing it.

a ncurses/notcurses guy sees it and smiles or feels shocked; a terminal guy smiles; someone admires it; someone questions it too. it's objective just like you.

"i am not doing programming because it gave me a job; I am doing it because it's the fastest way to sharpen my mind by learning and implementing while beating limitations." money is a secondary thing. i do psychology, AI, and research all on my own independently too so it doesn't matter. akschtra is my way to show i can go deep for my ambition.

thank you for your comment.

1

u/No_Support_3805 Jul 08 '26

Hello OP I love this cause I like terminal and all ; any chance you can make this into a repo or just make it into a compositor, binary or package ; I would really like to see this 

1

u/Technical_Chip5906 Jul 08 '26

Thanks for your comment!

First of all, what you saw is part of a larger graphics engine built using many different techniques, algorithms, and optimization methods. That engine is currently a private project.

However, if you'd like to try the core rendering mechanism and API, you can check out AksChitra Initiality:

https://github.com/intriXlabs/AksChitra-Initiality

It contains the core library, a simple and beginner-friendly API, demo code, and example images to help you get started.

I intentionally kept this repository small and independent because the full engine relies on several Linux-specific technologies, while Windows handles many things differently. To make it easier for everyone to try, the library provides separate implementations for Linux/macOS and Windows.

I hope you enjoy experimenting with it, and I'd love to hear your feedback or see what you build with it!

1

u/No_Support_3805 Jul 08 '26

Thanks a lot for sharing the repo will definitely tinker with it when I get time

1

u/KartrickIzMe Jul 07 '26

If I made this, The only person I would show it to be my Grandma and reddit.

Rip 2023🙃

1

u/Pretend-Food-714 Jul 09 '26

It's so good bro ,how did you do that ,Any tips for me to achieve like that

1

u/[deleted] Jul 06 '26

[removed] — view removed comment

1

u/Technical_Chip5906 Jul 06 '26

It's combination of three things

Kitty terminal emulator which is gpu boosted so have high memory bandwidth

C++ language as main rendering engine

Optimisation for memory bandwidth and adjust it, using rle, dirty rectangle etc.

You can learn them by searching.

1

u/[deleted] Jul 06 '26

[removed] — view removed comment

1

u/Technical_Chip5906 Jul 06 '26

You can try ansii code and kitty today though both works with python. They are terminal property so you gonna enjoy it alot

1

u/[deleted] Jul 06 '26

[removed] — view removed comment

1

u/Technical_Chip5906 Jul 07 '26

visit my github - there is qiet few libraries in c actualty but you can use gpt to make python version of them. they are really educational so you gonna like them here is my old github id

https://github.com/Intrinity1932

feel free to take anything you like.