Log In  
Follow
eigenbom

Cart #geo2d_examples-0 | 2025-02-03 | Embed ▽ | No License
8

I've just released Geo2D, a Lua library with 100's of functions for 2D computational geometry. The repo also includes a picotron compatible version: https://github.com/eigenbom/lua-geo2d. This cart demonstrates some of the features, like closest point, aabb operations, polygon triangulation, etc. Enjoy!

(In browser press 'x' to skip to next demo, or 'z' to reseed the current demo.)

8
2 comments



In 0.1.1d there's no table.sort function. Intended?

1
3 comments



I'm on v0.1.1d and noticed this program doesn't draw anything. circfill otoh seems to work okay without a color param.

function _draw()
	cls(0)
	color(7)
	circ(200, 100, 50)
end
1
7 comments



Cart #eigenbom_raycaster-1 | 2025-01-09 | Embed ▽ | No License
8

Here's a basic raycaster I hacked together. It uses the map editor and renders sprites as walls. It's nothing serious but I've been having fun with picotron during my holiday break.

8
2 comments



Cart #eigenbom_ray-0 | 2024-04-01 | Embed ▽ | No License
14

Here's a simple raytracer for my first picotron cart. Just playing around and runs at about 1fps.

To run locally: load #eigenbom_ray

14
6 comments



A silly face generator. By me.

Cart #10173 | 2015-04-24 | Code ▽ | Embed ▽ | No License
4

4
0 comments