JavaScript Pixel Plot: Calculate coordinates of lines, curves and shapes

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 124 All time: 381 This week: 2Up
Version License JavaScript version Categories
pixel-plot 1.0BSD License1.0Graphics
Description Author

This object can calculate coordinates of lines, curves and shapes.

It takes parameters for different types of geometric lines and shapes and returns an array of objects that define the x and y coordinates of the different pixels that define the requested shape.

Currently it can calculate the coordinates of pixels of straight lines, bezier curves and perfect curves.

Innovation Award
JavaScript Programming Innovation award nominee
March 2014
Number 2
When you need to draw shapes like lines and curves, you can draw lines between different points of the shapes.

This object can calculate the coordinates of several types of shapes, so it can be used for drawing those shapes, or for other purposes like animating objects that traverse paths with the format of the shapes.

Manuel Lemos
Picture of JImmy Bo
Name: JImmy Bo <contact>
Classes: 4 packages by
Country: Canada Canada
Age: ???
All time rank: 541 in Canada Canada
Week rank: 6 Up1 in Canada Canada Equal
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

  • preview.png
  Files folder image Files  
File Role Description
Plain text file class.jpixelplot.js Class javascript coordinate plotting for lines curves and shapes
Accessible without login Plain text file jpixelplot.example.htm Example Example using a canvas-less pixel grid display.

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:381
This week:2Up