Create Cartoon representation object
the structure to be represented
a viewer object
representation parameters
Set representation parameters
selection string, see {@tutorial selection-language}
this object
Set the visibility of the representation
visibility flag
this object
Generated using TypeDoc
Cartoon representation. Show a thick ribbon that smoothly connecting backbone atoms in polymers.
Name: cartoon
stage.loadFile( "rcsb://1crn" ).then( function( o ){ o.addRepresentation( "cartoon" ); o.autoView(); } );