Search found 70 matches

by [object Object]
Thu Jul 25, 2024 10:05 pm
Forum: Akashic Records
Topic: Counter's Purification
Replies: 5
Views: 4092

Re: Counter's Purification

This will fail if there's anything else on the stack. I published two macros more than a year ago that do the same thing with Running Sum Purification but without such issues or side effects.
by [object Object]
Tue Jul 09, 2024 10:26 pm
Forum: Akashic Records
Topic: Mouse Input & Relative Pitch/Yaw
Replies: 1
Views: 9062

Macula Mouse Cursor

This hex is a proof-of-concept for using Mouse Input to draw a mouse cursor on Mediaworks' Macula. Required macros: Mouse Input, Minimization Distillation Video demo [pat=qqq dir=w] [pat=awawa dir=w][pat=aaddaddad dir=e][pat=qqq dir=w] [pat=aqdee dir=sw][pat=d dir=e] [pat=eee dir=e][pat=qwaeawq dir=...
by [object Object]
Tue Jul 09, 2024 9:07 pm
Forum: Akashic Records
Topic: Mouse Input & Relative Pitch/Yaw
Replies: 1
Views: 9062

Mouse Input & Relative Pitch/Yaw

This is a set of macros and hexes that demonstrate a technique for implementing 2D mouse input in Hex Casting. It works by getting the relative pitch/yaw between the player's current look direction and a known reference direction. Mouse movement in Minecraft directly affects the pitch (y) and yaw (x...
by [object Object]
Tue Jul 09, 2024 8:37 pm
Forum: Akashic Records
Topic: Macro Megathread
Replies: 46
Views: 47528

Vector Angles

Theta Distillation vec1, vec2 → angle Returns the unsigned angle (in radians) between two vectors. [pat=awddeeeeeqa dir=nw] [pat=qqq dir=w] [pat=aadadaaw dir=e][pat=waqaw dir=se][pat=ddqdd dir=ne][pat=wqaqw dir=ne][pat=aawdd dir=e][pat=wqaqw dir=ne][pat=waqaw dir=se][pat=wdedw dir=ne][pat=adeeeee d...
by [object Object]
Sat May 11, 2024 10:58 pm
Forum: Akashic Records
Topic: Circle Constructor
Replies: 0
Views: 7348

Circle Constructor

This hex allows you to build a circle on the fly by drawing patterns with your staff. When the wisp summoned by the hex receives a pattern iota over a link, it moves one block in the direction you're looking (if necessary), then writes and places a slate. This works very well in combination with Ope...
by [object Object]
Fri Jan 12, 2024 6:54 pm
Forum: Akashic Records
Topic: Heaps
Replies: 0
Views: 8058

Heaps

Heaps This is a set of macros that can be used to implement "heap memory" in Hex Casting - a system that allows random access to integer memory addresses within a cube of in-world focuses. Requires Hex Gloop, or any other mod that allows you to fit one focus per block (ie. not item frames...
by [object Object]
Sat Jan 06, 2024 10:22 pm
Forum: Akashic Records
Topic: Splicing Table
Replies: 0
Views: 8321

Splicing Table

Splicing Table This is a ComputerCraft program that implement an ingame "hex editing" tool. This is meant to make writing hexes without external tools more feasible/enjoyable. The contents of the list are displayed by sending them to a wisp and revealing them with Gloop. It includes a bun...
by [object Object]
Sat Jan 06, 2024 2:05 am
Forum: Akashic Records
Topic: Macro Megathread
Replies: 46
Views: 47528

Inverse Tangent Distillation

Inverse Tangent Distillation num, num → num Implements atan2() (specifically the "variant [...] that avoids [the] inflated rounding errors" on this page ). Kristi Fristi posted a similar macro in this thread a while ago, but this version takes 12 fewer patterns and actually works. Note: a...
by [object Object]
Sat Dec 09, 2023 8:49 pm
Forum: Akashic Records
Topic: Conway's Game of Life
Replies: 0
Views: 8410

Conway's Game of Life

Implements Conway's Game of Life (lmao). This hex summons a wisp that runs one step of the game every 4 ticks (adjust by replacing the number literal at index 1). It clears the previous step just before the next iteration by making a bunch of lines behind the grid to hit the particle limit - that's ...
by [object Object]
Sat Dec 09, 2023 8:42 pm
Forum: Akashic Records
Topic: Macro Megathread
Replies: 46
Views: 47528

Toroidal Selection Gambit

Toroidal Selection Gambit [any], num → any, any, any Selects the iotas before, at, and after the given index. Wraps around at the edges. [pat=qaeaqweeeee dir=nw] [pat=qqq dir=w] [pat=aadadaaw dir=e][pat=aqaaw dir=se][pat=wddw dir=nw][pat=aaedd dir=e][pat=aqaeaq dir=e][pat=ddqaa dir=e][pat=waaw dir=...