Skip to main content
The 2024 Developer Survey results are live! See the results
14 votes

How do I draw an anticlepsydra in LaTeX?

This is an easy way to do it. In 2d and using a 'fake cavalier' perspective as in the OP picture. The shadings are not necessary. I made them trying to control the transparency and the light of both ...
Juan Castaño's user avatar
11 votes
Accepted

Gauss mapping image

NOTE that: I don't know either what I am drawing. :) Drawing 3D image in Asymptote is a difficult problem for both my knowledge and my computer (it is weak). You can add mesh for surface. You can also ...
Nguyen Van Chi's user avatar
9 votes

How do I draw an anticlepsydra in LaTeX?

You can use 3dtools. With phi=90, you can try \documentclass[border=2mm]{standalone} \usepackage{tikz} \usetikzlibrary{3dtools,calc}% https://github.com/marmotghost/tikz-3dtools \begin{document} \...
minhthien_2016's user avatar
9 votes

Planes tangent to a cylinder

Perhaps something like this? I'm using TikZ 3d and isometric perspective. There are a couple of simplifications. Some points were found by trial-and-error over the sphere (if you see an angle not ...
Juan Castaño's user avatar
6 votes

How do I draw an anticlepsydra in LaTeX?

A bit try with Asymptote! Compile the following code at http://asymptote.ualberta.ca/ // settings.render=10; import solids; size(10cm,0); currentprojection=orthographic(1,0,0.15); currentlight=White; ...
Nguyen Van Chi's user avatar
6 votes
Accepted

How to draw the solids to refer to cylindricals coordinates

Something to start with: \documentclass[border=10pt]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.18} \usetikzlibrary{3d, fillbetween} \begin{document} \begin{tikzpicture}[line join=...
Jasper Habicht's user avatar
5 votes
Accepted

What causes a rotating 3D object to get displaced unexpectedly?

\documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-solides3d} \psset { object=parallelepiped, lightsrc=viewpoint, Decran=30, solidmemory, grid=false, incolor=red, ...
user187802's user avatar
  • 17.5k
4 votes
Accepted

\defFunction in PStricks / pst-solides3d /

How does \defFunction work? In the form you use it, it takes 5 mandatory arguments that specify a parameterised version of a three-dimensional function. More specifically, \defFunction{<name>}(...
Werner's user avatar
  • 608k
4 votes
Accepted

How to draw a paraboloid?

\documentclass[border=10pt,pstricks]{standalone} \usepackage{pst-solides3d} \begin{document} \psset{unit=.65,viewpoint=40 30 22 rtp2xyz,lightsrc=viewpoint} \begin{pspicture}(-5,-4)(6,10) \defFunction[...
user187802's user avatar
  • 17.5k
4 votes

Gauss mapping image

About intersection of a plane and a sphere, you can try this code. Note that, if a sphere has radius R; distance from the center of sphere to the plane is d,then intersection plane and the sphere is a ...
minhthien_2016's user avatar
4 votes
Accepted

How to change the size of a point in pst-solides3d?

I don't think there's a way to do this using the object=point key, which only takes the coordinates as arguments, but you can add points using \psPoint plus \psdots instead: \documentclass{article} \...
Alan Munn's user avatar
  • 221k
3 votes
Accepted

3d plot with absolute value function with pstricks

\documentclass[pstricks]{standalone} \usepackage{pst-solides3d} \begin{document} \begin{pspicture}(-6,-4)(6,6) \psset{lightsrc=5 50 30 rtp2xyz,viewpoint=50 60 15 rtp2xyz,Decran=50} \psImplicitSurface[ ...
user73104's user avatar
  • 949
3 votes
Accepted

3D effects for hollow and solid cylinder in tikz

That is an elegant question. I have just added more tags including [asymptote] to the question, because Asymptote seems to be an appropriate tool to draw 3 difficult kinds of cylinders: open hollow, ...
Black Mild's user avatar
3 votes
Accepted

How can I draws the solid as a framework and sets up dashed lines for the hidden edges in pst-solides3d?

I remove opacity=0.6,hollow,hue=0 1, then I get hidden lines. \documentclass{article} \usepackage{pst-solides3d} \begin{document} \begin{pspicture}(-2.5,-2)(2.5,2.5) \psset{lightsrc=10 20 ...
minhthien_2016's user avatar
3 votes
Accepted

Writing on pst-solides3D cylinders in a loop

You have to use the optional argument solidmemory. Otherwise the variables are only local for each object. \documentclass[pstricks]{standalone} \usepackage{pst-solides3d} \begin{document} \begin{...
user187802's user avatar
  • 17.5k

Only top scored, non community-wiki answers of a minimum length are eligible