CorelDRAW Community
CorelDRAW Community
  • Site
  • User
  • Site
  • Search
  • User
Wikis
Wikis
How-to and Tips&Tricks Approximating Superellipses
  • Wikis
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • DUPLICATE
  • The Clone Tool
  • Corel DRAW: Halftone
  • +Corel PHOTO-PAINT
  • Corel PHOTO-PAINT for Adobe PhotoShop users
  • -CorelDRAW
    • Additional Color Palettes
    • Addons
    • Advanced technique for soft-edged vector objects
    • Approximating Superellipses
    • Artistic Media tool trick
    • Auto-Center PowerClip Contents - CorelDRAW X5
    • Combining multiple text objects into one text object
    • Complete list of Keyboard Shortcuts
    • Converting to Jpeg file format
    • Creating a distressed look in vector
    • Creating shadows and soft-edged objects using only vectors
    • How to center a 5-points star inside a circle
    • How to copy and paste properties between objects - quickly and handy
    • How to detach the Tools Flyouts menu? - CORELDRAW X5
    • How to duplicate a page and maintain its layer structure and content
    • How to Export from CorelDRAW
    • How to FILL OPEN CURVES
    • How to print the unprintable Grid layer
    • How to set a palette as default for all color dropdowns
    • I will show you how to create a cool emboss PS like effect in CorelDRAW
    • Miter Limits
    • Navigating a Zoomed In Document
    • +Printing Issues
    • Quick Duplication
    • Quick navigation through Drawing Windows.
    • +Set you Monitor to display real size objects
    • Shortcut Keys for Aligning objects
    • Using the Eyedropper to sample colors for the Interactive Fill and Mesh tools, Tables, etc
    • Using the mouse wheel not only to Zoom but to scroll
    • Vector Fire Effect in CorelDRAW
    • Working in pixels in Draw: How to set Draw up to get pixel-perfect results with the Web Image Optimizer
  • CorelDRAW for Adobe Illustrator users
  • +CorelDRAW.com
  • Designer's Guide to Color Management
  • Exporting ai files from CDX6 to Adobe InDesign CS6 - not working!
  • GDG Macros VBA Lessons
  • +Hidden Gems, Keyboard Tricks in CorelDRAW Graphics Suite
  • How and where save globalmacros.gms
  • +How to show Thumbnail Preview
  • +Making flag in CD/PP by Jesus Cota
  • MANUAL FLATTENING
  • Mesh fill tool structure on circular shapes
  • Selection Groups
  • Soft Bevel Macro for CorelDRAW
  • Thumbnails Everywhere
  • Troubleshooting - Computer says No
  • +VBA
  • +Water Effect by Jesus Cota
  • ALIGN CENTER
  • COMMAND BUTTON EXAMPLES
  • +SIM Model
  • +USING PHOTOSHOP AS A BITMAP EDITOR FOR COREL DRAW
  • VSTA and working VSTA examples

Approximating Superellipses

Superellipses (Lamé curves) can be approximated in CorelDRAW using the B-Spline Tool (introduced in CorelDRAW X5).  The basic idea is that if the b-spline's control polyline (the line connecting the b-spline's control points) is an octagon with alternating side lengths, the resulting b-spline will approximate a superellipse.

The easiest way to accomplish this is to snap the control points to a grid:



The picture above shows a 6x6 grid (I used a graph paper object as a temporary guide, although the normal grid would work). The control points (blue dots) are placed on the verticies of an octagon (shown in blue).  The resulting b-spline, shaded in green, approximates a superellipse.

The roundness of the superellipse can be controlled by varying the lengths of the control octagon's sides:



Another Way
Here is an alternate pattern of control points that approximates a superellipse.  It is convenient because it can be created on a simple rectangle.  Just snap the control points to the verticies (nodes) and midpoints of the rectangle's edges.



Superellipses with n < 2
The above approach works well for superellipses with n > 2.  To approximate superellipses with 0 < n < 1 (e.g., astroids), create a 4-point star with the Star Tool, and place the b-spline's control points on its vertices. The shape ("sharpness") of the star dictates the shape of the resultant b-spline:



In this case, the outer vertices must be clamped (hold v while creating, or select them with the Shape Tool and clamp them in the property bar).

The case where 1 < n < 2 is harder to approximate simply.  Here is an example created on a 17x17 grid.  Note the extra control points added to adjust the curvature of the sides.
:

  • squircle
  • astroid
  • superellipse
  • b-spline
  • Share
  • History
  • More
  • Cancel
Related
Recommended

© Corel Corporation. All rights reserved. The content herein is in the form of a personal web log ("Blog") or forum posting. As such, the views expressed in this site are those of the participants and do not necessarily reflect the views of Corel Corporation, or its affiliates and their respective officers, directors, employees and agents. Terms of Use / Privacy​ ​/ ​Cookies / Terms and Conditions / User Guidelines.