The main challenge we ran into was the integration between the desmos interface and the replit web app. In addition, we utilized Canva to produce sleek and aesthetic UI/UX design. The algorithm for determining the edges and shapes in each drawing is called the Sobel edge detector (implemented in-house) and we utilized the potrace library to convert the bitmapped image into a smooth, scalable graphic image. We also used replit to create and host our web app. Our Desmos Art Generator web app was built on the collaborative IDE and used the web-based frameworks HTML, CSS, React.js, and JavaScript, Node.js, and Express. Recently, after furthering our knowledge with web app languages and the functionalities of desmos and processing.js, we decided to create a desmos art generator for the hackathon. TLDR: You can upload an image and our website turns it into a Desmos graph How we built it Overall, Desmos Art Generator provides a convenient and affordable way for users to express their creativity and artistry. The how to page also covers how our generator works with a diagram and explanation. The about page has information about our mission and future plans for Desmos Art Generator. They can also make minor changes to the image in desmos if necessary. In addition, the output includes the exact equations of the curves and lines so users can replicate the image themselves using and save it. After learning the locations of the edges, the algorithm then finds the curve equations that replicate it, before it outputs to the user a desmos graph version of the image - that is, the image in the form of hundreds of desmos equations put together. The algorithm highlights the edges within the drawing/image, so it could be traced by a tracing library called Potrace. The image is then processed and passed through a computer vision algorithm called sobel edge detection, which used convolutions and a Gaussian filter. When a user opens Desmos Art Generator, they will see its information and how-to-guide of our generator and are prompted to upload a picture of any image or drawing. With the power of computer vision, math, and a pinch of artistic talent, with our generator, anyone can create their own art on a Desmos canvas! What it doesĭesmos Art Generator is a web app that ensures that all users can always have a platform to express their creativity by visualizing their drawings. Since expressing creativity for both students and adults alike is important for bonding together, education, and for expressing experiences, stories, and emotions, we decided to create from scratch a desmos art generator for the hackathon. In our math classes, we have explored using Desmos graphs to create drawings such as snowmen and utilized processing.js to code scenery and houses. Even that was tough, but I found some success by looking at the function one piece at a time.Many of us in our hackathon team are both technology, STEM, and art enthusiasts ourselves every time we see novel and astounding interdisciplinary tech/stem+art creations, such as Google’s Quick Draw, it always blows us away to see how creative and mesmerizing they are. My next move was to dig into the function Suzanne uses to control the dimensions of the flowers. I made some efforts to apply my previous knowledge of animating images in the calculator and failed very quickly. In this case we could use (x_1,y_1) to define the center of the flowers since the centers are all listed in the table. You can make multiple copies of an image by using a list to define the center of the image. I started exploring question 1, or how I can make all of the flowers different sizes using just one copy of the flower image. Once the flowers shrink down to size zero, they stay at that size throughout the animation. I imagine these are all related somehow.ģ. The flowers start growing at different times. Suzanne uses exactly one image to render all of the flowers, so I'm curious as to how she made them all different sizes.Ģ. So where would the course start? There are quite a few things going on just with the flowers in The Tree of All Seasons graph.ġ. This left me wondering what the different parts are of the Desmos art course that will allow me to build this (and any) awesome graph. I wasn't sure where to start with understanding the various parts. I look forward to this course, but as I dove into the graph, I found myself quickly overwhelmed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |