If this is your first time participating in Code-a-Pookkalam, welcome! Don’t worry if you’re new to coding or unsure about how to create your own Pookkalam using code — we’re here to help. This guide will walk you through the basics and get you started.
In Code-a-Pookkalam, you are free to use any programming language or platform that you are comfortable with to design your Pookkalam. However, if you are a beginner, we recommend starting with one of these two beginner-friendly options:
p5.js is a JavaScript library that makes it easy to create graphics and interactive visuals in your browser. It’s an excellent choice for beginners because:
Visit the p5.js Website:
Go to the p5.js website to get familiar with what it is and explore its possibilities.
Learn with Tutorials:
Head over to the p5.js tutorials to start learning the basics, like drawing shapes, adding colors, and more. 🖍️
Write Code in the Online Editor:
You don’t need to download any software! You can code directly in the browser. Just visit the p5.js online editor and start coding right away. 💻
Here’s a simple example to get you started:
function setup() {
createCanvas(400, 400);
background(255); // Set the background color to white
ellipse(200, 200, 150, 150); // Draw a circle
}
Python Turtle is another beginner-friendly way to create graphics with code. You can use simple commands to make a virtual “turtle” move around the screen and draw shapes, making it perfect for designing pookalam patterns.
Use the Python Turtle Online Editor:
No need to install Python on your computer! Just go to the Python Turtle online editor and start coding in your browser. 🌟
Learn the Basics with Tutorials:
If you’re new to Python or Turtle, don’t worry! Check out the Python Turtle tutorial to get started with the basics. 📘
Try This Simple Code:
Here’s a small example that draws a circle:
import turtle
pookalam = turtle.Turtle()
pookalam.circle(100) # Draw a circle with a radius of 100 units
turtle.done()
Joy is a tiny creative coding library in Python, made by FOSS United India See how to use Joy: https://github.com/fossunited/joy/blob/main/README.md
You are free to use any language that supports graphical output, such as:
Whichever platform you choose — p5.js or Python Turtle — creating a virtual pookalam is all about having fun and letting your creativity flow. Don’t worry if you’re a beginner; both platforms are designed to be easy to use, and there are plenty of resources to guide you along the way.
Good luck, and we can’t wait to see your pookalams! 🌸🚀
Once you’ve created your Pookkalam design using the language of your choice, the next step is to submit it. For this competition, submissions are done through GitHub. Don’t worry if you’re new to GitHub — here’s a quick guide to help you get started.
If you don’t already have a GitHub account, head over to GitHub.com and sign up for a free account.
See how: https://youtu.be/QUtk-Uuq9nE?si=ECSPHNIEDmu9IFME
Code-a-Pookkalam-2024
.README.md
file.git
commands to push your code to GitHub.See how: https://youtu.be/P75e8DgOxn8?si=FK7ptPAWEaWELMvu
Once your code is uploaded to GitHub, submit the link to your repository using the form provided on the competition page.
Example format for the link:
https://github.com/YourUsername/Code-a-Pookkalam-2024
If you’re stuck or need help getting started with coding, feel free to reach out to the TinkerHub RIT community for assistance. We’re here to support you!
We hope you have a great time participating in Code-a-Pookkalam. Whether you’re a seasoned coder or a beginner, this competition is all about having fun and celebrating creativity. Happy coding!