box
Posted: Fri Jan 13, 2023 8:04 pm
this hex takes a vector(x,y,z), and returns a list of vectors representing every block within a cuboid of size x+1 by y+1 by z+1
e.g. (1,1,1) would become [(0,0,0),(0,0,1),(0,1,0),(0,1,1),(1,0,0),(1,0,1),(1,1,0),(1,1,1)] (the 8 blocks of a 2*2*2 cube)
since every block added is one evaluation, as well as only working on vectors with exclusively positive components, it's use is for generating large lists of offsets
that can then be hardcoded into other spells.
e.g. (1,1,1) would become [(0,0,0),(0,0,1),(0,1,0),(0,1,1),(1,0,0),(1,0,1),(1,1,0),(1,1,1)] (the 8 blocks of a 2*2*2 cube)
since every block added is one evaluation, as well as only working on vectors with exclusively positive components, it's use is for generating large lists of offsets
that can then be hardcoded into other spells.
Code: Select all
vec --> list
//generates a list of vectors representing every block in a box from (0,0,0) to vec
//only useful while manually generating, can't handle negative numbers
{
Bookkeeper's Gambit: v
Muninn's Reflection
Numerical Reflection: 4
Gemini's Gambit
Flock's Disintegration //lists, [z, y, x, num], z, y, x, num
Bookkeeper's Gambit: vv-- //lists, x, index
Jester's Gambit
Modulus Distillation //lists, x'
Jester's Gambit
Flock's Disintegration
Bookkeeper's Gambit: v--- //lists, x', y, x, num
Jester's Gambit
Division Distillation
Floor Purification //lists, x' y, num/x
Jester's Gambit
Modulus Distillation //lists, x' y'
Rotation Gambit
Flock's Disintegration //list, x', y', z, y, x, num
Rotation Gambit II
Multiplicative Distillation //list, x', y', z, num, y*x
Division Distillation
Floor Purification
Jester's Gambit
Modulus Distillation
Vector Exaltation
Jester's Gambit
Gemini Decomposition
Numerical Reflection: 3
Selection Distillation
Numerical Reflection: 1
Additive Distillation
Numerical Reflection: 3
Jester's Gambit
Surgeon's Exaltation
Huginn's Gambit
}
Jester's Gambit
Numerical Reflection: 1
Additive Distillation
Gemini Decomposition
Vector Disintegration
Numerical Reflection: 3
Flock's Gambit //[x, y, z]
Retrograde Purification //[z, y, x]
Numerical Reflection: 0
Integration Distillation //list, vec, [z, y, x, 0]
Huginn's Gambit
Vector Disintegration
Multiplicative Distillation
Multiplicative Distillation
Gemini Decomposition
Gemini's Gambit
Gemini Decomposition
Flock's Gambit
Thoth's Gambit