Skip to content

Drew a Moving Rupee Symbol (₹) using C's line() and arc() Functions, Bringing Life to the Famous Currency Sign.

License

Notifications You must be signed in to change notification settings

jagatpandya/rupee-symbol-animation-with-c-graphics-functions

Repository files navigation

Rupee Symbol Animation

This project visualizes and animates the rupee symbol using the line() and arc() functions in C programming language. It showcases the creation of intricate shapes and dynamic movements through code.

Screenshot

BadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadgeBadge

Note: To view the code in the GitHub repository with proper formatting, make sure to change the tab size from the default 8 to 4. You can adjust this setting in GitHub > Settings > Appearance > Tab Size Preference.

Running the C Program on Linux with GCC

This C program was compiled using the GNU Compiler (GCC) and executed in the Linux terminal. Follow the steps below to run the program:

Screenshot

  • Install dependencies
    How to install graphics.h on ubuntu 18.04...

Note: The mentioned packages are not specifically required for this individual project. It is just to recommend installing the important packages for running basic graphics programs.

Use a text editor to write a C program

Open the C program file runtheprogram.c in your preferred text editor, for example, using:

gedit runtheprogram.c

Check the C program

cat runtheprogram.c

Compile the C program

Note: This command will invoke the GNU Compiler (GCC) to compile the file runtheprogram.c and output (-o) the result to an executable named experiment.

gcc runtheprogram.c -o experiment -lgraph

Run the C Program (Machine Code)

./experiment

Take a look at the runtheprogram.c file below. It's used as a simple example to demonstrate how to run a C program in Linux using GCC.

Screenshot Screenshot

License

Please refer to the LICENSE file for information on the license terms and any associated rights and limitations (MIT).

About

Drew a Moving Rupee Symbol (₹) using C's line() and arc() Functions, Bringing Life to the Famous Currency Sign.

Topics

Resources

License

Stars

Watchers

Forks

Languages