Yes, in part. Frankenstein grew out of a question the early 1800s argued about openly: what makes a body move, and what does electricity have to do with it? Mary Shelley took the galvanism debate of her day and handed it to a fictional student of natural philosophy.
Below, three things stay apart: what the experiments of the period did, what the novel says and what Shelley added in her 1831 introduction. They do not line up as neatly as the popular story suggests.
What was galvanism, and who gave it its name?
Galvanism was the study of how electric current moves living tissue, and it takes its name from the Italian scientist Luigi Galvani. From about 1780 he experimented on frogs, and in 1791 he published De viribus electricitatis in motu musculari commentarius, a commentary on the forces of electricity in muscular motion.
A frog's leg twitching under a current is a small result with a large implication. If current could make dead muscle move, others soon wanted to try the same on larger bodies.
Did anyone really apply electricity to a human body?
Yes, and in public. On 18 January 1803 the Italian scientist Giovanni Aldini staged an experiment at Newgate in London on the body of George Forster, a man executed there.
A second case came later. On 4 November 1818 in Glasgow, Andrew Ure, working with James Jeffray, applied current to the body of Matthew Clydesdale, who had been hanged. The novel was already in print by then, so this experiment shows the climate of the era and cannot be a source for the book.
Whether Shelley knew of Aldini is an open point. Some writers suggest he may have inspired Victor Frankenstein, yet she never names him and her 1831 introduction does not mention him. That link remains a suggestion from later writers.
What does the novel itself say about electricity?
It gives electricity one decisive scene: a thunderstorm in Victor's boyhood that destroys an oak, after which he asks his father about the nature of lightning.
"...the oak had disappeared, and nothing remained but a blasted stump. ... I eagerly inquired of my father the nature and origin of thunder and lightning. He replied, 'Electricity;' describing at the same time the various effects of that power."
Mary Shelley, Frankenstein, 1818 text, Vol. I, ch. I (1831 text, ch. II)
In the 1831 text a visitor joins the scene, and he brings the word with him.
"...a man of great research in natural philosophy was with us, and, excited by this catastrophe, he entered on the explanation of a theory which he had formed on the subject of electricity and galvanism, which was at once new and astonishing to me."
Mary Shelley, Frankenstein, 1831 text, ch. II
Inside the chapters, galvanism appears only here, and only in the 1831 text. The 1818 text we checked does not contain the word at all.
The struck tree comes back later, when Victor calls himself "a blasted tree; the bolt has entered" (1818 text, Vol. III, ch. II; 1831 text, ch. XIX). The storm that taught him about electricity becomes the picture of what happened to him.
How does Victor actually bring the Creature to life?
The novel gives the instruments and the spark and withholds the method. Victor describes his state of mind at length and the apparatus hardly at all.
"With an anxiety that almost amounted to agony, I collected the instruments of life around me, that I might infuse a spark of being into the lifeless thing that lay at my feet."
Mary Shelley, Frankenstein, 1818 text, Vol. I, ch. IV (1831 text, ch. V)
Anyone looking for a recipe will find none. The weight falls on what follows the spark, and Victor sees the result at once: "His yellow skin scarcely covered the work of muscles and arteries beneath". From that morning the chapters follow what Victor does with what he has made. For a closer look at the question of who the real "Frankenstein" is, see our article on the creator and the creature.
What does the 1831 introduction add?
It adds the scientific conversation Shelley remembers from the summer of 1816 at Villa Diodati. She wrote it for the 1831 edition, fifteen years later.
"They talked of the experiments of Dr. Darwin, (I speak not of what the Doctor really did, or said that he did, but, as more to my purpose, of what was then spoken of as having been done by him,) who preserved a piece of vermicelli in a glass case, till by some extraordinary means it began to move with voluntary motion."
Mary Shelley, Introduction to the 1831 edition
The Introduction says only "Dr. Darwin", and the standard identification is Erasmus Darwin, the grandfather of Charles Darwin. Shelley marks the story as hearsay herself, calling it what was "spoken of as having been done."
The Introduction then moves from the conversation to her own reasoning.
"Not thus, after all, would life be given. Perhaps a corpse would be re-animated; galvanism had given token of such things: perhaps the component parts of a creature might be manufactured, brought together, and endued with vital warmth."
Mary Shelley, Introduction to the 1831 edition
The vision that follows is the one most readers remember: "...I saw the pale student of unhallowed arts kneeling beside the thing he had put together." Her account of the night itself is in our Villa Diodati article.
What does the science have to do with our Frankenstein statue?
The science sets the scene, and the book keeps its eye on the act of creating. The Creators Edition is built around that act.
In the Masters of Madness Chapter II statue, Mary Shelley stands in a white dress, caught in a light, graceful movement, as if she were the breath of life itself. The Creature's enormous frame towers beside her, and that contrast defines the piece. Two interchangeable heads give the Creature two readings: an indifferent body, or a poor existence condemned to suffering.
The hand-painted polystone statue, a composite of resin and stone powder, measures 32 cm and is limited to 100 numbered pieces. You can look at it in the Frankenstein Creators Edition.
Frequently asked questions
Did Mary Shelley believe a corpse could be revived?
The 1831 introduction records it as a thought she entertained: "Perhaps a corpse would be re-animated." It sits inside her account of how the story came to her, as a speculation behind the fiction.
Which edition of Frankenstein mentions galvanism?
In our check, the 1831 edition: once in chapter II and once in the Introduction. The 1818 text has the storm and the oak without the word.