Jump to content


TangentDelta's Content

There have been 22 items by TangentDelta (Search limited from 30-March 23)


By content type

See this member's

Sort by                Order  

#49874 How/why do you use computercraft?

Posted by TangentDelta on 14 November 2012 - 08:47 AM in General

Just a simple poll so that I can grab some statistical information on the subject. Please answer both questions above. If your reason isn't listed above, please include it below.



#46195 Custom Music on floppies?

Posted by TangentDelta on 31 October 2012 - 04:01 PM in Ask a Pro

You can create a program that plays music using noteblocks, and save it to a disk.



#45316 [WIP] 3DDrawer - 3D in CC!

Posted by TangentDelta on 28 October 2012 - 04:54 PM in Programs

So this just draws layers of a 3D object?



#44075 [1.4.6]AutomaPaint 1.1.1 (Turn computers into integrated circuits!))

Posted by TangentDelta on 25 October 2012 - 12:50 AM in Programs

I have two more things left on my todo list for 1.1.2. If I have time tomorrow, I'll work on finishing up the new rule editor and rule reader.



#43308 [1.4.6]AutomaPaint 1.1.1 (Turn computers into integrated circuits!))

Posted by TangentDelta on 22 October 2012 - 08:46 PM in Programs

Sorry for the long time since and update. Work on 1.1.1 has been rather slow, since I feel like I'm sick with something.



#42016 [1.4.6]AutomaPaint 1.1.1 (Turn computers into integrated circuits!))

Posted by TangentDelta on 19 October 2012 - 10:27 AM in Programs

View Postbillysback, on 18 October 2012 - 06:27 PM, said:

Yes, I try clicking the buttons, above and below them as well as on them and nothing happens...

I bet you're using an older version of CC 1.45. You have to use pre-3, no other version will work.

Either that, or you're using an older version of AutomaPaint, and a newer version of 1.45.



#41744 [1.4.6]AutomaPaint 1.1.1 (Turn computers into integrated circuits!))

Posted by TangentDelta on 18 October 2012 - 06:14 PM in Programs

View Postbillysback, on 18 October 2012 - 04:36 PM, said:

The buttons don't seem to be working for me...
Are you using it on an advanced monitor?



#41665 [1.4.6]AutomaPaint 1.1.1 (Turn computers into integrated circuits!))

Posted by TangentDelta on 18 October 2012 - 04:13 PM in Programs

View Postbillysback, on 18 October 2012 - 06:55 AM, said:

Could you create an example GIF/video of this in action? It would probably increase interest after they see what and how the lab part works.
I was planning on doing that. Maybe once I release V. 1.1.



#41465 [1.4.6]AutomaPaint 1.1.1 (Turn computers into integrated circuits!))

Posted by TangentDelta on 18 October 2012 - 12:05 AM in Programs

I think my program is the first one to include a "line" tool! The math in that thing is insane!



#40999 [1.4.6]AutomaPaint 1.1.1 (Turn computers into integrated circuits!))

Posted by TangentDelta on 16 October 2012 - 08:50 PM in Programs

Development is progressing in leaps and bounds! The next version will hopefully add support for massive rules, like the JvN rule, which has a whopping 30 different states!

All old saves won't work with the current 1.0.5 version. To make them compatible, open them up, and where it has the width and height, put a "|" after that number, followed by the same exact number. Sorry for this inconvenience!



#40674 [1.4.6]AutomaPaint 1.1.1 (Turn computers into integrated circuits!))

Posted by TangentDelta on 15 October 2012 - 09:03 PM in Programs

Sorry for the rather rushed/sloppy job on this post, I wasn't paying attention to time and had to quickly leave!



#40635 [1.4.6]AutomaPaint 1.1.1 (Turn computers into integrated circuits!))

Posted by TangentDelta on 15 October 2012 - 07:18 PM in Programs

Posted Image

Welcome to AutomaPaint! A 2D cellular automaton lab, the first ever for ComputerCraft!

Created as a spiritual successor to TangentAutomaton (a one-dimensional cellular automaton lab), AutomaPaint offers many of the same features as its predecessor! A custom starting generation, custom rules, and a re-sizable environment!

Posted ImageFEATURESPosted Image
Spoiler

Posted ImageTHE RULE SYSTEMPosted Image
Spoiler

New in version 1.1.1:
To use the redstone output system, have the resulting state be a "@". Depending on what side of the cell that is reciving contact, a redstone signal will be emitted. An example use of this symbol, for use in wireworld, is "4>@|1234-1". The "turn from" value is simply the state that the "sensor" will use when placed down. It will emit a redstone signal if it is surrounded by 1, 2, 3, or 4 cells with the state of 1.

The side of the computer that the redsotne will be emitted from is dependent on what side of the cell was "collided" with. Contact with the bottom of the cell will output a redstone signal on the bottom of the computer, contact with the right side of the cell with output the the right side of the computer, etc.

Sensing of what side the cell was "interacted" with is the first step towards the JvN neighborhood, which should be implemented within the next 5 versions.

Posted ImageCHANGE LOGPosted Image
Spoiler

Posted ImageKNOWN BUGSPosted Image
Spoiler

Posted ImageNEXT VERSIONPosted Image
Spoiler

Posted ImagePLANNED FEATURESPosted Image
Spoiler

Download should be at the bottom of this post. Install it just like any other computercraft script! I apologize for the messy code. As development continues, so will the code's neatness. Messy code is a sign of development!

Please report all bugs in this topic!

Download: https://dl.dropbox.c...42/TangentPaint



#38808 One-Dimensional Cellular Automaton

Posted by TangentDelta on 10 October 2012 - 08:15 PM in Programs

View PostCranium, on 10 October 2012 - 03:55 PM, said:

So you have to use a binary 1/0 input for the seed? I think you should add a binary generator based on the input the user adds. It would automatically convert any string into binary data, and convert numbers as well.
In my program, look at "dectobin", it does just that. How else do I decode the decimal rules? :P/>



#38407 One-Dimensional Cellular Automaton

Posted by TangentDelta on 09 October 2012 - 06:02 PM in Programs

I fixed/tweaked quite a few things, making 1.4 hundreds of times better than 1.3.1. Generating massive automatons should also be alot faster now, and cause no lag at all.

The turing function is now 100% my code, and should run two times as fast as before.



#38306 Help! unknown error happened

Posted by TangentDelta on 09 October 2012 - 11:48 AM in Ask a Pro

It appears as if you don't have xtrav define previously. Stick "xtrav=0" near the top where the other variables are defined.



#38132 One-Dimensional Cellular Automaton

Posted by TangentDelta on 08 October 2012 - 07:13 PM in Programs

Darn, why do I keep calling variables before I define them? Updated.



#38125 One-Dimensional Cellular Automaton

Posted by TangentDelta on 08 October 2012 - 06:59 PM in Programs

Found a bug. If you input a width over 64, it overflows. I'll have to see why that is. Expect a patched version soon.



#38103 One-Dimensional Cellular Automaton

Posted by TangentDelta on 08 October 2012 - 06:01 PM in Programs

View PostCranium, on 08 October 2012 - 05:26 PM, said:

Sounds....neat, but what practical application does this have? I'm not up to speed in advanced computations such as this...
1-dimensional CA are used in things like data encryption, plus they look really cool!

View Postjag_e_nummer_ett, on 08 October 2012 - 05:26 PM, said:

So you did the first lock, huh?
I didn't make the first lock for CC, but my lock was one of the first to be publicly availible.



#38083 One-Dimensional Cellular Automaton

Posted by TangentDelta on 08 October 2012 - 05:06 PM in Programs

Greetings. I'm TangentDelta, one of the most active users on the IRC channel, and one of the original users of Computercraft!

Many of you might know me for my "TangentLock" program, one of the first public lock programs for ComputerCraft.

Today I have a very special program for you, a one-dimensional cellular automaton. What is a cellular automaton? It is basically a simple turing machine that manipulates bits according to a set of rules. To read more, visit the Wikipedia page here.

One-dimensional CA are used in the modern world for things like advanced programming algorithms, data encryption, artificial creativity, probability, sudo-random number generation, and abstract artwork.

This project was more of a fun relaxing thing for me to do in-between college classes. While working on it, I also put alot of effort into making it an educational script to help people better understand Lua. Nearly every line has a comment explaining what it does.

This program was completely coded within SciTE. The only actual computercraft testing that went on, was by Cruor on the IRC.




To use my program, install it like any other computercraft program. When you start it, it will ask you for a width. The width will define how large the environment for the CA will be. I recommend entering a number within the 2^n string, but anything will work. Make sure that your width isn't too small, or you won't see anything. Too large, and you'll run out of space on the computer screen. The bigger the width, the longer it will also take for the automaton to complete.

The next prompt will ask you for a rule. The rule is an 8-bit (numbers 0-255) decimal number, and corrosponds to Wolfram's code. To learn how these rules work, I highly recommend visiting the wikipedia link above. If you're lazy, you can look at a large list of interesting rules here.

After that's set up, you'll be asked if you want to enter a custom seed. In programming, a seed is a set of predetermined data that a program acts upon. If you choose to enter a seed by typing "y", enter the starting pattern in 1's and 0's (I'm unsure of what happens if you use anything else).

If you choose not to use a custom seed, you'll be asked if you want to use a random seed. If you choose yes to this, a random beginning seed will be generated and used.

If you don't choose to use a custom or random seed, the default seed will be chosen. The default seed is a single "on" cell in the middle of the starting seed. This seed usually generates triangular structures with very little chaos (with the exception of rule 110).

Once you've done all of that, the automaton will begin generating patterns based on your input. If the width is too wide, it might wrap around and distort, which is why smaller numbers are recommended for the width. If you're having a hard time with choosing a width, go with a width of 64.

My script can be found here: http://pastebin.com/Ru3nfViz

Change-log:
Spoiler

Screenshots:
Spoiler



#35063 Dan200 Quotes and rumors!

Posted by TangentDelta on 28 September 2012 - 04:53 PM in General

LOL What the heck is this?



#753 How To Install On Windows [Video]

Posted by TangentDelta on 19 February 2012 - 01:35 PM in Tutorials

Oh, and since this is an installation vid, any chance to sticky it so it doesn't get burried?



#752 How To Install On Windows [Video]

Posted by TangentDelta on 19 February 2012 - 01:33 PM in Tutorials



Just an update on my install video. I should make a better one using the new Win. 7 PC I got... before I put linux on it.