summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/main.c b/main.c
new file mode 100644
index 0000000..f9388d5
--- /dev/null
+++ b/main.c
@@ -0,0 +1,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;
+}