Skip to content

Instantly share code, notes, and snippets.

View ARC345's full-sized avatar

Arnav_Rastogi ARC345

  • 08:48 (UTC +05:30)
View GitHub Profile
{
"basics": {
"name": "Arnav Rastogi",
"image": "",
"label": "Aspiring AI/ML Researcher and Game Developer",
"email": "arnavrastogi.543@gmail.com",
"phone": "+917905708817",
"url": "https://arnav.rastogi.net.in/",
"location": {
"city": "Kanpur",
@ARC345
ARC345 / arc_lenia.cpp
Last active March 29, 2025 11:47
Lenia implementation with c++ and opencv
/* Copyright: Copyright (C) 2024 Arnav Rastogi
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 3 of the License
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
@ARC345
ARC345 / arc_conway_game_of_life.cpp
Last active March 25, 2025 10:49
conway game of life using opencv
#include <opencv2/opencv.hpp>
#include <iostream>
using namespace std;
using namespace cv;
int main()
{
// Read Image
Mat curr_state = imread("test.jpg", IMREAD_GRAYSCALE);
@ARC345
ARC345 / Timer.h
Last active April 19, 2023 19:51
#pragma once
#include <string>
#include <chrono>
#include <algorithm>
#include <fstream>
#include <thread>
namespace ARC {
struct SProfileResult
{