Want to take your software engineering career to the next level? Join the mailing list for career tips & advice Click here

Quads

Computer art based on quadtrees.

Subscribe to updates I use Quads


Statistics on Quads

Number of watchers on Github 713
Number of open issues 0
Main language Python
Open pull requests 0+
Closed pull requests 1+
Last commit over 6 years ago
Repo Created over 6 years ago
Repo Last Updated over 2 years ago
Size 402 KB
Homepage http://www.michae...
Organization / Authorfogleman
Contributors1
Page Updated
Do you use Quads? Leave a review!
View Quads activity
View on github
Book a Mock Interview With Me (Silicon Valley Engineering Leader, 100s of interviews conducted)
Software engineers: It's time to get promoted. Starting NOW! Subscribe to my mailing list and I will equip you with tools, tips and actionable advice to grow in your career.
Evaluating Quads for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

Quads

Computer art based on quadtrees.

The program targets an input image. The input image is split into four quadrants. Each quadrant is assigned an averaged color based on the colors in the input image. The quadrant with the largest error is split into its four children quadrants to refine the image. This process is repeated N times.

Web Demo

A web-based version can be seen here:

http://www.michaelfogleman.com/static/quads/

Animation

The first animation shows the natural iterative process of the algorithm.

Animation

The second animation shows a top-down, breadth-first traversal of the final quadtree.

Animation

Samples

Flower

Flower

Apple

Apple

Butterfly

Lenna

Landscape

Zebra

Fractal

Mario

Quads questions on Stackoverflow (View All Questions)
  • For a particle system in DirectX, is it faster to draw a single mesh using a dynamic vertex buffer or to draw many independent quads?
  • how do I batch multiple quads into one giant buffer
  • Are identical Quads actually equal?
  • How do you dynamically render quads in UE4?
  • Any efficient way of converting XImage data to pixel map (e.g. array of RGB quads)?
  • Less stringent N-Quads parsing in Sesame
  • Draw a polygon QUADS when mouse is clicked?
  • Should POINT_SPRITES or TRIANGLES be used for big quads
  • parse json string without double quads in integer value in android
  • Finding nearest free position for an object for any point [x,y] in a 2D space with primitives (circles, quads)
  • Quads from a CONSTRUCT query in Jena
  • Quads rendered not in pixel prefect
  • Read Quads into Jena Model
  • OpenGL Fonts via Textured Quads
  • OpenGL: How should 2D quads be stored/rendered?
  • Drawing a sphere with quads
  • Is animating a tile in a tilemap (quad per tile) mesh by changing quads uv position logical and efficient?
  • Rendering Quads Performance with Metal
  • Can't get stencil buffers to work in OpenTK, simple 2D quads
  • OpenGL glColor3f(r, b, g) while drawing Quads changes colour of whole map
  • What is quads in libgdx?
  • OpenGL weird results when applying normals to quads
  • Layering quads on top of each other in OpenGL
  • Parsing quads with nxparser
  • OpenGL: Fastest way to draw a mixture of triangles and quads?
  • Create spherical planet in lwjgl using quads
  • Path stroke algorithm (convert to triangles/quads) or other suggestions
  • Reading N-Quads in Jena
  • Effective way of rendering a lot of quads (LibGDX/OpenGL ES)
  • Rendering independent quads using one draw call per quad or one call for all of them?
Quads list of languages used
Other projects in Python
Powered by Autocode - Instant Webhooks, Scripts and APIs
Autocode logo wordmark