You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server
Administration Center

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Unicorn

#1
Web / Holiday Vault
March 24, 2018, 09:21:25 AM
So I made this thing for a cemetech contest.

Its a website where people can submit their holiday ideas and how to do them. They will use markdown to describe everything, or post links to existing guides or lists of ideas.

The backend is in NodeJS and using Express and the Handlebars templating engine. I guess suggestions would be cool!

https://cc21.mogdan.xyz


#2
Gaming / Unicorn's Retro Console
November 03, 2016, 05:52:42 AM
Hey everyone! I recently got a lattepanda and created a case for it. I've been thinking about what to do with it, and I've decided to make a Retro Console! So I have a couple questions that I hope you guys can help with ;)

1. What are the best emulators? I'm open to any OS. Being able to scale up on a tv would be great, and support for keyboard would also be nice.

2. What controller should I get? I've looked around, and I'm gonna buy this one for myself, but for friends and family I would like to buy some cheaper ones. So far I found SNES controllers, 2 for 16 bucks, but @DJ Omnimaga told me that the N64 needs more buttons, so that is a problem. So preferable less than 20 dollars for 2 controllers that will work with most, if not all popular emulators.

3. Will I be able to also run atari games with those controllers?

Is there anything else I should know or ask?

Thanks in advance!
#3
I've found that we need a program to convert BBCode (The formatting that the forum uses) to Wiki Markup (The formatting that most of the community wikis use). It will make it easy to bring tutorials written on the forum into the wiki.

I will be using Ruby to write it, with Shoesfor a gui. It will not support images, tables, lists, fonts, and colors right away, if ever. It will definitely support code, bold, italics, underlines, and urls.

The one problem I have is figuring out how to distribute it. Using Ocra, the gem that lets you package your script into a .exe file doesn't quite work, and I'm unsure how I would be able to host it online.

Here's an example that uses all of the converted functions:

BBCtoWiki Example

Wassup! This is an example![/b]
Strike this text, it makes no sense!
And don't forget an image!

Lets indent this code, as well!
    codecodecode codecodecode codecodecode
    codecodecode codecodecode
    codecodecode
    codecodecode
    codecodecode codecodecode codecodecode

    ---------------------------------------------------------------------
    That was the post, here's the BBC:

    [size=24]BBCtoWiki Example[/size]

    [i]Wassup! [b]This is an example![/i][/b]
    [s]Strike this text, it makes no sense![/s]
    [size=12]And don't forget an image![/size]
    [img]https://codewalr.us/Themes/CodeWalrus/images/english/smflogo.png[/img]
    Lets indent this code, as well!
    [list][code]codecodecode codecodecode codecodecode
    codecodecode codecodecode
    codecodecode
    codecodecode
    codecodecode codecodecode codecodecode

    [/list][/code]
    -------------------------------------------------------------------
    And here is the Wiki Markup:

    == BBCtoWiki Example ======

    ''Wassup! ''''This is an example!'''''
    <strike>Strike this text, it makes no sense!</strike>
    ==== And don't forget an image! ======
    https://codewalr.us/Themes/CodeWalrus/images/english/smflogo.png
    Lets indent this code, as well!
    <blockquote><pre>codecodecode codecodecode codecodecode
    codecodecode codecodecode
    codecodecode
    codecodecode
    codecodecode codecodecode codecodecode
    </pre>
    </blockquote>

    ----------------------------------------------
    Go here to see an example of the Wiki Markup: https://www.cemetech.net/learn/Bbcodeconvertexample
    #4
    Media Talk / Post Your Photos!
    June 03, 2016, 09:32:15 PM
    So yeah, post your photos here! I'll start us off with some bird photography I got in Costa Rica!


    A toucan....


    Rufous tailed hummingbird...


    And a "wild turkey" with some weird lighting


    I'm hoping to get some better pictures of hummingbirds, heading to cloud forest now, but I will definitely be getting a lot of monkeys!
    #5
    Gaming / Survival Modded Server [BTW]
    May 07, 2016, 11:13:52 PM
    Hey everyone! At the urging of @Strontium I took my computer  turned server that I had lying around, and created a modded survival server. The only mod is Better Than Wolves, google it!

    If you want to join us, the ip is  Unicorn.noip.me and you need to install BTW. Check out this tutorial, it worked for me! http://www.sargunster.com/btwforum/viewtopic.php?f=9&t=8506

    So yeah, join us! If you can't connect, the power went out, or the internet died. Just wait a few hours, or PM me, and I should have it back up!
    #6
    Web / Codewalrus USerstyle
    May 04, 2016, 04:48:13 AM
    Hey Everyone! I had been converting all of the websites I used to a sort of galaxy themeing, and I decided ot make a Codewalrus one!

    Here's the link to it, though the forums look kinda bad, if you check it out. https://userstyles.org/styles/127443/codewalr-us-galaxy-theme



    If anyone wants a different background or just something different, let me know, I may make one for you!
    #7
    Randomness / Weird "lightbulb"moments.
    March 03, 2016, 07:21:38 AM
    Just post those times were you realize something, and it probably is a coincedence, is not at all related to anything, but is still amazing.

    When I was in history class the other day, we were talking about the 5 "civilized" tribes in north america. A moment later, I was thinking about what I am going todo to conquer the world in Civ 5. I realized the connection, and my mind was blown. Is the game some protest against the trail of tears? there is the brave newworld scenarios... :P
    #8
    Hardware / Unicorn's Arduino Explorations
    February 21, 2016, 10:46:55 PM
    Hey! So I just recently got myself an arduino mega, an ethernet shield, and a 2.8" LCD TFT Capacitive touch breakout board from adafruit. This is were I'll be posting about my adventures and questions with and about these items.

    I also want to know, are there any good, simple calc modding things that I could do with an arduino? I do have the 83+ SE for its spacious case.

    So the first thing I did:
    I created CircleIt on the Arduino using my Adafruit LCD.

    Video:



    #include <Adafruit_GFX.h>    // Core graphics library
    #include <SPI.h>       // this is needed for display
    #include <Adafruit_ILI9341.h>
    #include <Wire.h>      // this is needed for FT6206
    #include <Adafruit_FT6206.h>
    // The FT6206 uses hardware I2C (SCL/SDA)
    Adafruit_FT6206 ctp = Adafruit_FT6206();
    // The display also uses hardware SPI, plus #9 & #10
    #define TFT_CS 10
    #define TFT_DC 9
    Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);
    int oldcolor, currentcolor;
    int radius = 65;
    int score;
    int highscore;

    void setup(void) {
      while (!Serial);     // used for leonardo debugging

      Serial.begin(115200);
      Serial.println(F("Cap Touch Paint!"));

      tft.begin();

      if (! ctp.begin(40)) {  // pass in 'sensitivity' coefficient
        Serial.println("Couldn't start FT6206 touchscreen controller");
        while (1);
      }

      Serial.println("Capacitive touchscreen started");

      tft.fillScreen(ILI9341_BLACK);
      tft.setCursor(27,130);
      tft.setTextSize(4);
      tft.setTextColor(ILI9341_PINK);
      tft.print("CircleIt");
      tft.setCursor(27,165);
      tft.setTextSize(2);
      tft.setTextColor(ILI9341_GREEN);
      tft.print("Highscore: ");
      tft.print(highscore);
      while (1) {
        if (ctp.touched()){
          tft.fillScreen(ILI9341_BLACK);
          tft.fillCircle(120,166,50,ILI9341_PINK);
          tft.drawCircle(120,166,51,ILI9341_BLUE);
          tft.drawCircle(120,166,52,ILI9341_BLUE);
          tft.drawCircle(120,166,53,ILI9341_BLUE);
          tft.drawCircle(120,166,54,ILI9341_BLUE);
          tft.drawCircle(120,166,55,ILI9341_BLUE);
          tft.setTextSize(2);
          tft.setTextColor(ILI9341_GREEN);
          tft.setCursor(1,1);
          tft.fillRect(1,1,100,15,ILI9341_BLACK);
          tft.print("Score: ");
          tft.print(score);
          return;
        }
      }
    }

    void loop() {
      // Retrieve a point 
      TS_Point p = ctp.getPoint();
      // flip it around to match the screen.
      p.x = map(p.x, 0, 240, 240, 0);
      p.y = map(p.y, 0, 320, 320, 0);
      Serial.print("(");
      Serial.print(p.x);
      Serial.print(", ");
      Serial.print(p.y);
      Serial.println(")");
      tft.drawCircle(120,166,radius,ILI9341_YELLOW);
      if (radius <= 50){
        tft.drawCircle(120,166,radius,ILI9341_PINK);
      }
      if (radius > 50 && radius <= 55){
        tft.drawCircle(120,166,radius,ILI9341_BLUE);
      }
      if (radius > 55){
        tft.drawCircle(120,166,radius,ILI9341_BLACK);
      }
      if (ctp.touched() && radius <= 50 || ctp.touched() && radius > 55) {
        if (score > highscore)
          highscore = score;
        tft.fillScreen(ILI9341_BLACK);
        tft.setTextSize(2);
        tft.setTextColor(ILI9341_WHITE);
        tft.setCursor(1,1);
        tft.println("GAME OVER");
        tft.setTextColor(ILI9341_ORANGE);
        tft.println("tap to play again.");
        tft.setCursor(1,37);
        tft.setTextColor(ILI9341_GREEN);
        tft.print("Highscore: ");
        tft.print(highscore);
        tft.setTextColor(ILI9341_PURPLE);
        tft.setCursor(1,53);
        tft.print("Score: ");
        tft.println(score);
        score = 0;
        while (1) {
          if (ctp.touched()){
            radius = 65;
            tft.fillScreen(ILI9341_BLACK);
            tft.fillCircle(120,166,50,ILI9341_PINK);
            tft.drawCircle(120,166,51,ILI9341_BLUE);
            tft.drawCircle(120,166,52,ILI9341_BLUE);
            tft.drawCircle(120,166,53,ILI9341_BLUE);
            tft.drawCircle(120,166,54,ILI9341_BLUE);
            tft.drawCircle(120,166,55,ILI9341_BLUE);
            tft.setTextSize(2);
            tft.setTextColor(ILI9341_GREEN);
            tft.setCursor(1,1);
            tft.fillRect(1,1,100,15,ILI9341_BLACK);
            tft.print("Score: ");
            tft.print(score);
            return;
          }
        }
      }
      if (ctp.touched() && radius <= 55 || ctp.touched() && radius > 50) {
        score++;
        tft.setTextSize(2);
        tft.setTextColor(ILI9341_GREEN);
        tft.setCursor(1,1);
        tft.fillRect(1,1,100,15,ILI9341_BLACK);
        tft.print("Score: ");
        tft.print(score);
      }
      radius--;
      radius--;
      radius--;
      if (radius <= 1){
        radius = 65;
      }
    }


    Its great fun, and I'm thinking about what to do next with these things. :)


    Oh yeah, I got a hc-05 Bluetooth module from my robotics teacher and got that working with an arduino using the arduino IDE's built in serial port.
    I decided to make it a little more fancy and create a ruby program to interface with it. But, I got a permissions error of some sort when trying to interface with the Bluetooth. But, when trying to interface with an arduino everything worked fine. I asked about it here: http://stackoverflow.com/questions/35190016/bluetooth-serial-port-permission-error-errnoeacces-ruby-serialport-gem
    #9
    General Help / Which ODROID to get?
    August 13, 2015, 12:28:44 AM
    So, I've been researching things like the Rpi 2 and ODROID mini computers, and I've come to a decision. I want to get an ODROID.  I want to use the ODROID to run a minecraft server, for at least 8 people at a time.

    So there is the ODROID C1+, for 35 dollars 1gb or ram. http://www.hardkernel.com/main/products/prdt_info.php?g_code=G143703355573

    Then, there is the ODROID XU4, for 77 dollars with 2 Gb of ram. http://www.hardkernel.com/main/products/prdt_info.php?g_code=G143452239825

    Which one should I get? Is the price difference worth the ram and things? Keep in mind I want to run a survival minecraft server.
    #10
    SO, this is where you can post requests for any type of pixel art. (Just not NSFW)  :thumbsup:

    So yeah, I have a request:
    Can anyone try to make some 8x8 dice for my Game Of Pig game that would work in a .gif like this one?
    LARGE .GIF


    I'll then convert it to a .png and put it in my spritesheet:
    #11
    So, I decided to make a question/display thread about ruby. I am currently trying to make a guessing game, sticking with the first game I made in TI-BASIC :P

    Anyways, I'll ask questions here and showcase my programs, and maybe post downloads. :)

    EDIT: A little input and display program:

    Code (Input/Display) Select

    while 1
    puts 'Type whatever you want here!'
    text = gets.chomp
    puts text
    if text == 'Quit'
        abort
    end
    end


    Also, a guessing game :)
    If you have ruby installed, run the attached file.
    Else, install it :P

    guess = 10000
    puts 'Guess a number from 0 to 50!'
    number = rand(50)
    while guess > 0
      guess = gets.to_i
      if guess == number
        puts 'Great job! You guessed the number!'
        abort
      elsif guess > number
        puts 'That is not the right number.'
        puts 'Try again, with a LOWER number'
      elsif guess < number
        puts 'That is not the right number.'
        puts 'Try again, with a HIGHER number'
      end
    end
    #12
    Other / Why your avatar?
    June 10, 2015, 03:15:36 AM
    So, why your avatar everyone?

    Mine because Harpo Marx is the best silent comedian in the world.

    I also thought that is was time for a change from my awesome unicorn avatar. :P
    #13
    Hardware / Macintosh PowerBook 190cs [Fix?]
    June 05, 2015, 05:00:23 AM
    Well, I just acquired a Macintosh PowerBook 190cs. It seems like the place where the power cord is plugged in is not connected well enough. When wiggling the connection around, the screen occasionally flashes yellow.

    Anyways, I was thinking, could this be fixed? I'm going to open it up and take some pictures tomorrow.

    So, yeah, It might be cool to have around. :D
    #14
    Other / Make a Mythology!
    May 10, 2015, 10:01:12 PM
    I was just thinking about a mythology for Unicorns and this is what I can up with:

    The Unicorn Mythology


    The evil Nikkybot once ruled the world... He was a hated tyrant of all life. Then, one day a splendid majestic unicorn named Uniacorn rose out a volcano in hawaii (nikkybot didn't know about hawaii) and raised the Unicorn rebellion there. They attacked nikkybot and his clones 3 years later, and almost one, but they ran out of rainbows for their ammo. So, they created a solvent to put in their rainbows to make the nikkybots' blood turn into rainbows after it was exposed to air. They fought again, one year later, and one because a siege could not stop the UNICORNS! They then raised their leader, Uniacorn to the top and named him leader of the land. he didn't abuse this privilege, and all life loved him because of the rainbows and moonbows he gave the people. But now, there is so much technology, that nikkybot might come back, so the Unicorns are gathering forces in hawaii to take the nikkybot out if he comes back.

    Tell me what you think, and maybe make your own!
    #15
    Other / Your post/coding Milestones!
    May 01, 2015, 05:29:20 AM
    So, lets have a post and coding milestone topic!

    This is my 303... And I have officially made a game with xlibc! Wooooooo!



    Please don't make it spammy as DJ said!
    #16
    Contests / [4x3 Contest] Hyper Hues/Whack-a-Color
    April 29, 2015, 05:42:37 PM
    NEW IDEA
    So, this is my contest entry: Whack-A-Color for the CSE
    It shows you random color to look for, and then shows a 3x3 screen of different color squares. You must "hit" the square that is the color shown before the game starts. To hit the color, you will use the numpad. eg: if the color is on the top right, hit the [7]. For every color you "hit" you get one point.

    Oh yeah, and there is a timer. :D

    Scoring: The scores are displayed once the timer runs out, they are color coded, so RED<=5 points and so on.



    The top right is the color to hit, and the bottom right is your score. Scoring is as follows:

    BLUE    =    5
    GREEN   =  10
    ORANGE = 15
    RED     =     20
    Yellow    =   25
    PURPLE =  30


    Download here.

    OLD IDEA:
    Spoiler

    So, this is my contest entry: Hyper Hues for the CSE
    It displays 12 squares (may become 9)  that are all the same color, except one that is a different shade of that color. You must press the corresponding key to guess the color within a constantly shortening time span, and for every color you get right, you get 1 point.

    Scoring: The scores are displayed once the timer runs out, they are color coded, so RED<=5 points and so on.

    Screenshots:


    Did I forget anything?  ???

    I hope not :P
    [/spoiler}
    #17
    General Help / Buying a new laptop for 450 dollars
    April 21, 2015, 04:14:52 AM
    So, I've been in the market for a new laptop, I've gotten fed up with my old mac. This laptop has to be under 450 dollars and be able to run Minecraft and other semi 3D games. I, of course, want it to be good for coding. Wink (And I don't want it to be a tablet like the Surface)

    The specs I want to get:
    ::Intel core i5 or i7 or the equivalent AMD processor.
    ::More than 5 GB of RAM
    ::4 hour= battery life
    ::Graphics card

    I have looked around the interwebs, I am I currently looking at this Lenovo.

    What do you think? Please post any thoughts you have!

    If I get the 500GB option, I can get a CE too...   :ninja:
    #18
    Contests / Contests discussion (split thread)
    April 04, 2015, 05:40:46 PM
    Yeah, I think I will also do a RPG, but it would be a bit different. There should be an RPG  themed contest!
    #19
    Randomness / Joke Thread
    March 31, 2015, 04:39:58 AM
    So, I noticed we don't have a joke thread, and now here one is! >:D

    Post any jokes here and keep them clean please. There are people under 18 in this wonderful world. ;)

    Well, here's the first one1

    A mushroom walks into a bar and orders a drink.
    The barkeeper says: "HEY! We don't serve your kind here! Get OUT!"

    The mushroom says: "Why? I'm a FUNGI! :blah:
    Website statistics


    MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
    Powered by EzPortal