Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / 2D

2D

2D

Great Reads

by The Zakies
we will build an outline line around the drawn lines so we would test the mouse click on this outline to know which line is selected. and we would in the coming update build a select function inside the move tool
by The Zakies
in this tut we will create a technique to enable the user to control points within a drawn line, by drawing circles around points of the line , when the user clicks a circle he would control the corresponding point.
by The Zakies
we would create Hand_tool to pan through the drawing form, and we would use a custom cursor of open and closed hands
by The Zakies
we will continue the functionality of the hand tool with having a navigator panel which works as a map, we will also have a red rectangle which tells the user where he is actually viewing inside the whole form, also it can be moved to pan the form

Latest Articles

by The Zakies
we will build an outline line around the drawn lines so we would test the mouse click on this outline to know which line is selected. and we would in the coming update build a select function inside the move tool
by The Zakies
in this tut we will create a technique to enable the user to control points within a drawn line, by drawing circles around points of the line , when the user clicks a circle he would control the corresponding point.
by The Zakies
we would create Hand_tool to pan through the drawing form, and we would use a custom cursor of open and closed hands
by The Zakies
we will continue the functionality of the hand tool with having a navigator panel which works as a map, we will also have a red rectangle which tells the user where he is actually viewing inside the whole form, also it can be moved to pan the form

All Articles

Sort by Score

2D 

by Raghavendra Hosad
2D DFT for Color Image - GUI implementation
by Angelo Cresta
An extension of "A control to display pie charts with highly customizable formatting" from mattsj1984 that also renders doughnut.
by g96b10
Win2D provides a neat API interface, but how do you render complex sprites for your game? I provide a library and editor to make this a streamlined process.
by Voevudko A. E., Ph.D.
Demonstrating ability of the L-system in R, and offering helper functions able to plot all main categories of figures typical for the 2D L-system.
by Farhad Reza
This article describes the use of GDI+ in F# to design chess game pieces.
by Harley S davidson
Here is the solution to Conway's Game Of Life problem - Enjoy it , have fun ;) . Dead cells are in Red, Alive cells are in Green and Empty cells are in White. You can modify the colours as per your need.
by André Marcos (Advisor), José Cláudio Silva, Victor Lopes
This work proposes the development of a Raycast engine in JavaScript to facilitate the 3D game development.
by Miguel Diaz Kusztrich
An application to draw Recurrence Plots and calculate recurrence quantification measures
by Jean-Claude Lanz
2D Drawing component with Scaling, Zooming, Scrolling, Centering and Resizing capabilities
by André Marcos (Advisor), José Cláudio Silva, Victor Lopes
Unity Engine support for Electronic 2D game development
by Vaso Elias
Explore the Stride Community Toolkit's code-only feature, designed to help C#/.NET developers easily create immersive 2D/3D games and visualizations using Stride, a powerful open-source (FOSS) C# game engine.
by honey the codewitch
Explore techniques for drawing using GFX
by honey the codewitch
Use GFX effectively with e-paper/e-ink displays
by honey the codewitch
A device independent graphics library for IoT devices. Part 1 of a series.
by honey the codewitch
GFX IoT graphics library part 2 - device independent bitmaps
by honey the codewitch
Explore the basic drawing functionality provided by the GFX IoT library
by honey the codewitch
Use an ILI9341 display efficiently from an ESP32 without the Arduino framework. Load JPEGs.
by honey the codewitch
Explore the inner workings of a highly capable IoT display driver for the ESP32
by Espen Harlinn
Harlinn.Windows is a collection of libraries that I have put together that serves as a big part of the runtime we use at work.
by sebjameswml
Walks you through the steps needed to draw high quality 2D graphs in your C++ programs using the header-only library morphologica
by Arav Singhal
Calculating the mass and inertia of a body and applying forces to it
by Arav Singhal
Representing shapes, worlds, and integrating forces and velocities in a 2D physics engine
by Arav Singhal
The basics of spaces, transformations and bodies used in a 2D physics engine.
by Michael Moroz
This articles describes how to open SVG files in C++ application, work with Bezier curves and export to PDF.
by Majdi Sobain
2D games programming simplicity using RingAllegro Library
by Miguel Diaz Kusztrich
An infinite set of biological shape fractals in the complex plain
by Andre van Dun
Graphviz graphs from dot specification
by BouncyTarget
This is an article about making 2D sprites in Windows Forms.
by Petrov Vladimir
Weiler-Atherton algorithm in MFC codes demo implementation
by Terence Wallace
A continuing series demonstration of Finite State Machines (FSM) where agents inhabit a small town called WestWorld.
by Marijan Nikic
An animated random string selection wheel class written in Java AWT
by Jack Xu, USA
This article demonstrates how to convert the WinForm version of the Microsoft chart control into a WPF and MVVM compatible chart control and how to use it to create various charts in a WPF application.