RSSAmplifier

Blog

a.tulv.in

a.tulv.inRSS feed ↗24 posts

Latest posts

Mining for wikipedia gold with LLMs

Wikipedia has Special:Random which will take you to a random article. I thought these random articles would be a great way to explore wikipedia and discover new things, But because of the scale of wikipedia, most of the articles were not interesting reads. Bulk of wikipedia is just random …

Tupper's self-referential formula

I saw this old tweet today Tupper's self-referential formula is a formula that visually represents itself when graphed at a specific location in the (x, y) plane. pic.twitter.com/R0L3ZjqcyP — Fermat's Library (@fermatslibrary) December 13, 2021 The equation here is not the full picture. The "data" used …

Solving Knights Tour using a Neural Network

8 x 8 Knight's Tour generated by Neural Network I recently came across this post by Dimitry Brant: Knight’s Tours Using a Neural Network . This version is implemented in C++ with flat arrays. A properly vectorized numpy re-implementation is long overdue, so I decided to give it a shot …

Finding Mona Lisa in the Game of Life

This video might take a few seconds to load. Please squint for best results :). The results of this experiment are not exactly close to my target as you can see, but I thought it was worth a blog post anyway. There was this rough idea I've been thinking about in …

Noise Planets

Thank you Tyler Hobbs for the inspiration I recently found this piece of art (LINES 2A (2017)) created by Tyler Hobbs . This picture kinda looked very hand drawn, but it's completely generative. Something about this drawing and it's texture kind of resonated with me, so I wanted to try to …

Deobfuscating a Maze Program

I was wandering in Wikipedia when I came across this interesting page https://en.wikipedia.org/wiki/Obfuscation_ (software), and this interesting piece of code. char * M , A , Z , E = 40 , J [ 40 ] , T [ 40 ] ; main ( C ) { for ( * J = A = scanf ( M = "%d" , & C ); -- E; J[ E] =T [ E ]= E …

Generative Bad Handwriting

So.. I made a popular tweet last week in the #つぶやきProcessing circles. j=24,m=0,draw=(a=>{for(v=(i=>w/3*(n=noise)(i)-k),createCanvas(w=1e3,w),noFill(),background(' #fd7 '),translate(0,m--),i=0,y=0;y -m?curve(v(i …

Tweet p5.js (#つぶやきProcessing) Showcase

This page might take a few seconds to fully load.. m=0,h=13,draw=_=>{for(createCanvas(w=1e3,w),background(i=k=n=0),t=t=>text(Array(\~\~R(5)).fill(R(w).toString(36)),w_t,i_h+m),a=textAlign,R=t=>noise(n++)_t,fill(" #つぶ …

Clustering Unicode Glyphs

I saw this image of Language families across the globe today, and decided I wanted to do something related. What would happen if I apply a clustering algorithm to all the Unicode characters? I wanted to this done really quickly, So no reinventing the wheel. The plans is to get …

Fractal Trees with a bit of random()

I was trying to generate Pythagoras Tree fractal in p5js, when I decide to see what would happen If I add random() in the branch angle code. It turns out that with high amount of branching. They look pretty close to a grayscale photograph of Baby’s Breath Flowers (yup …

Project Kasparov Part 2 - react-chess

If you haven’t read Project Kasparov Part 1, I suggest you follow this link . All my web projects were written in jQuery till now (except the timer, which was Angular 1.0). I was hearing a lot of praise for react in Hacker News and Reddit. I wanted to …

Project Kasparov Part 1 - chssbot

Project Kasparov started out as a long-running desire to work on a chess related application. I found the Algorithms, Typography and Literature surrounding Chess fascinating. I am not very good at playing chess though. I was stuck with the failure of deploying canvasbot, My Genetic Algorithm Art bot at this …

Genetic Art

I was experimenting with a lot of Genetic/Hill Climbing algorithms to generate Art. I started out by trying to approximate a Grayscale image with just lines of varying width and color intensity. The genetic algorithm is roughly like this: Algorithm : GA ( n , χ , µ ) // Initialise generation 0 : k = 0 …

Simulated Annealing for Beautiful Graphs

Humans have an intuitive sense of symmetry and aesthetics. We try our best to make it easy to understand the concept we’re trying to explain. In textbooks, we see images like the one above, and not like this one.. I’m having labs in college where I have to …

About Me

About Me Hi! I’m Atul Vinayak, a programmer based around Vancouver, Canada. I Started working as a programmer from 2015. Mostly a python programmer, but also knows Java, C, C#, JavaScript etc. Started learning on Scala and Elixir from 2019. First programming language was ActionScript! I wanted to be …

Blender Renders

The Particle Collision project got me interested in Blender. Over the course of many years, I did several Renders. View this post on Instagram Found new hobby. 3D modeling. This is a model I've been working on from my college days. Decided to complete it, now that I've …

Games

Games Title Description Platform Year Pokemon - Gambling Edition A mod of Pokemon Blue that's only the Gambling minigame but with a better gambling system Gameboy 2026 Sokoban26 Yet another minimalist sokoban clone Gameboy 2026

Projects

Projects Minim A very minimal, elegant new-tab page for chromium browsers. Get it here for chrome . Coming soon to firefox.

Particle Collision Experiments

OK, So I saw this in reddit . And I wanted to do something like that. I had plans to mess around with Box2D for a long time but didn’t get the opportunity. After a day’s worth of research, I found out that Blender does a much better job …

A Music player that can uplift your mood

This is the beginning of a big project I’m undertaking as a part of my Blackberry 10 Internship. It is a music player, which can analyze mood of a given track, and also guess our mood from the songs played. It uses support vector machine based regression to locate …

Moviebot

Found something useful to do with my enormous collection of movie subtitle files(.srt). Its a bot (like ELIZA or the emacs psychiatrist, not too bright) which is a huge movie fan. Ask him anything, he’ll reply with the closest known movie dialogue I’m attaching a sample conversation …

O(n log(n))

Just quicksort, mergesort and heapsort in a single image. I was obsessed with shrinking my code to fit in a single image :) For Reference, The best, average and worst complexities Algorithm Best Average Worst Quicksort \(\Omega(n\log{}n)\) \(\Theta(n\log{}n)\) \(O(n^2)\) Mergesort \(\Omega(n\log …

Procedurally Generated Mazes

Maze Generation started out as an experiment. I was fascinated by maze generation algorithms. I used a randomized version of Kruskal’s algorithm . Create a list of all walls , and create a set for each cell , each containing just that one cell . For each wall , in some random order : If …

A Sudoku Solver

This one day code project which I did while I stayed at my mom’s place for vacation.It’s a messy sudoku solver in python. It somehow uses the same algorithm I use to solve sudoku (which is defenitely not the most efficient) in my mind. It comes up …