adamvanaken / minicad-painter Goto Github PK
View Code? Open in Web Editor NEWA Cross-platform, MSPaint-like C/OpenGL (GLUT) application that will support transparency
A Cross-platform, MSPaint-like C/OpenGL (GLUT) application that will support transparency
March 13, '16 Adam Van Aken Compile with 'make' and run with './main.o' Can switch tool by holding down middle-mouse button (or 'up' arrow or 'shift+T') and dragging mouse cursor to desired tool. Known bugs and limitations: * Zooming still a WIP * "Canvas" aspect still a WIP * Polygon mode works, but only for convex shapes AND/OR unfilled mode File directory: - main.c This includes the main, init and display loop. - draw.c This includes the draw calls for different shapes. They are all called from within the display loop in main.c - callbacks.c This file mostly just holds the callbacks for the OpenGL events. However it also manages setting the tool with middle-mouse button/up arrow/shift+T. - helper.c This file has helper functions to add new shapes to the list of shapes. It also includes the clear and zoom functions - dlinked.c (dlinked.h) This is the linked list struct as well as all shape structs and constructor calls. - picker.c This is code for a custom color picker. To Do: * Finish zooming * Drawing while zoomed * Zoom towards mouse cursor * Add panning/scrollbars * Limit drawing to within the "canvas" * Toolbars (if canvas size is greater than window size) * Point (pixel) drawing * Transparency * Exports (save/load)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.