Skip navigation
Donut enhancements - Improved lighting calculation with ambient, diffuse, and specular components…
0:00 / 0:51

Donut enhancements - Improved lighting calculation with ambient, diffuse, and specular components…

konrad

@konradgajdus7.2K followers

Visit on X
1,586 likesDownloadOriginal post

10,565,503 views

Donut enhancements - Improved lighting calculation with ambient, diffuse, and specular components - Added interactive controls to adjust donut parameters in real-time 100% C

8 Comments

Comments from the original post on X (Twitter)

  • Roi's profile picture

    @RoiResell

    Love it man

    4 likes

  • Eric Snyder's profile picture

    @RadioRoscoe

    Just skimmed your code. Am I right in understanding that you are rendering the doughnut in a buffer, and then printf'n each line to the screen? I've been wanting to try to make an interactive CLI tool where I could choose what parts of the screen to update, but I wanted it built on a good foundation. Could you recommend a good, efficient API?

    3 likes

  • Gradient's profile picture

    @GradientOflw

    That’s neat, nice work

    2 likes

  • Phil's profile picture

    @MLWithPhil

    Great work dude, keep it up.

    1 like

  • Igor Komolov 𝕏's profile picture

    @microsawft

    ded sexy

    1 like

  • Neko-Chanzu's profile picture

    @chanzu_neko

    Mmmm donuts

    1 like

  • Mustafa's profile picture

    @mustafa_kh4n

    Good shitt broo!! Keep uppp the goood work.

    1 like

  • pathfindr.human's profile picture

    @Pathfindr_dev

    Very cool! Would love a breakdown

    1 like