Jump to content
You must now use your email address to sign in [click for more info] ×

New shape tool: Wave tool


Recommended Posts

It would be nice to have a wave tool to make sine and cos waves with different parameters: wave count, wave height, wave curve (curving in a fibonacci style) etc.

Does anyone have approach for easily making a wavy line? My best solution is doing a line and turning on grid snap and then manually adding points and tweaking them to make a wavy line and then copy that line and fuse them together. Any other hacks?

Link to comment
Share on other sites

  • 1 month later...

I agree with the original post.  I have the ongoing need to have a pure sine curve.   (...and nice to have, other function curves.)  Manual approximation will not work for my need.  (Modeling complex Guilloche patterns for a 1920's engraving rose engine.)   

I've tried manual approximations using the sine function and tracing images of sine and other functions manually.

None of the above examples meet my needs.

 

Link to comment
Share on other sites

 

I know there are quite a few here and in the graphic industry as a whole who need algorithms, not workarounds for various types of line manipulation:

  • Pure sine curves or other types
  • Star spikes with a bit of random spike lengths
  • And like me, a need for more randomly generated *gentle* variations in a curve, so it appears less mechanical and more organic; this probably falls more into a roughen/smoothen tool category. The pencil tool in sculpt mode is a poor substitue for roughen - it is not that great.

Workarounds devour the time I need to earn money from my work and also take away some of the joy of creating. One thing to understand before developing, choosing not to develop, or advising is that some creatives produce hundreds of details to which workarounds simply cannot be applied. That is precisely why some programs have these features, which people outside the industry with little knowledge refer to as bloat. No, these are tools for others than those who complain about bloat.

I simply no longer believe that there are any professional graphic designers here. Everything follows suit. Just everything.

 

Link to comment
Share on other sites

2 hours ago, D.E. Main said:

I have the ongoing need to have a pure sine curve.   (...and nice to have, other function curves.)  Manual approximation will not work for my need.  (Modeling complex Guilloche patterns for a 1920's engraving rose engine.)   

It does not seem to be so easy to achieve… 

On a Mac (you didn't precise what OS you use…), there is an utility Grapher where I drew a curve y = sin x
When exported as a vectorial PDF and placed in Affinity, I see that the curve is now a group, divided in many curve segments, each with a lot of nodes (so close that they appear as a fat blue line).

My conclusion is that PDF format (or Affinity alone?) can only offer a mathematical approximation of a sine curve.
Perhaps is it though enough for your needs?

PNG50-Capturedcran2024-03-2502_56_27.png.b6b9b952246b183f12492a97c6cc50e8.png

Affinity Suite 2.4 – Monterey 12.7.4 – MacBookPro 14" 2021 M1 Pro 16Go/1To

I apologise for any approximations in my English. It is not my mother tongue.

Link to comment
Share on other sites

5 hours ago, Oufti said:

utility Grapher where I drew a curve y = sin x

For simple functions there is no need to use any special graphics/math programs, just download the curve as SVG from the internet - for example from wikipedia:
Simple_sine_wave.svg

 

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

4 hours ago, D.E. Main said:

need a continuously scalable object.

One problem you are going to face is that as soon as you export it to some vector format it will *always* be an approximation of some sort.  Sine and cosine waves are interchangeable with each other, but neither can be perfectly represented as a Bézier curve, and they cannot be coded into most vector graphics formats.

There is some discussion around this here: https://math.stackexchange.com/questions/4235124/getting-the-most-accurate-bezier-curve-that-plots-a-sine-wave

PostScript does have a few trig functions, including sine and cosine, so PDF might as well (I can't seem to figure out the right search terms to identify this), so it *might* be possible to code this into a PDF, but other vector formats (such as SVG) would only be able to contain approximations.

Link to comment
Share on other sites

36 minutes ago, fde101 said:

but neither can be perfectly represented as a Bézier curve

Even a circle isn't a "circle" in Affinity 🙂

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

RE discrete versus continuous functions - I understand.  I rather need reasonably smooth approximations to a level of precision that fits the scale of my needs.  I am modelling at the .01 mm scale. 

 

Better, non-tedious methods to approximate to allow this scale - or rather replicate to this level of precision.

 

Thanks everyone - Dennis

Link to comment
Share on other sites

 

9 hours ago, Pšenda said:

For simple functions there is no need to use any special graphics/math programs, just download the curve as SVG from the internet - for example from wikipedia:
Simple_sine_wave.svg

 

 

RE wikipedia I did not find a SVG format or was able to Save As svg.  But Thanks, I'll otherwise search for an SVG using Google.

 

But thanks.

Link to comment
Share on other sites

Here's another thread on making sine waves, which may or may not fill your needs.

 

2017 15" MacBook Pro, 16 MB RAM, Ventura v13.6.6, Affinity Photo/Designer/Publisher v1 & v2, Adobe CS6 Extended, LightRoom v6, Blender, InkScape, Dell 30" Monitor, Canon PRO-100 Printer, i1 Spectrophotometer, i1Publish

Link to comment
Share on other sites

1 hour ago, D.E. Main said:

wikipedia I did not find a SVG format or was able to Save As svg

Right click on sine image inserted in my post, then Save image (SVG) as...

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

Darn.   Well, I tried this which seems to work for now.  I'll be testing the precision and tweaking as I progress.

  1. Downloaded a sine image
  2. Drew a straight line the length of the image
  3. Divided the line into segments for peaks & valleys
  4. Selected and moved alternating points to form a 'zigzag' line
  5. Smoothed the curves by selecting the nodes and using the Convert: Convert to Smooth

 

image.png.b4c78bdfb0b57520fdab97e8c85f6c43.png

Comparing this with the image by overlaying them, this is a fair starting point.  I'll be checking against my engravings for which this will be used.

Thanks everyone!!!

Link to comment
Share on other sites

4 minutes ago, D.E. Main said:

I'll be testing the precision and tweaking as I progress.

I don't really understand the reason to complicatedly create something that can be easily downloaded from the internet (or from my post) and it will still be an accurate vector sine wave within the required range.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

15 hours ago, Pšenda said:

just download the curve as SVG from the internet - for example from wikipedia

@Pšenda Thanks for the great tip! I downloaded sine curves, hyperbolas, parabolas, etc, (SVG format) from Wikipedia, edited and saved them as "Assets" for future use. Now, I can drag them as vector objects into Photo or Designer and manipulate them as I wish. Thanks for teaching me something cool that I didn't know. Awesome!!

2017 15" MacBook Pro, 16 MB RAM, Ventura v13.6.6, Affinity Photo/Designer/Publisher v1 & v2, Adobe CS6 Extended, LightRoom v6, Blender, InkScape, Dell 30" Monitor, Canon PRO-100 Printer, i1 Spectrophotometer, i1Publish

Link to comment
Share on other sites

7 hours ago, Ldina said:

edited and saved them as "Assets" for future use. Now, I can drag them as vector objects into Photo or Designer and manipulate them as I wish.

I'm glad the advice was useful 🙂

If you have created an Asset of these basic math functions, and were willing to share it with other forum users, then you could put it in the Resource forum - I'm sure many users would appreciate it. Alternatively, Serif could take inspiration from this and add similar Assets as part of the installation.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

5 hours ago, Pšenda said:

If you have created an Asset of these basic math functions, and were willing to share it with other forum users, then you could put it in the Resource forum

Good suggestion! I added them to Resources, per your recommendation. 

2017 15" MacBook Pro, 16 MB RAM, Ventura v13.6.6, Affinity Photo/Designer/Publisher v1 & v2, Adobe CS6 Extended, LightRoom v6, Blender, InkScape, Dell 30" Monitor, Canon PRO-100 Printer, i1 Spectrophotometer, i1Publish

Link to comment
Share on other sites

2 hours ago, Ldina said:

Good suggestion! I added them to Resources, per your recommendation. 

Thanks.
I'll just put the link here so that those interested don't have to look for it 🙂

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

1 minute ago, Pšenda said:

Thanks.
I'll just put the link here so that those interested don't have to look for it 🙂

Perfect! Thanks.

2017 15" MacBook Pro, 16 MB RAM, Ventura v13.6.6, Affinity Photo/Designer/Publisher v1 & v2, Adobe CS6 Extended, LightRoom v6, Blender, InkScape, Dell 30" Monitor, Canon PRO-100 Printer, i1 Spectrophotometer, i1Publish

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.