Skip to content

Instantly share code, notes, and snippets.

View haxfn's full-sized avatar

Vishal haxfn

View GitHub Profile
@haxfn
haxfn / langs.md
Last active March 12, 2025 07:41

langs.md

Julia

syntax

  • do blocks
    • note: don't clutter your function calls with calculations inside the argument placeholder
    • example:
@haxfn
haxfn / CMakeLists.txt
Created May 15, 2024 17:41
Raylib CMakeLists Template (Linting, LSP works)
cmake_minimum_required(VERSION 3.0)
project(fourier_series C)
set(CMAKE_C_STANDARD 11)
# Generate compile_commands.json
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# Adding Raylib
include(FetchContent)
set(FETCHCONTENT_QUIET FALSE)
@haxfn
haxfn / object-oriented-chat.md
Created February 4, 2024 10:59
A chat on Object Oriented Design

vishal: image Somebody help I think the error says I have something from the GameObject class that has not been over-riden in the child classes But am not sure please help Maybe I have to do public inheritance

Marioalexsan: Did you provide definitions for your GameObject virtual functions in a source file?

@haxfn
haxfn / mandelbrot.jl
Created April 20, 2023 08:07
Mandelbrot and Julia Set simulation in Julia Programming Language. Vishal Paudel 2023.
#=
AUTHOR: Vishal Paudel
DATE: Wed Apr 19 00:26:21 IST 2023
NOTE: https://github.com/vishalpaudel/pretty-fractals/blob/master/julia_mandelbrot/mandelbrot.jl
TODO: Concurrent arrays to utilise GPU, and also to make the images changeable at runtime for interactive zooming.
=#
using Images, Colors, ColorSchemes