/b/ - Random

A place for random musings and discussions.

New Boards Added

>>>/int/ >>>/out/ >>>/wp/ >>>/ck/ >>>/k/ >>>/fa/

Bharatchan September 2025 UpdateHello everyone, it's been a while. Here we are wit...
[View Noticeboard]
0/4000

BharatChan Disclaimer

Notice

Before proceeding, please read and understand the following:

1. BharatChan is a user-generated content platform. The site owners do not claim responsibility for posts made by users.

2. By accessing this website, you acknowledge that content may not be suitable for all audiences.

3. You must follow BharatChan’s community guidelines and rules. Failure to do so may result in a ban.

4. By using BharatChan users agree to the use of cookies, mostly for session related to user.

A poster on BharatChan must abide by the following rules:

Sitewide Rules
You must be 18 or older to post.
Sharing personal details or engaging in doxing is strictly prohibited.
Political discussions should be confined to /pol/.
Off-topic discussions, thread derailment, or spam may result in a ban and IP blacklist.
Pornographic content is strictly prohibited.
Any activity violating local laws is not allowed.
If you are not an Indian, you can only post in /int/. Or create and account and ask for approval to post in other boards.
Acknowledge

Recent Posts

2 inch 😆

View

View

View

Mogger castes of Pajeetland

View

Why are pajeetas getting so vulgar these days?

View

View

View

View

View

Urgent reforms india needs according to you.

View

East Indian General

View

Share your sources

View

Boomer logic

View

Cinema has become my first home

View

View

View

View

View

Wagiechads

View

View

Is indian iq really 82?

View

View

yaar bihari majdoor

View

View

View

View

Thoughts?

Thoughts? Also someone post this on 4chan

View

BROATUL

View

What makes him attractive?

View

View

View

View

View

View

View

Advice

View

are they looxmatched?

View

View

View

Gayush ne bahut dino se post nahi daali

View

Come home

View

Our boy is enjoying Rajma Chawal.

View

BDL winning again

Yaar there have been talks about how whitoids hate indians. But real thing is white girls can't resist a tamil man's butthole. Why is no one talking about this. They associate us with poop. But also lick 😋 our buttholes. Why are whites like t...

View

Hands down on

View

Hakla

View

View

View

View

View

Finally....

View

my biggest project yet

Anonymous

IN

64f/Dh

No.317713

everything from scratch in C btw

bmp file writer, you can create procedural graphics in memory and then render it as a bmp image.

currently i have implemented the bmp image saver, in its most basic form and as far as graphics is concerned i can fill a canvas with color.

gradually i will add a lot more features to bmp writer such as support for 32 bit bmp with alpha channel (transparency) support and transform it into a separate library.

as for graphics, i am currently implementing a voronoi renderer, after that i will create whole graphics library, maybe implement the ray tracer challenge as well

Anonymous

IN

wWpqOl

No.317719

>>317713(OP)

looks cheap, copied and pretentious

Anonymous

IN

lt5zXI

No.317720

Post in >>>/g/

Anonymous

IN

ZfjfUU

No.317722

>>317713(OP)

What is your caste?

Anonymous

IN

wWpqOl

No.317725

>>317722

KEK

Anonymous

IN

64f/Dh

No.317726

>>317719

no i have written all of it by myself, bmp spec (struct declaration) is available in win api docs, procedural graphics i learnt from a book mostly

Anonymous

IN

64f/Dh

No.317727

>>317722

brahmin, why?

Anonymous

IN

64f/Dh

No.317730

more of the pics

i got the idea from a similar project which was done for linux for ppm, windows doesn't support ppm, so i chose to do it for bmp, simplest image file format on windows

Anonymous

IN

64f/Dh

No.317733

here is the image btw

Anonymous

IN

64f/Dh

No.317735

>>317720

i posted in /g/ few days ago, but the thread died

Anonymous

IN

jizDfi

No.317739

>>317727

>Brahmin

>ChatGPT code

post hand

Anonymous

IN

lt5zXI

No.317753

>>317735

Just wait , cheap attention isn't good

Anonymous

IN

64f/Dh

No.317757

>>317739

I dont even use chatgpt sirs, free version of it can't create this big of a project anyways.

I can literally write an essay on the whole thing, you have no idea how much I have studied for this.

>>317753

/g/ is dead yaar

Anonymous

IN

Et41f8

No.317768

>>317713(OP)

Are you TechJhoomer?

Anonymous

IN

64f/Dh

No.317772

>>317768

Nope but tbe voronoi idea i got from him, apparently it's a popular graphics project among C/C++ enthusiasts.

Anonymous

IN

64f/Dh

No.317776

Graphics programming is literally the peak, there is nothing more satisfying and interesting.

And this is nothing, I am learning win api programming from handmaid hero series.

Casey moratorium intro to C vids are great.

Anonymous

IN

64f/Dh

No.317780

I am also learning Rust btw

Anonymous

IN

lphp8N

No.317798

yaar padhaku jeet, yaha bhi aagaya tu?

Anonymous

IN

4xoGIq

No.317803

>>317739

serious question- do all brahmins need to be fair? i know a brahmin who is as dark as the night. he may be larping

Anonymous

IN

LlOboh

No.317814

tbh mujhe koi idea nahi hai lmao, ye sab kya hai mai to mechanical branch me tha, ab NEET hu (gobarmint meme exam Jeet)

Anonymous

IN

54PlJ1

No.317816

>>317803

No.

All tamil brahmins are darker than jaats

Anonymous

IN

4xoGIq

No.317830

>>317816

what about north india brahmins

Anonymous

IN

LlOboh

No.317838

>>317803

>>317816

>>317830

Absolute derailment kek

Anonymous

IN

qFQptC

No.317857

>>317727

>brahmin

Everything just added up,

>>317739

>>ChatGPT code

It's not chatgpt code which is easy to tell from a cohesive code, and consistency in variables, but also newline arrangement nufag

>>317713(OP)

>C

Why? I mean it's not bad but why not opt out for C++ or C#? Could you not find suitable libraries? Also since /b/ is filled with non tech fags from reddit use layman terms for the retards, why go for a bmp writer though?

Anonymous

IN

fIxRik

No.317858

>>317798

old inch had lots of padhakus

Anonymous

IN

4xoGIq

No.317860

>>317838

this is only natural for bhachan. i would rather say that your productive post distracting us from caste kanging is the derailment itself

Anonymous

IN

64f/Dh

No.317870

>>317857

>why not opt out for C++

Everytime i start learning C++ I just get overwhelmed, I alr3ady know C quite well, I just don't feel like using C++ for some reason, its a mess tbh and there are lack of resources to learn it, I skipped to Rust instead.

>C#

don't know it.

I try not to use external dependencies and libraries as much as possible.

I use raylib though, I plan to create my own windowing platform in the future though.

>why bmp

Its the simplest image file format on windows.

A lot of procedural graphics is rendered using ppm file format on linux, but I dont use linux so I created a bmp writer instead.

Anonymous

IN

64f/Dh

No.317879

There is a book called ray tracing challenge, it teaches you how to write a ray tracer, it is language agnostic and mostly focuses in the logic and math side of things, basically you have to implement the whole thing yourself.

It uses ppm for rendering, that's where I learned that we can generate graphical data in a memeory buffer, write it into a image file format and render it.

the professional is to create a window and use generate graphics using OpenGL or dirextX but that's extremely complex, I do plan to learn that stuff too.

Anonymous

IN

64f/Dh

No.317908

BTW I use MSVC, I dont understand why retards install mingw GCC for C/C++ programming on windows, when official Visual C++ build tools, even IDE itself exists.

Anonymous

IN

D4LbX6

No.317916

>>317870

>I skipped to Rust instead.

Kek, also reasonable to go for bmp writer

Pajaat saab

!PQjJ0TDNsAFb+B8

ROJR

aQHAE2

No.317920

>>317713(OP)

btech hone wali hai or header file ke alawa sab pehli baar dekhra hu

Anonymous

IN

64f/Dh

No.317925

>>317916

yeah other file formats have like JPG and PNG have compression which is too complex to implement.

BMP supports compression too but its optional, I have been looking into run length encoding though.

Anonymous

IN

4xoGIq

No.317927

>>317916

yaar ye rust kya hota hai?

Anonymous

IN

64f/Dh

No.317929

>>317920

Colleges no longer focus on C lang that much yaar pajaat saab, in my cousin's college C programming course they barely covered pointers.

Kattar Gayaush Hater

UN

37TzOp

No.317930

>>317713(OP)

WTF is that computer wizardly yaar.

t. non tech jeet

Anonymous

IN

64f/Dh

No.317931

>>317927

programming language hai

https://rust-lang.org/

the best part about it is freely available official learning resource.

Anonymous

IN

64f/Dh

No.317936

>>317930

bhai in simple terms, everything on a computer is just 1s and 0s end of the day, this means you can generate anything, audio, video, graphics etc data in the memory, to render it you simply need to write this data into OS supported file format.

you can write an entire ray tracer that way, create 2D and 3D objects too.

Anonymous

IN

64f/Dh

No.317939

On windows BMP files have a file header, info header and pixel data, you can find the struct on windows api docs, that's where I found it

all you need to do is write your image in that format.

Anonymous

IN

64f/Dh

No.317940

All you have to do is then implement functions that write the pixel data and set up the image struct fields.

Kattar Gayaush Hater

UN

37TzOp

No.317944

>>317936

But why do that? VLC can play music and videos just fine.

Anonymous

IN

64f/Dh

No.317947

>>317944

Well yeah of course, I was just giving an example, you can write your own video player, encoder etc etc too

hawas ka pujari

KA

eUaXMF

No.317950

>>317939

anon-kun i have question

you are doing all of this just for the purpose of learning and fun right ?? because this is literally reinventing the wheel

t. got too much into hobby stuff in college and narrowly escaped unemployment

Anonymous

IN

rwjfLI

No.318004

>>317950

>learning and fun right

yeah, long-term goal is to learn about graphics pipeline.

Anonymous

IN

tNYPUO

No.318019

>>317757

>essays

go write up a blog. about this and anything else you will learn. thats a good habit

Anonymous

IN

nOpckA

No.318024

how old are you chadanan

Anonymous

IN

dGcR+z

No.318170

>>317857

>Everything just added up

how so

Anonymous

IN

unYjcM

No.318246

>>318019

May be I will add some documentation later on, its too early now

>>318024

20 yo sirs

Anonymous

IN

N3HP2w

No.318272

upload code on gutterhub (create new profile)

Anonymous

IN

unYjcM

No.318288

>>318272

maybe later on I will do that, as you can see i am not even using git atp, these little projects I do are simply for education purposes, I don't really see any point in making unnecessarily complex by putting the whole thing under version control.

Anyways the whole project is currently an executatble.

Later on I will transform both the bmp writer and sketch (name for my graphics library) as separate libraries, may be then I will put them under version control, it will make much more sense cuz I will be simply adding features gradually.

Active Users in /b/: N/A