Basic Parts Tutorial #11: Add/Sub/Dist Wraps & Jumper, Debugger

zardOz2 - Custom level - from Android
PlayEdit5 players liked this.Log in to like this level.

zardOz's Principia Tutorials #11

Need help? This example shows the basic function of the Addwrap, Subwrap, Distwrap and Jumpers with Debuggers.

The Addwraps take the two input values 0.0-1.0 and add them together, the total is "wrapped" back to 0.0 for anything that is over 1.0... (1.0+0.9 = 0.9)

The Subwraps subtract the values, if the result is below 0.0 it wraps back to 1.0 (0.9-1.0 = 0.9)

The Distwraps take the lower of the two possibilities above marking the minimum distance between the two numbers, they have a max output of 0.5.

Jumpers are very handy, they can be preset to output a smooth signal from 0.0 to 1.0, which can then be modified if needed. The Debugger is similar to the Grapher in that it helps visualize signal strength, the idea is that it will flash of the signal is not pure, letting you know if something needs to be "debugged"

Open in Sandbox to robot/dummy war on this since I ruined it already:)

Views: 1656 Downloads: 473 Unique objects: 12 Total objects: 118

Discuss this level

Log in to comment on this level.
  • Leis: @zardOz: After seeing this...I was...
    Well whr to put them to use in building?
  • zardOz2: Note: my OCD Lite wont let me remove the ? fromm the sticky notes at the bottom, cant have my #ed levels all mixed up on the list:)
  • zardOz2: @pajlada: hehe, yeah I know the feeling(Ill send you a PM about it;)
  • pajlada: @zardOz: lol then I looked pretty stupid putting my phone to my ear this morning
  • zardOz2: I think you might be half right jim, though they appear to be perrpetualized.. I was able to stop the movement, what are the chances that all 6 would be out of position for the same effect! I had no trouble balancing them earlier, threw me for a loop... also the "noise" I was refering to was the signal noise not an actual noise:)
  • Alfajim: I think the movement of the arms on the motors is just an effect of gravity. They are rotating freely, the motors aren't moving them. If you ofset the arms so one end is heavier that end will just hang down. :)
  • pajlada: The floor and ceil are rounding functions, they don't always create an output of 0.0 and 1.0 respectively.
    Floor: Any raw signal other than 1.0 is treated as 0.0
    Ceil: Any raw signal other than 0.0 is treated as 1.0
    You're sending 0.0 into them, so they both output 0.0
    If you had sent 0.1 floor would still output 0.0 and ceil would output 1.0

    The noises I don't know, I couldn't hear them on my PC version but I'll try the mobile version later
  • rich11292000:
    I see what your saying but don't know what's happining. Sdac or pajlada?
  • zardOz2: Just on the off chance this can be recreated in RL, I'm naming this the Principia Sine-Wrap Effect! Probably just a cool glitch;)
  • zardOz2: I may have ripped a hole in the STC, a mini-black hole was formed by this.