blob: f9388d5345742b75af32b5ef19a31a0ed3fae2be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/* main.c
* Created: 2023-09-02
* Author: Aryadev Chavali
* Description: Entrypoint of program
*/
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <raylib.h>
#include <raymath.h>
#define WIDTH 512
#define HEIGHT 512
int main(void)
{
InitWindow(WIDTH, HEIGHT, "Mandelbrot simulation");
for (size_t ticks = 0; !WindowShouldClose(); ++ticks)
{
BeginDrawing();
ClearBackground(BLACK);
DrawText("Hello, world!", 100, 100, 50, RAYWHITE);
EndDrawing();
}
CloseWindow();
return 0;
}
|