Email or username:

Password:

Forgot your password?
Top-level
Devine Lu Linvega

It looks like the work I set out to do on Porporo is done, all I have left is to document it properly. This project is going to transform the way I work moving forward. Today, I completed a handful of challenges from lovebyte's tcc event from within the operating system itself to test things out, without running into any issues.
rabbits.srht.site/decadv/
#DecemberAdventure

Source code and a canvas with trippy patterns.
23 comments
[DATA EXPUNGED]
Devine Lu Linvega replied to Devine Lu Linvega

Decided to revisit trying to make one of these 3d tunnels effects after failing last year, with some help from the #lovebytetcc folks, I was able to make a neat 210 bytes demo and learnt a neat trick to approximate distance between two points without a square root function.
rabbits.srht.site/decadv/
#DecemberAdventure

3D Tunnel effect and its source code and binary representation.
rezmason replied to Devine Lu Linvega

@neauoire

max(|x|,|y|) + min(|x|,|y|) ÷ 2 eh?

I can see why you like it. It's got kind of a stellar bias, which makes it mysterious.

I wish to trade it kelp. 😁

A white irregular octagon on a black background. Its interior region is defined by max(|x|, |y|) + min(|x|, |y|) ÷ 2 < 1 .
Devine Lu Linvega replied to Devine Lu Linvega

I've done a lot of creative coding these past few days, but today I figured I might do well going over everything with the peephole optimizer, linter, formatter, tidying things up a bit. I've also found a little optimization to the theme loading code that resides at the core of nearly every graphical application I've written.
rabbits.srht.site/decadv/
#DecemberAdventure

Source for the linter.
Alexander Cobleigh replied to Devine Lu Linvega

@neauoire off topic but that is an absolutely gorgeous wallpaper, what is it & who's the artist?

Devine Lu Linvega replied to Alexander

@cblgh it's in the alt text of the img tag, but the author is Simon Goinard

Devine Lu Linvega replied to Devine Lu Linvega

I guess hand writing and brush strokes haven't quite left my mind since the other day, and so I find myself revisiting Oekaki, I knew that I could use that little trick from monday to approximate distance between points, and connected it to the brush tool to add a quick and dirty natural line thickness.
rabbits.srht.site/decadv/
#DecemberAdventure

Squiggles drawn in oekaki and its source code.
Devine Lu Linvega replied to Devine Lu Linvega

I was helping a friend with their toy scheme compiler last night and we got talking again about SECD, and to help explain the thing, I started putting together a base implementation of the abstract machine's runtime so we could target it with their compiler. It has been a long time since I played with SECD so I've updated the lisp documentation on the XXIIVV wiki with a couple of notes of things I had forgotten.
rabbits.srht.site/decadv/
#DecemberAdventure

SECD opcode implementation in Left.
Devine Lu Linvega replied to Devine Lu Linvega

Finished preparing the SECD runtime, I've been wondering if there ever were other functional languages designed to target it besides Pure Lisp(Lispkit), I looked around a bit but I couldn't find any. I noticed there was very little documentation out there on it, so I've started a page of my own. I think I might expand the self-hosted compiler to support line comments and the 'quote expression, because in its current state it's a bit of a pain to use.
rabbits.srht.site/decadv/
#DecemberAdventure

PureLisp and SECD machine encode side-by-side.
Thomasorus replied to Devine Lu Linvega

@neauoire can I have this wallpaper please? 👉👈

Devine Lu Linvega replied to Thomasorus

@thomasorus look for "cibo lain" and you'll find it :)

Devine Lu Linvega replied to Devine Lu Linvega

Wrote very little code today, I closed Henderson's "Application and Implementation", and reopened SICP.. I felt like I needed a refresher of the last chapters(esp. the one about a LISP implementation). So yeah, today was drinking lots of tea, scrolling up and down the wizard pdf, maybe I should get the actual book at some point..
rabbits.srht.site/decadv/
#DecemberAdventure

Porporo desktop but there's a picture of Joshiraku reading SCIP on top.
Morgan Arnold replied to Devine Lu Linvega

@neauoire ah, i've been reading sicp on and off for the last while. it's a really cute little book. i feel like every time i look at it i gain a deeper appreciation for scheme

Kototama replied to Devine Lu Linvega

@neauoire do you have the physical version of it? I wanted to find a second hand copy but it's hard to find or almost as expensive as new

Devine Lu Linvega replied to Kiëd

@unlkfp I'm not sure, manhattan? The code is on the page

Kiëd Llaentenn replied to Devine Lu Linvega

@neauoire Just saw it now. It's really interesting, I don't think I've ever seen it before; at a cursory glance it doesn't seem to be equivalent to either manhattan or chebyshev?

(Manhattan is dx+dy, Chebyshev is max(dx,dy), and yours seems to be max(dx,dy)+min(dx,dy)/2, if I'm reading it correctly.)

I should play around with it a bit and do some comparisons.

Go Up