CMAM 30/Minute Proof of Concept 4 Layer 4 Segments
By Graywald.
I tried to make a CMAM with a whooping 30/minute shape output its slow and was just made as a proof of concept.
Instead of trying to use it I’ll try to explain the logic behind it, but basically inputs are Star Circle Diamond Rectangle Pins repeat it 4 times but it shouldn’t break anything if they are switched up. At the end Red Green Blue where it does matter for colour checking.
The way it works is that it always takes a 3/4 shape of any kind as a way to assist.
Then in that empty part it either just stacks the coloured missing segment or pin and if it is a crystal then it sends it to colour it in.
Then we have a check if there is another layer above it at all if there is not we just send it away to the end but if there is another layer we stack on top another assisting shape.
Then we repeat this process until 4 layers is reached or there is no layer at one point. At the end we simply rotate the shapes and use the swappers with all the 4 segments made.
There is a bit of logic behind the layers as well as we need to know how many layers there are since unstacking 2 layers or 4 layers would always output their top layer to the left so I made some checks for how many layers exist so the layers always end up in the correct order with the 1st layer it searches for the first not null occurance of a shape signal for the second the second etc.
There might still be issues with it as it generates slowly so hard to test, but so far I have tried a few different shapes and it seems to work but do let me know if some cases do not work or you see a flaw in my approach.
- Google Drive Link (98 Kb).
Click to enlarge…
Be the first to comment