image thumbnail

updated 25 days ago

Volumetric Data Explorer by Adam Filion

App for exploring higher dimensional data using volumetric visualizations and animation. (4d, movie, visualization)

Data Explorer

image thumbnail

updated 1 month ago

patch_rasterize by Andrea Tagliasacchi

Rasterization of a 2D triangulation (patch, triangulation, rasterization)

patch_rasterize( p )

image thumbnail

updated 3 months ago

stlwrite - Write binary or ascii STL file by Sven

Export a variety of inputs (patch, surface) to an STL triangular mesh (stl, tri, patch)

stlwrite(filename, varargin)

image thumbnail

updated 5 months ago

Mesh voxelisation by Adam A

Voxelise a triangular-polygon mesh. (cad, mesh, voxelize)

COMPUTE_mesh_normals(meshdataIN,invertYN)

CONVERT_meshformat(varargin)

READ_stl(stlFILENAME,varargin)

image thumbnail

updated 5 months ago

A patch for graphViz4Matlab toolbox by Reza Farrahi Moghaddam

This patch enables automatic change in thickness and also color of the graph edges (patch, graphviz4matlab, automatic thickness c...)

graphViz4Matlab

graphViz4MatlabNode

mypublishtest.m

image thumbnail

updated 5 months ago

Candystripe a Plot and Legend by Jonathan Sullivan

Adds candystriping to a given object, and automatically updates the legend entry as well. (plots, patch, bar)

candystripe(h,varargin)

image thumbnail

updated 6 months ago

Automatic Terrain Generation by Tucker McClure

A set a tools for generating artificial terrain and other rough phenomena mapped over a 2D surface. (terrain, landscape, mapping)

Demonstration of Algorithmic Terrain Generation

generate_brownian_mesh(n, zm)

generate_brownian_tri(n, nm, r0, el, rr)

image thumbnail

updated 6 months ago

Hatchfill by Neil Tandon

Fills an area with hatching or speckling. (hatch, plot, patch)

hatchfill(A,STYL,ANGLE,SPACING,FACECOL)

example.m

image thumbnail

updated 7 months ago

Custom Marker Plot by Salman Mashayekh

This simple code enables you to plot using custom markers. (custom marker, 2d plot, patch)

plotCustMark(xData,yData,markerDataX,markerDataY,markerSize...

plotCustMarkDemo.m

image thumbnail

updated 8 months ago

inpolyhedron - are points inside a volume? by Sven

It's inpolygon(), but for 3D triangulated surfaces. (non-convex surfaces, too!) (inpolygon, inside, mesh)

inpolyhedron(varargin)

image thumbnail

updated 8 months ago

Vertices and faces matrices generation for rectangular prisms by Bilen Oytun Peksel

Vertices and faces matrices generation for rectangular prisms (faces, vertices, rectangular prism)

gen_vert (ms_x,ms_y,varargin)

image thumbnail

updated 10 months ago

Construction of cubic Bezier Patch and Surface by Dr. Murtaza Khan

Construction of cubic Bezier Patch and Surface (cubic bezier, patch, surface)

Q=bezierpatchinterp(P,varargin)

plotbezierpatch3D(P,Q)

plotbeziersurface3D(S,Q)

image thumbnail

updated 1 year ago

Patchline by Brett Shoelson

Visualize lines as patch objects. Specify any valid patch property, including transparency. (lines, patches, transparency)

patchline(xs,ys,varargin)

image thumbnail

updated 1 year ago

Polygon2Voxel by Dirk-Jan Kroon

Convert a triangulated mesh into a voxel volume (mesh, voxel volume, polygons)

Volume=polygon2voxel(FV,VolumeSize,mode,Yxz)

Volume=polygon2voxel_double(FacesA,FacesB,FacesC,VerticesX,...

image thumbnail

updated 1 year ago

stlwrite - Write binary or ascii STL file by Grant Lohsen

This is an update to the excellent work done by Sven Holcombe to add color support (data export, data import, mesh)

stlwrite(filename, varargin)

image thumbnail

updated 1 year ago

Binary STL file reader by Grant Lohsen

Update of the stlread function by Francis Esmonde-White to properly implement color reading. (3d models, binary, cad)

stlread(filename, verbose)

image thumbnail

updated 1 year ago

Plot a 3D array using patch by Adam A

Plotting a 3D array using a patch surface mesh (3d, 3d volume, plot)

PATCH_3Darray(varargin)

image thumbnail

updated 1 year ago

splitFV - split a mesh by Sven

Splits a 2D or 3D mesh defined by faces and vertices into separately connected mesh pieces. (mesh, separate, split)

splitFV( f, v )

image thumbnail

updated 1 year ago

MATLABTETRIS by Matt Fig

Another MATLAB version of the classic game, Tetris. (fun, tetris, game)

matlabtetris(varargin)

image thumbnail

updated almost 2 years ago

applyhatch_plusC by Brian Katz

Modification of APPLYHATCH_PLUS, allowing for color and variable thickness for hatch patterns. (hatch, color, patch)

applyhatch_plusC(h,patterns,patterncolors,colorlist,dpi,hat...

makehatch_plus(hatch,n)

image thumbnail

updated almost 2 years ago

Finite Element Triangular Mesh Generator by Kehinde OROLU

This function generates triangular mesh for a rectangular shape structure for FEM analysis (mesh, matrix, finite element analys...)

[coords cT nNodes ]=femTriangularMeshGenerator(Lx,Ly,Nx,NE)

FEMmeshExample.m

image thumbnail

updated almost 2 years ago

Patch Curvature by Dirk-Jan Kroon

Principal, Gaussian and Mean Curvature of triangulated mesh (curvature, gaussian, principal)

[Cmean,Cgaussian,Dir1,Dir2,Lambda1,Lambda2]=patchcurvature(...

image thumbnail

updated almost 2 years ago

Matlab 3D figure to 3D (X)HTML by Dirk-Jan Kroon

Converts 3D objects of a Matlab figure to XHTML embedded X3D file. Interactive 3D website graphics. (3d, opengl, webgl)

[F,V,Cface,Cedge,E,T]=surf2FV(Obj)

[data,loc]=XMLaddNode(name,data,loc)

[data,loc_body]=XHTMLheader(options)

image thumbnail

updated almost 2 years ago

STL File Reader by Eric Johnson

STLREAD imports geometry from a binary stereolithography (STL) file into MATLAB. (data import, cad, geometry)

3D Model Demo

stlread(file)

image thumbnail

updated almost 2 years ago

Hatch fill patterns plus Color & Invert by Brandon Levey

Updated code hatch with color and inverted hatches (bar, color, hatch)

applyhatch_pluscolor(h,patterns,CvBW,Hinvert,colorlist, ...

makehatch_plus(hatch,n,m)

image thumbnail

updated 2 years ago

plot_ci by Céldor

Plots confidence intervals and the patch between lines (plot, patch, confidence interval)

plot_ci(X,Y,varargin)

image thumbnail

updated 2 years ago

MATLAB Pool by Husam Aldahiyat

Simple game of 6-ball billiards. (pool, billiards, game)

pool(varargin)

image thumbnail

updated 2 years ago

Show 3D model by Francis Esmonde-White

A function to simplify plotting 3D models. (stl, 3d model, patch)

show_model(model,varargin)

image thumbnail

updated 2 years ago

quiver3Dpatch by Kevin Moerman

Plotting of colored 3D arrows based on patch command (3d, data exploration, quiver)

[F,V,C]=quiver3Dpatch(x,y,z,ux,uy,uz,c,a)

image thumbnail

updated 2 years ago

mesh2tri by Kevin Moerman

Creates regular triangulation of meshgrid data (triangulation, meshgrid, data exploration)

[F,V]=mesh2tri(X,Y,Z,tri_type)

image thumbnail

updated 2 years ago

Image3 by Knut

A simple function for displaying 3-d arrays similar to how image() can be used for 2-d arrays. (image3, volume visualization, image)

image3(mat)

image thumbnail

updated 2 years ago

Patch Slim (patchslim.m) by Francis Esmonde-White

Remove duplicate vertices in surface meshes. (stlread, stl file, 3d models)

[vnew, fnew]=patchslim(v, f)

image thumbnail

updated 2 years ago

Binary STL file reader by Francis Esmonde-White

This binary STL file reader is much faster than the existing readers. (stl, cad, 3d models)

stlread(filename, verbose)

image thumbnail

updated 2 years ago

Plot cylinder by sjye

Triangulated patch cylinder (cylinder, 3d, repmat)

cylinder.m

image thumbnail

updated 2 years ago

Draw a cylinder. by sjye

Easy cylinder drawing. (3d, cylinder, patch)

enclosed_cylinder.m

image thumbnail

updated 2 years ago

Timer with Status Bar by Gustavo Orellana

Implementation of a status bar (progress bar) using patches. (status bar, progress bar, barra de progreso)

myTimer(varargin)

image thumbnail

updated 2 years ago

Move a 3D object with mouse in a traditional 4-view window by Gang Wang

Interactively move a 3D object anywhere in the 3D space with a mouse. (pick of the week, patch, graphics)

TDFig(varargin)

image thumbnail

updated 2 years ago

Robust Sparse data types by Matt J

Creates sparse array like MATLAB's built-in sparse type, but robust to certain bugs/errors. (sparse, class, bug)

obj=rsparse(varargin)

obj=rspeye(varargin)

obj=rsprand(varargin)

image thumbnail

updated 2 years ago

File Ordering Patch Utility for MATLAB by Michael Chan

The utility patches the reordering considering the length of the filename during the sorting. (string, utility, directory)

cell2str(c,n,mode)

displayImagesInDirectory(targetFolder, imageFiles, imageFil...

listFilesInDirectory( targetFolder, imageFileType )

image thumbnail

updated 2 years ago

Patch Antenna Design Using Sonnet v3.2 by Serhend Arvas

Designs a probe fed rectangular patch antenna using true electromagnetic simulation. (antenna, probe, electromagnetic)

image thumbnail

updated almost 3 years ago

platonic_solid by Kevin Moerman

Creates the PATCH data, the vertices (V) and faces (F) for a desired platonic solid (patch, cube, octahedron)

[V,F]=platonic_solid(n,r)

image thumbnail

updated almost 3 years ago

ind2patch by Kevin Moerman

Allows plotting of patch data (slices and voxels) for 3D images for selected voxels (image, patch, 3d)

[F,V,C]=ind2patch(IND,M,ptype)

image thumbnail

updated 3 years ago

Texture Patch by Dirk-Jan Kroon

Show a 3D triangulated mesh ( patch ) with a texture (patch, texture vertices, textures)

mouse3d(varargin)

patcht(FF,VV,TF,VT,I,Options)

image thumbnail

updated 3 years ago

Surf3D by James Ramm

Plots upper and lower surfaces of a layer, calculates and plots the boundary faces (geophysics, visualization, geology)

ThreedDemo()

[R]=NanMat(Data,GridSize,varargin)

[hLight]=Surf3D(LayerN,R,Z,Xn,Yn)

image thumbnail

updated 3 years ago

Mesh2Tetra by Dirk-Jan Kroon

Convert a closed triangulated mesh to a tetrahedron volume ( like constrained Delaunay ) (delaunaytri, object, delaunayn)

C=PointToClosestPointOnPlane(A,B,C,P)

Faces=GetRemainingFaces(T,F,V)

InsidePoints3D(V,F)

image thumbnail

updated 3 years ago

Map texture to patch by Jonas

patchTexture maps a texture onto a patch object (graphics, plotting, patch)

patchTexture(patchHandle,texture)

image thumbnail

updated 3 years ago

Draw a filled circle by Sadik

Plots a filled circle with given radius, center and color. (fill, filled circle, color fill)

filledCircle(center,r,N,color)

image thumbnail

updated 3 years ago

Smooth Triangulated Mesh by Dirk-Jan Kroon

Accurate smoothing of triangulated patch / mesh (curvature, umbrella, smoothing)

FV2=smoothpatch(FV,mode,itt,lambda,sigma)

Ne=vertex_neighbours(FV)

Ne=vertex_neighbours_double(Fa,Fb,Fc,Vx,Vy,Vz)

image thumbnail

updated 3 years ago

Patch Software Render by Dirk-Jan Kroon

Patch Software Render with Phong-shading, shadows and textures (software render, render, renderer)

FV=read_wobj(filename)

J=renderpatch(I,FV)

N=patchnormals(FV)

image thumbnail

updated 3 years ago

view2dm by Jeff Tuhtan

View a SMS .2dm mesh file in MATLAB using 'patch'. (sms, 2dm, patch)

view2dm(fileName,cmap,sh,li,al)

Contact us