Extension for rendering a sine wave

Bug #1162370 reported by Rafael Laboissiere
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Wishlist
Unassigned

Bug Description

I have written an extension for rendering a sine wave approximated by a Bezier curve with a minimal number of control points (four by period). Please find here attached the .inx and .py files.

This is the first-ever Inkscape extension I wrote. I hope I got things right.

Revision history for this message
Rafael Laboissiere (a5-rafael) wrote :
Revision history for this message
Rafael Laboissiere (a5-rafael) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

thanks for the contribution!

- just for curiosity, have you compared your results to the results obtained from the Render->Function Plotter extension, which can also generate sine waves?

Revision history for this message
Rafael Laboissiere (a5-rafael) wrote :

Alvin, even though the sine wave generated with my extension is more precise, the visual difference with the sine wave generated with the Function Plotter extension (with four control points) is quite small. The interface of my extension is much simpler, though.

Revision history for this message
Rafael Laboissiere (a5-rafael) wrote :

I meant: with five control points.

su_v (suv-lp)
tags: added: extensions-plugins
Changed in inkscape:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.