question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Polish the Heart component

See original GitHub issue

Information

  • The package and version you used: @pencil.js/polygon v1.11.0

Description

A few things was missing from the first implementation of the Heart component.

  • The trace function doesn’t take into account the heart position (this.position)
  • The radius is not representative of the actual radius.
  • The static from function is missing
  • Missing link in the main Pencil.js readme.md

Reproduce by

// The heart won't be at the center neither will have a radius of 100px
const heart = new Heart(scene.center, 100, {
	fill: "red",
});
// missing function
const clone = Heart.from(heart.toJSON());

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
zachary-nguyencommented, Sep 19, 2019

@GMartigny Yep, that’s perfect thanks!

1reaction
zachary-nguyencommented, Sep 16, 2019

You can assign it to me I already started progress and just finishing up 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Polishing The Mirror Of The Heart: Turiya Hanover - YouTube
You can watch all our videos at https://scienceandnonduality.comLove is the greatest power in the universe. When the heart awakens to love, ...
Read more >
Polishing your heart, Virtues Ethic for a modern Devotion
This profound inner experience as part of the journey back “home” is “a living reality” that every traveler on the spiritual path seeks...
Read more >
Polishing the Heart | HuffPost Life
We all film the heart and we all polish the heart. We all move between these points of wakefulness and weariness.
Read more >
Psychometric Features of the Polish Version of TSK ... - NCBI
The structure of TSK was examined using principal component analysis (PCA), internal cohesion (Cronbach's alpha, AC), and content validity was ...
Read more >
Polishing your heart - Transformational Therapy
There are two ways of polishing the heart discussed in Sufism: remembrance of God, ... It's all those parts of us we'd rather...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found